Table of Contents
Many teams jump into microservices architecture thinking it’s just about breaking down a monolith into smaller pieces—but size alone isn’t what makes something a microservice. Instead, microservices are defined by independence, scalability, and alignment with business capabilities.
Microservices come in all shapes and sizes. Yet, misconceptions persist—some believe microservices must always be tiny, or that they eliminate all coupling. In reality, microservices require careful design, strong DevOps practices, and an understanding that they are not a one-size-fits-all solution.
In this blog, we’ll explore what makes a true microservice, debunk common myths, and highlight why microservices are as much about team structure as they are about technology. Whether you’re considering a transition or refining your current architecture, understanding microservices to its core is key to success.
What Makes Something a Microservices Architecture?
- Single Responsibility: A microservice should be responsible for one specific business capability (e.g., user authentication, payment processing). This aligns with the Single Responsibility Principle in software design.
- Independently Deployable: Each microservice should be independently deployable. This means you can update or roll back a service without affecting others.
- Loosely Coupled: Microservices should be loosely coupled, meaning they interact through well-defined APIs or messaging systems. Changes to one service should not require changes to another.
- Own Data Storage: A microservice should own its data storage. This avoids tight coupling between services and ensures data consistency within the service boundary.
- Scalable Independently: Each microservice should be independently scalable. For example, if the payment service experiences high traffic, you can scale it without scaling the entire application.
- Aligned with Business Domains: Microservices should be organized around business domains (e.g., orders, inventory, shipping) rather than technical layers (e.g., frontend, backend, database).
- Autonomous Teams: Each microservice should be owned by a cross-functional team that can develop, deploy, and operate the service independently. This aligns with the Conway’s Law principle: “Organizations design systems that mirror their communication structure.”
- Resilient and Fault-Tolerant: Microservices should be designed to handle failures gracefully. For example, if the recommendation service fails, the rest of the application (e.g., video streaming) should continue to function.

