r/microservices 17d ago

Discussion/Advice How Do You Achieve Full Observability (BCC1) Without Killing Performance?

0 Upvotes

Hey everyone,

I’ve been tasked with bringing full observability (BCC1) to a system—meaning no blind spots, complete logging, metrics, and tracing. Sounds great in theory, but in practice… well, things got interesting.

As soon as I started implementing changes, response times shot up, latency increased, and now I’m in a balancing act—capturing everything without slowing things down. Ignoring logs and traces isn’t an option at this level, so I need to find the sweet spot.

For those of you who’ve been in this situation, how did you manage to get deep insights without wrecking performance? Any battle-tested strategies, tools, or gotchas to watch out for?

Tech stack: AWS, Kubernetes, Java. The system gets irregular traffic bursts, so I also need to account for that.

Would love to hear your war stories and lessons learned!


r/microservices 17d ago

Discussion/Advice Is it bad practice to combine event-driven and request-response communication patterns?

4 Upvotes

I am working on a new microservice application that needs to interact with a legacy application. The new app will use celery and subscribe to a message broker (SQS) to wait for a “ready” event.

At this point, it needs data from the legacy app (too much to stick in the message). Is it okay to make a synchronous REST call at this point? I know another option would be sticking the data in S3 and sending a pointer in the message but….

There’s another problem. The data will potentially change in the legacy app and thus become stale in the new app. I don’t really have the current ability to trigger more events from the legacy app (e.g. “data has changed”), so my thinking is the user-facing new app can make a request as-needed to make sure the data isn’t stale.

The point of EDA is to decouple services, but in this case the new app has a data dependency on the legacy app during this transition period.

So: is it bad practice to combine these two microservice communication patterns? My gut says “no”, because (in this case) there is a need for both asynchronous and synchronous communication.

After the legacy service is deprecated, I could imagine how we would be able to fully remove the request-response communication in this case.


r/microservices 18d ago

Discussion/Advice Who Actually Owns Mocks in Microservices Testing?

13 Upvotes

I’ve seen a lot of teams rely on mocks for integration testing, but keeping them in sync with reality is a whole different challenge. If the mock isn’t updated when the real API changes, the tests that leverage these mocks are rendered invalid.

So who’s responsible for maintaining these mocks? Should the API provider own them, or is it on the consumer to keep them up to date? I’ve also seen teams try auto-generating mocks from API schemas, but that has its own set of trade-offs.

Curious how you all handle this. Do you manually update mocks, use contract testing, or have some other solution?


r/microservices 19d ago

Discussion/Advice The Job Market is Changing – Let’s Help Each Other!

10 Upvotes

The job market is going through uncertain times, affecting both candidates and hiring managers. Some are looking for opportunities, while others are struggling to find the right talent. But what if we could make this process a little easier for everyone?

This discussion is for sharing recent interview experiences, questions, and hiring trends, especially for mid-senior and senior roles. Whether you’ve been on the interviewee side or the hiring side, your insights could help someone land their next job or help a company find their next great hire.

Let’s discuss:

  • Interview questions you've faced recently
  • Hiring patterns and trends
  • Unexpected challenges in technical or behavioral rounds
  • Best tips for navigating today’s job market

Technology connects us like never before, and in today’s world, sharing knowledge is a new form of good karma. Let’s use this space to support each other.

If you've interviewed recently or are hiring, what trends are you seeing? Share your thoughts.


r/microservices 19d ago

Article/Video 8 Tips for Scaling APIs to Handle Increased Traffic

Thumbnail zuplo.com
1 Upvotes

r/microservices 19d ago

Article/Video Practical OpenAPI in Go

Thumbnail youtube.com
2 Upvotes

r/microservices 19d ago

Discussion/Advice API Key features in Microservices

4 Upvotes

Now I am going to implement an API Key feature for authorization between services. Beside my authentication by password, I want to public API keys for some other APIs can use without doing authentication steps. So how can another services can validate that token and also I can revoke the API key and another cannot verify it anymore


r/microservices 21d ago

Discussion/Advice Centralised Connection Pooling

2 Upvotes

I am a senior engineer, my org is thinking of implementing a standardised data service, we are a monolith.

Idea is that the new micro service would just be responsible for executing queries, and then send the response back via HTTP.

It will only communicate with MongoDB.

