H
Web & Technology

Microservices (الخدمات المصغرة)

Microservices is an architecture where an application is built as a collection of small, independent services, each responsible for one capability. Teams develop, deploy, and scale each service separately, making large systems more flexible and resilient than a single monolith.

In Iraqi dialect

تقسم البرنامج الكبير إلى قطع صغيرة كل وحدة تشتغل لحالها

In detail

A monolith bundles every feature into one deployable unit; a change to one part can risk the whole. Microservices split the system into focused services — payments, search, notifications, user profiles — each with its own codebase, data, and API. This lets teams ship independently, choose the best technology per service, and scale only the pieces under load. The trade-off is added complexity: service discovery, inter-service communication, and distributed monitoring. Containers and orchestrators like Docker and Kubernetes made microservices practical, and they power most large-scale platforms today.

Practical example

A streaming platform splits its system into microservices so the recommendation engine can scale independently at peak hours.

Frequently asked questions

Why use microservices instead of a monolith?

Independent deployment, per-service scaling, and technology freedom — at the cost of more operational complexity.

Are microservices right for every project?

No — they suit large, growing systems. Small apps are often faster to build and run as a monolith first.

Related terms

Related services