The maximum size of actor queues?

I am considering the possibility of using Actors in the system to transfer some storage (maybe a database, maybe an assembly in memory). The reason I want to do this is because I do not want calls to the repository to be blocked from the code that calls it, and I intend to push a large amount of messages.

Can an incoming message queue process hundreds of thousands of messages? What is the difference in performance between the code directly calling the method on the object and placing the actor with the queue in the middle?

Greetings

Joe

+3
source share
1 answer

- dequeue, . . , , OutOfMemoryError.

. , , .. , , , , , . , - , , , .

+4

Source: https://habr.com/ru/post/1716593/


All Articles