What sets Microservices Architecture apart from Monolith and Modulith architectures? Read here.
8 Common Misconceptions About Microservices
Microservices are one of the most misunderstood concepts in software architecture. Many teams adopt microservices without fully understanding what they are, leading to poor implementations and unnecessary complexity.
#1 Microservices Are Just Small Monoliths
Microservices are not just about size—they’re about independence. A true microservice is independently deployable, scalable, and maintainable, with its own data storage and clear boundaries.
#2 Microservices Must Be Tiny
The term “micro” implies that services must be extremely small, often leading to an explosion of tiny, overly granular services. Microservices should be bounded by business capabilities, not arbitrary size limits. A service should be small enough to manage independently but large enough to deliver meaningful functionality.
#3 Microservices Are Always Better Than Monoliths
Microservices are seen as the “modern” or “correct” way to build applications, and monoliths are outdated. Microservices are not inherently better—they are a tool for solving specific problems. For small teams or simple applications, a monolith or modulith is often a better choice.
#4 Microservices Don’t Need a Monolithic Phase
Teams think they should start with microservices from day one, even for an MVP or small project. Many successful companies (e.g., Netflix, Amazon) started with monoliths and transitioned to microservices as they scaled. Starting with a monolith can help you validate your idea before investing in the complexity of microservices.
#5 Microservices Eliminate All Coupling
Microservices are loosely coupled, not completely decoupled. They still need to communicate via APIs or messaging systems, and managing these dependencies is a key challenge.
#6 Microservices Are Easy to Implement
Teams assume that adopting microservices is as simple as splitting a monolith into smaller pieces. Microservices require significant investment in infrastructure, tooling, and expertise. Without proper planning, they can lead to a distributed monolith—a system with all the downsides of microservices and none of the benefits.
#7 Microservices Don’t Need a Strong DevOps Culture
Teams think they can adopt microservices without investing in DevOps practices like CI/CD, monitoring, and automation. Microservices require a strong DevOps culture to manage deployments, monitor performance, and ensure reliability. Without it, the system can quickly become unmanageable.
#8 Microservices Are Only About Technology
Microservices are seen as a purely technical decision, with no impact on team structure or processes. Microservices are as much about organizational design as they are about technology. They require decentralized, cross-functional teams that can own and operate their services independently.
One of the most interesting, and wrong, conclusions ever heard is the idea that database size defines the sliver lining for definition the boundaries of microservices. The size of a database depends entirely on the specific use case, the volume of data, and the business requirements.
For example:
- A user authentication service might only need a few gigabytes to store user credentials.
- A recommendation engine (e.g. Netflix) might need petabytes to store user interactions and metadata.
Why “Empirical Rules” Are Dangerous
- They Ignore Context: A rule like “a microservice database should never exceed 100GB” might work for a user authentication service but would be laughably inadequate for a recommendation engine or IoT platform.
- They Encourage Poor Design: Arbitrary size limits can lead to premature optimization or over-engineering. For example, splitting a database into multiple smaller ones just to meet a size rule can introduce unnecessary complexity.
- They Stifle Innovation: Rigid rules discourage teams from exploring new technologies or approaches that might better suit their needs. For example, a time-series database might be the best choice for a specific use case, even if it doesn’t fit a predefined size rule.
Microservice Size Misconceptions: Why Bigger Isn’t Always Better (and Smaller Isn’t Always Simpler)
When it comes to microservices, one of the most common misconceptions is that they must be tiny to qualify—but in reality, the size of a microservice should be driven by the complexity of the business capability it serves, not by arbitrary rules or buzzwords.
Large Microservice: Netflix’s Recommendation Engine
Netflix’s recommendation engine is one of the most complex and critical microservices in its architecture. It powers personalized content suggestions for over 200 million subscribers.
| Codebase Size | Estimated at 1-2 million lines of code (LOC).* |
| Data Processed | Processes terabytes of data daily, including user interactions, viewing history, and metadata. |
| Team Size | A dedicated team of 50-100 engineers, including data scientists, machine learning engineers, and backend developers. |
| Dependencies | Integrates with 10+ other microservices, such as user profiles, content catalog, and A/B testing frameworks. |
| Deployment Frequency | Updated multiple times per day as new models and algorithms are tested and deployed. |
*This includes machine learning models, data pipelines, APIs, and integration with other services. Netflix uses a combination of Python, Java, and Scala for its recommendation engine, contributing to the large codebase.
Why is it large
- Complex Algorithms: The service uses advanced machine learning models like collaborative filtering, deep learning, and reinforcement learning.
- Scalability Needs: It must handle millions of requests per second during peak hours.
- Feature-Rich: Supports multiple recommendation types (e.g., “Top Picks for You,” “Because You Watched X”).
Key Takeaway
This microservice is large because it handles a data-intensive, highly scalable, and algorithmically complex business capability.
Medium-Sized Microservice: Uber’s Ride Matching Service
Uber’s ride matching service is responsible for connecting riders with drivers in real-time. It’s more complex than Stripe’s tax service but smaller than Netflix’s recommendation engine.
| Codebase Size | Estimated at 100,000-200,000 lines of code (LOC). |
| Data Processed | Handles millions of ride requests daily, with real-time geolocation data from riders and drivers. |
| Team Size | Maintained by a team of 20-30 engineers, including backend developers and data engineers. |
| Dependencies | Integrates with 5-10 other microservices, such as pricing, driver management, and payment processing. |
| Deployment Frequency | Updated daily or weekly, depending on feature releases and bug fixes. |
*This includes real-time matching algorithms, geolocation logic, and integration with Uber’s pricing and driver management services. Written primarily in Python and Go.
Why is it medium-sized
- Real-Time Complexity: The service must process geolocation data and match riders with drivers in real-time, which adds complexity.
- Scalability Needs: It must handle peak loads during rush hours and special events.
- Feature-Rich: Supports features like surge pricing, driver incentives, and ride-sharing.
Key Takeaway
This microservice is medium-sized because it handles a real-time, scalable business capability with moderate complexity and dependencies.
Small Microservice: Stripe’s Tax Calculation Service
Stripe’s tax calculation service is a small, focused microservice that calculates taxes for transactions based on the customer’s location, product type, and local tax laws.
| Codebase Size | Estimated at 10,000-20,000 lines of code (LOC). |
| Data Processed | Handles millions of transactions daily, but the data volume per transaction is small (e.g., location, product type, tax rate). |
| Team Size | Maintained by a small team of 5-10 engineers. |
| Dependencies | Relies on external tax rate databases (e.g., Avalara, TaxJar) and integrates with Stripe’s core payment service. |
| Deployment Frequency | Updated weekly or bi-weekly, as tax laws change infrequently. |
*This includes logic for tax rate lookups, API endpoints, and integration with Stripe’s payment processing system. Written primarily in Ruby and Java.
Why is it medium-sized
- Single Responsibility: The service has a clear, narrow focus—calculating taxes. It doesn’t handle payment processing, fraud detection, or other unrelated tasks.
- Simple Logic: The core logic involves looking up tax rates and applying them to transactions, which is relatively straightforward.
- Minimal Dependencies: It relies on external data but doesn’t need to integrate deeply with other services.
Key Takeaway
This microservice is small because it handles a focused, well-defined business capability with minimal complexity and dependencies.
Comparison of Microservice Sizes
| Metric | Netflix Recommendation Engine | Uber Ride Matching Service | Stripe Tax Calculation Service |
|---|---|---|---|
| Codebase Size (LOC) | 1-2 million | 100,000-200,000 | 10,000-20,000 |
| Data Processed | Terabytes daily | Millions of ride requests | Millions of transactions |
| Team Size | 50-100 engineers | 20-30 engineers | 5-10 engineers |
| Dependencies | 10+ microservices | 5-10 microservices | External tax databases |
| Deployment Frequency | Multiple times per day | Daily or weekly | Weekly or bi-weekly |
The size of a microservice should align with the business capability it serves and the resources available to maintain it. Whether large or small, the key is to ensure that each microservice is independently deployable, scalable, and maintainable.
Setting Up a Microservices Team
Setting up a team to develop and maintain microservices requires careful planning, especially when dealing with small microservices. The goal is to balance team autonomy, efficiency, and scalability while avoiding unnecessary overhead. Below are guidelines and recommendations for team size, structure, and the number of microservices a single team can support.
Team size
Ideal team size is 2-6 engineers (often referred to as a “two-pizza team”). This size is small enough to maintain clear communication and accountability but large enough to handle the workload.
Roles most often include:
- 1-2 Backend Developers: Focus on service logic, APIs, and integration.
- 1 Frontend Developer (if applicable): Handles UI/UX for the service.
- 1 DevOps Engineer: Manages deployment, monitoring, and infrastructure.
- 1 QA Engineer: Ensures quality and writes automated tests.
Team structure
Teams often need to be cross-functional. Each team should be self-sufficient and capable of handling all aspects of the microservice, from development to deployment.
The team should own the entire lifecycle of the microservice, including:
- Development
- Testing
- Deployment
- Monitoring
- Incident response
Number of Microservices per Team
General Rule: A single team can effectively support 2-4 microservices.
This depends on the complexity of the services and the maturity of the team. For example, a team of 4 engineers might support:
- 1 core microservice (e.g., payment processing).
- 1-2 supporting microservices (e.g., logging, notifications).
The Right Perspective
At the end of the day, the point of microservices is to enable organizations to build, scale, and maintain complex applications more effectively by breaking them into smaller, independent, and loosely coupled services. However, the value of microservices isn’t just technical—it’s also organizational and strategic.
Microservices are not just an architectural style—they are a development framework that encompasses technical, organizational, and cultural aspects. Adopting microservices requires a shift in how teams are structured, how software is developed, and how systems are operated.
Microservices are like a buffet: you can pick and choose the right portions for your needs, but if you overload your plate with too many dishes, you’ll struggle to finish and might end up with a mess, so be very careful.
This is part of a blog series “Microservices Architecture: Scalability with Complexity”. Read the second part: Choosing The Right Architecture: Microservice vs Monolith vs Modulith [Comparison Guide].