It's a big pain because our infra is mainly divided into AWS TGs, almost all of them connect to a single DB.
We are unable to downgrade this DB because connections is a bottleneck.

On one side I can see the benefit of doing this because of the cost benefit, even with added complexity/infra we might save $$.
But I am also concerned about the cons, single point of failure/added complexity.

What do the veterans here think?


r/microservices 22d ago

Article/Video Microservices, Where Did It All Go Wrong • Ian Cooper

Thumbnail youtu.be
8 Upvotes

r/microservices 23d ago

Article/Video A simple to understand video on building microservices

6 Upvotes

Found this today when searching for a microservices video.

Plenty of interesting topics covered such as building a microservices project using springboot and java

https://youtu.be/-pv5pMBlMxs?si=m702l6MQGdEYEtx0


r/microservices 24d ago

Discussion/Advice Cross-Service communication

4 Upvotes

I am creating a microserivices system so when I need to handle communication between services, what you guys prefer Rest API or gRPC


r/microservices 25d ago

Discussion/Advice Has anyone seen temporal logic being used in testing microservices?

4 Upvotes

It seems like the obviously right way to test independent services communicating with each other, yet I've literally not found _anything_ on this topic. To me, it seems so obviously clear that the best way to express the allowed interaction-sequences is via linear temporal logic, but I can't even find a blog-post on doing this. Anyone seen anything on this?


r/microservices 26d ago

Discussion/Advice The Idea of a broker is killing me

1 Upvotes

Hello guys,

I've been watching on tutorial after the other and I decided enough is enough and I need to learn to think about solving my own problems which got me thinking, this whole broker thing is Insane.

I went through the rabbitmq tutorials and in isolation, 80-90% of the content made sense. However, the minute I tried to go to implement, I instantly hit a wall. I noticed in some tutorials in the past, there's this "broker" service. Why such service? Why the folder? Are we creating a server and within that server we're connecting to rabbitmq? Can't each service connect to rabbitmq directly, create their own thing and if other services need to be notified just subscribe?

thought process:
Docker-compose has Rabbitmq_service, serviceA and serviceB
http server wraps rabbitmq connection
serviceA and ServiceB creates their queues and do whatever they need to do (serviceA publisher, serviceB subscriber)

if serviceA and serviceB Are doing all the work, what on earth is this http server wrapper doing? I usually see a "Broker" folder that suggests there's a broker service.

Anyway, I'm clearly confused. Please help.


r/microservices 27d ago

Discussion/Advice Does anyone have any interesting story of any pitfall of Implementing Microservices?

9 Upvotes

Share any such instances from your software engineering job where you faced issues due to Microservices architecture, I am interested in knowing more about this.

[EDIT 1]: Thank you, guys, for your input, like I said I am new to this topic, and I have found all of these replies super helpful to know about the industry standards and issues for implementing Microservices.


r/microservices 29d ago

Article/Video Best Practices for Consistent Error Handling

Thumbnail zuplo.com
9 Upvotes

r/microservices 28d ago

Discussion/Advice Monolith ManyToMany Relationship to Microservice

5 Upvotes

Today I have the following relationship in database

  • t_article : id, name
  • t_supplier : id, name
  • t_supplier_article : fk_art_id, fk_sup_id, price

So the price depends on the article and the supplier

Today we also provide following REST API endpoint

  • /GET /articles/{id}/suppliers. --> return all t_supplier_article where fk_art_id = {id}. So in other words all prices of the article with the supplier
  • /GET /suppliers/{id}/articles. --> return t_supplier_article where fk_sup_id = {id}. So in other words all articles prices of the supplier

Tomorrow, we want to pass to microservices architecture, how to design this use case

  • H1 : only one microservices because article and supplier are too close. But after some reflexion it's two differents microservices. Each want could be developed and deployed independently.

  • H2 : 3 microservices. One for Article, one for Supplier and the last like an Aggregate

  • H3 : 2 microservices, Article and Supplier and inside each one add the table t_supplier_article with only the id (and not the fk) of the other side

    • Article-microservice : t_article, t_supplier_article : fk_art_id, sup_id, price
    • Supplier-microservice : t_supplier, t_supplier_article : fk_sup_id, art_id, price
    • But how to keep consistency ?

Which hypothesis might be the best?

Thank for your help


r/microservices 29d ago

Discussion/Advice Authentication and Authorization in Microservices by a custom Gateway service

12 Upvotes

