DZone

When Performance Is the Main Consideration

In the microservices world, we receive messages from different sources like JMS, AMQP, EventBus and try to process them as quickly as possible. Multithreading with Thread Pool can help us to do that.

But if we want to treat messages of the same categories (same users, same products…) in the order we receive them, it could get more complicated.

Source: DZone