I’ve talked here about distributed systems, micro-services, Event Driven Architecture (EDA) with Kafka, RabbitMQ and that kind of stuff.
So, with this ecosystem, with events, scalable performance, to integrate systems and make the communication with each other, or even react to events, we usually adopt Queue platforms solutions to our systems.
And at this point there is a important thing to think: how my software will be able to respond to a massive events requisitions? Continue reading “Multi-thread Producer Consumer”
Nowadays is common have distributed systems, or some microservices oriented applications.
These have a lot positive points, for example is easy to scale up, partial deploy, isolate behavior and responsibilities.
And yes, it isn’t perfect. We have some concern points, like the challenge to perform integration tests and communication performance (for instance, when we have round-trips between APIs over HTTP protocol communication).
But if you are designing and implementing something like a microservice API, maybe some lean adjustments can be done to improve performance… nothing so much usual, but when you think about an API with a lot of users accessing simultaneously, it can make a significant difference. Continue reading “C# performance tips & tricks”