How to dynamically improve throughput


i’m developing to create a unique and reusable actor for any subject(or user), process the message, and terminate the actor if the mailbox is empty for a certain period of time.

It manages mailbox references and monitors the number of messages in the whole or the subject mailbox

For example, it is a structure to prevent a specific user from monopolizing a resource. This makes it possible for all users to use the resource fairly, but there is a side effect that the throughput of the user with a lot of messages is fixed when the resource is free .

Is there a good way to dynamically increase the superuser’s throughput when resources are available? (For example, there is one actor remaining in the system with more than 100,000 messages)