Microservices development

We design, build and split out microservices in Node.js, Python and Go, run them in Docker on Kubernetes or simpler managed services, and tell you plainly when a well-structured single app (a modular monolith) would serve you better.

What we build

  • New services alongside an existing app: a payments, notifications, search, reporting or AI service with its own API and data, added without rewriting the rest.
  • Monolith to microservices migrations, one piece at a time with the strangler-fig pattern: new traffic goes to the new service while the old code keeps running until it can be switched off.
  • Modular monolith refactors: clear module boundaries inside one codebase, so you get most of the benefits of separation without running many deployments.
  • Event-driven backends with queues and streams (RabbitMQ, Kafka, AWS SQS/SNS, Redis Streams) for orders, imports, notifications and background jobs.
  • API gateways and service-to-service APIs in REST, GraphQL or gRPC, with authentication, rate limits and versioning.
  • Containers, CI/CD and observability: Docker images, a pipeline per service, central logs, metrics and request tracing so a failure can be followed across services.
  • Reviews and rescues of microservice systems that became slow, fragile or expensive to run.

How a microservices system fits together

  1. ClientsWeb app, mobile app and partner integrations
  2. API gatewayLogin checks, rate limits and routing to the right service
  3. ServicesSmall apps, each owning one job and its own database
  4. Message queueEvents between services, retries and background work
  5. ObservabilityLogs, metrics and traces across every service

Each service is deployed on its own, so one team can release payments without touching search. The price is more moving parts: network calls that can fail, data spread across databases, and more to monitor. That trade-off is why we decide the split with you rather than by default.

Monolith, modular monolith or microservices?

ApproachFits whenWatch out for
Single app (monolith)A new product, one small team, the product is still changing quicklyCode turning into a tangle as it grows; plan module boundaries early
Modular monolithOne or two teams, clear business areas, a need to keep running costs lowDiscipline: modules must talk through defined interfaces, not shared tables
MicroservicesSeveral teams releasing independently, parts with very different load, or parts that must be isolated (payments, heavy AI or video work)Distributed failures, data consistency across services, higher hosting and DevOps effort

Many products are best served by a modular monolith with one or two separate services for the parts that really need it, such as a heavy image-processing or AI worker. We will recommend that when it fits, even though it is the smaller job.

Standard features of every service we build

  • A documented API (OpenAPI or a gRPC schema) and versioning rules
  • Health checks, graceful shutdown and automatic restarts
  • Retries with backoff, timeouts and idempotent handlers, so a repeated message does not charge a customer twice
  • Structured logs, metrics and a trace ID that follows a request across services
  • Its own tests and its own pipeline, plus contract tests between services
  • Secrets kept out of code, and least-privilege access between services

Tech stack

Node.js (TypeScript, NestJS, Fastify), Python (FastAPI, Django) and Go for services; PostgreSQL, MySQL, MongoDB and Redis for data; RabbitMQ, Kafka, AWS SQS/SNS or Google Pub/Sub for messaging; REST, GraphQL and gRPC; Docker, Kubernetes (EKS, GKE, AKS), AWS ECS or Google Cloud Run for running services; Terraform and GitHub Actions; OpenTelemetry, Prometheus and Grafana for observability. See also Node.js development, Python development and cloud and DevOps.

Microservices development cost: planning ranges at $50/hour

ProjectTypical hoursTypical cost
Architecture review with a written split plan16–40 h$800–$2,000
One new service with its own API, database, tests and pipeline60–140 h$3,000–$7,000
Modular monolith refactor of an existing app120–300 h$6,000–$15,000
Extract one area from a monolith (strangler-fig), including data migration100–250 h$5,000–$12,500
Message queue and event-driven setup for existing services40–100 h$2,000–$5,000
Container, CI/CD and observability setup for 3 to 6 services60–150 h$3,000–$7,500

Ranges depend on code quality, test coverage and how tangled the data is. Hosting costs more than for a single app: each service, database, queue and monitoring tool adds to the cloud bill, and a managed Kubernetes cluster has its own monthly fee. We estimate the running cost before you commit. For a whole new product, the app cost calculator gives a wider range.

How we work

  1. Review. We read the code, data model, traffic and team setup, and agree what problem the split should solve: release speed, scaling, isolation or cost.
  2. Plan. A written plan with service boundaries, data ownership, the order of extraction and a rollback path for each step.
  3. First slice. One service or module goes live behind the gateway or a feature flag, with monitoring, while the old path stays available.
  4. Repeat. Further slices follow in short milestones, each tested and released on its own.
  5. Handover. Architecture diagrams, runbooks, dashboards and source code you own, plus optional monthly support.

Risks and how we handle them

  • Splitting too early or too finely creates a "distributed monolith" where every change touches several services. We keep services around business areas and start with fewer, larger ones.
  • Data consistency. Without one database, multi-step actions such as an order and its payment need patterns like the outbox or sagas. We design these up front.
  • Big-bang rewrites are where migrations fail. We move one area at a time, with the old code as a fallback.
  • Higher running costs. More services mean more infrastructure and monitoring. We compare the cost with the benefit before each step.

Hire microservices developers

You work directly with our engineers in Lahore, Pakistan, building software for clients worldwide since 2014, at $50 per hour. Share your repository, an architecture diagram or a short description through the contact form, or hire us on Freelancer.com, where we are a Preferred Freelancer with a 4.9 average from 356 reviews. We can add one or two engineers to your team or own a service from design to release.

Questions clients ask

How much does microservices development cost?

At $50 per hour, an architecture review with a split plan is usually 16 to 40 hours ($800 to $2,000). One new service with its own API, database, tests and pipeline is usually 60 to 140 hours ($3,000 to $7,000). Extracting one area from an existing monolith, including its data, is about 100 to 250 hours ($5,000 to $12,500).

Should we move from a monolith to microservices?

Only if it solves a real problem: teams blocking each other on releases, one part needing very different scaling, or a part that must be isolated. For a small team or a product that is still changing fast, a modular monolith is usually cheaper and easier to run. We will tell you which applies after a short review.

Can you migrate without stopping our app?

Yes, that is the normal way. We use the strangler-fig pattern: a new service takes over one area while the old code keeps running, traffic moves over gradually behind a gateway or feature flag, and the old path stays as a fallback until the new one is proven.

Do microservices need Kubernetes?

No. A handful of services often runs well and more cheaply on AWS ECS, Google Cloud Run or a few well-managed servers with Docker. Kubernetes makes sense when you run many services and have people to look after the cluster. See cloud and DevOps for setup ranges.

Which language do you use for microservices?

Usually the one your team already knows, so you can maintain it. We mostly build services in Node.js with TypeScript, Python with FastAPI, or Go for high-throughput services. Different services can use different languages, but we keep that to a minimum so the system stays easy to staff.

How do services talk to each other?

Through APIs (REST, GraphQL or gRPC) when an answer is needed straight away, and through a message queue or event stream such as RabbitMQ, Kafka or AWS SQS when work can happen in the background. Queues make the system more resilient, because a service that is down can catch up when it returns.

Have a project that needs a reliable engineering team?

Tell us what you want to build. You will get a reply within one business day, with questions or a rough estimate.

Start a project