Microservice
What is it
A microservice is an independent service that solves one task and communicates with others via API or the network. Unlike a monolith, it can be developed and scaled independently.
CMS + Microservice Hybrid
In the case of the SEO tool catalog site, the heavy analysis logic is moved out of Joomla into a separate PHP microservice next to the CMS. Reasons:
- Writing logic without CMS overhead is faster and simpler;
- Cache, quotas, and protection are in one place;
- Frontend and backend are separated by
fetch → JSON; - The engine can be reused outside of CMS.
When to Use
- Heavy logic that is cramped inside CMS/framework;
- Independent scaling and deployment;
- Common logic for multiple consumers.