By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: How We Solved Scaling Challenges With Cell-Based Architecture | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > How We Solved Scaling Challenges With Cell-Based Architecture | HackerNoon
Computing

How We Solved Scaling Challenges With Cell-Based Architecture | HackerNoon

News Room
Last updated: 2025/06/16 at 3:25 PM
News Room Published 16 June 2025
Share
SHARE

I shared the benefits of cell-based architecture in my previous article. In this one, I’ll walk through a real-world scenario involving scaling challenges in our service caused by dependent service quota limitations, and how we overcame them using a cell-based approach. By adopting this architecture, we launched multiple cells to address the quota constraints and achieved a highly scalable service

Background

We launched our services in production without cells. The service was a single microservice which can be viewed as a service with a fixed giant cell. Every request went to a single instance of the service. After running it in production for 6 months, we noticed scaling bottlenecks—one of the dependencies was limiting our scaling. They had a fixed quota per account. The only way to deal with this challenge was to run services in multiple accounts so that every account got a fixed quota. By running multiple instances of a service in different accounts (cells) we could potentially serve many requests and hence achieve the desired scaling.

Current architecture without cellsCurrent architecture without cells

Problem Statement

When we decided to move to cell-based architecture, we found many challenges, such as stateful service and direct dependency, etc. Adopting a cell-based architecture became a daunting task for the whole team and required alot of effort.

Stateful services hinder moving into cell-based architecture as they restrict the processing of a request to a dedicated instance of the service. Furthermore, direct dependency creates a tight coupling between a request and a processing node. To achieve scalability, we should be able to process requests on any of our services instances.

Execution Plan

After running the service in production for 6 months, we got a fair understanding of its components. So, we started analyzing each service component to answer the following questions to evaluate cell adoption strategies:

  1. Which components should be moved to a cell-based architecture?
  2. What are the challenges of moving a component in a cell?
  3. How can a component/service be made stateless?
  4. What does it take to remove a direct dependency?
  5. How can cell creation, which includes account creation, be automated, and subsequently added to the deployment pipeline?
  6. What does it take to do the cell migration? Can avoid it be avoided?
  7. What would the routing layer look like?
  8. How would the service endpoint look for external and internal users/services?

Based on the evaluation, we figured out two important things:

  1. Stateless service

  2. Flexible Routing layer.

System architecture after adopting cellular designSystem architecture after adopting cellular design

Stateless Service

We started analyzing all the storage components of our services. We mainly had DynamoDB and S3, where we store customer metadata and processing metadata. To make the service stateless, we built a metadata service and moved all the customer metadata and processing metadata that were making the service stateful. Exposed the storage layer functionality with well-defined APIs so that we can access it from any cell.

Flexible Thin Routing Layer

We used a hybrid approach where we use consistent ring hashing and table mapping. Consistent ring hashing is used to map most of the requests to a cel,l and table mapping is used to override some config. For example, if we want to segregate the processing for a large customer, we use table mapping. The table mapping is available in memory so that we keep the routing layer as thin as possible.

Outcome

Through contemplation and thorough analysis, we made our services stateless, which simplified the adoption of a cell-based approach in our product. Furthermore, following best practices such as using stateless components and maintaining a thin routing layer helped us build a flexible cellular service capable of continuously supporting growing scale demands. I highly encourage you to explore cell-based architecture to make your services more scalable.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Grab the Amazon Fire TV 55-inch Omni QLED 4K Smart TV for Just £549.99 – Save £200
Next Article Intel Will Lay Off Factory Workers Starting Mid-July
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

How The Clarity Razor Can Help You Make Better Decisions | HackerNoon
Computing
Meta to Announce Oakley-Branded Smart Glasses
News
Grab the M3 MacBook Air at a record-low price of $700
News
The Path to Globalization of China’s Automotive Industry [2024] · TechNode
Computing

You Might also Like

Computing

How The Clarity Razor Can Help You Make Better Decisions | HackerNoon

12 Min Read
Computing

The Path to Globalization of China’s Automotive Industry [2024] · TechNode

28 Min Read
Computing

How Brands Can Celebrate Juneteenth on Social Media in 2023 |

5 Min Read
Computing

Are You Behind In Life? | HackerNoon

20 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?