The Analytics microservice — collecting views via RabbitMQ and aggregation
Why a separate service?
5 posts
Why a separate service?
Posts did not show who wrote them. The API returned `author_id` as a number, but the author relation was never eager-loaded — the frontend had no author data. W...
Up until now, every locale of a blog post was a separate row in the `posts` table. It worked, but it created a cascade of problems -- duplicated metadata, infla...
Services started talking to each other. Not through a shared database — through a message queue and dedicated internal APIs. This is the step that separates syn...
Time for the first real API. Blog Service got a full set of endpoints — from posts through categories and tags to comments with moderation. Everything protected...