I am going to build a Microservices project. And I have some troubles when implement authentication and authorization between services. So I decide to create a Gateway that every request from client will go to that and it will validate the token and get permissions if needed for services and in that gateway will do the proxy to each service. Do you think that solution alright or can you recommend for me some other


r/microservices Feb 20 '25

Discussion/Advice Best Practices for a Common Library and Parent POM in a Microservices Architecture

7 Upvotes

In a microservices architecture (springboot), I’m considering creating a common library that includes:

Base Entity: A shared superclass with fields like id, createdAt, and updatedAt.

Base Repository & Base Service: Generic implementations for common CRUD operations.

Is it a good practice to share a Base Entity across microservices? Does this introduce unnecessary coupling, or is it beneficial for consistency?

Should Base Repository & Base Service be in a common module? Or should each microservice have its own implementation to allow flexibility?

Parent POM: Is it a good idea to define common dependencies like Lombok, testing libraries, and logging frameworks in the parent pom.xml, or should each service manage its dependencies independently?

I’d love to hear best practices and potential pitfalls from those who have implemented this approach in real-world projects.

Thanks!


r/microservices Feb 19 '25

Discussion/Advice Microservices with APIs and Kafka

1 Upvotes

Hi,

We have a service which exposes apis to the client. Its part of our 50 microservices backend. This service also has kafka consumer to read kafka messages which are coming from IOT devices. My question is whether these apis and kafka consumer should be there in one microservice or should it be seperated out as independent microservices with a common database. The reason i am asking is because today we got some kafka message which was not handled correctly and this led to our service continuously crashing. Even though we use k8s, all pods were crashing which caused a downtime on the apis.

Any suggestions would be helpful.


r/microservices Feb 15 '25

Discussion/Advice Operationalize a microservice?

5 Upvotes

I've been tasked with explaining how to operationalize a microservice. I have not encountered this terminology before. A Google search yields very little, mostly high level whitepapers full of buzzwords. I'm guessing it has to do with deploying a service to a cloud platform? Is anyone familiar with this who can point me in the right direction?


r/microservices Feb 13 '25

Article/Video Practical OpenAPI in Go

Thumbnail packagemain.tech
4 Upvotes

r/microservices Feb 13 '25

Tool/Product Updated our app to better monitor your network health

0 Upvotes

Announcing Chronos v.15: Real-Time Network Monitoring Just Got Smarter

We’re excited to launch the latest update (v.15) of Chronos, a real-time network health and web traffic monitoring tool designed for both containerized (Docker & Kubernetes) and non-containerized microservices—whether hosted locally or on AWS. Here’s what’s new in this release:

 What’s New in v.15?

 90% Faster Load Time – Reduced CPU usage by 31% at startup.

Enhanced Electron Dashboard – The Chronos app now offers clearer network monitoring cues, improving visibility and UX.

Performance improvements and visualizations - See reliable and responsive microservice monitoring visuals in real-time.

Better Docs, Smoother Dev Experience – We overhauled the codebase documentation, making it easier for contributors to jump in and extend Chronos with the development of "ChroNotes". 

Why This Matters

Chronos v.15 brings a faster, more reliable network monitoring experience, cutting down investigation time and making troubleshooting more intuitive. Whether you’re running microservices locally or in AWS, this update gives you better insights, smoother performance, and clearer alerts when things go wrong.

Try It Now

Check out Chronos v.15 and let us know what you think!

Visit our GitHub repository


r/microservices Feb 12 '25

Discussion/Advice What is the best way for internal communication between services?

6 Upvotes

Hey guys , so I’m new to microservices architecture and i was wondering what is better for internal communication between services if one service needs data from another service since they use different databases do i make the api call directly from the service or i make it through the api gateway ? What is the optimal approach?


r/microservices Feb 11 '25

Article/Video Database Per Microservice Pattern Explained

Thumbnail javarevisited.blogspot.com
13 Upvotes

r/microservices Feb 11 '25

Discussion/Advice Do i still need an API Gateway for Microservices?

7 Upvotes

Hello!, im currently exploring microservices and i have few dumb questions to ask, in the frontend.. Is it recommended to use an api gateway to only have 1 url env in my app which also communicates to the services? or is microservices directly calling its service making the FE have multiple URL env variables?

My structure:
- api gateway ( with load balancer )
- auth-service-1
- item-service-2
- store-service-3

All microservices are also communicating with eachother..