rabbitmq - How to throttle ServiceStack Messaging EventHandler -


i know sounds anti-pattern, have requirement dictates flow of messages service (cisco phones) configurable i.e. throttling.

there times when our phone system can not handle load of messages being routed servicestack via rabbitmq broker (work queue), it's during these peak times need curb flow of messages. i've read this qa, don't know if that's applicable or not. should nak messages based on throttling algorithm in client handler?

thank you, stephen

by default there 1 worker thread (per message type) that's used process request, can add thread.sleep() in service delay processing of request next request gets processed after previous 1 has finished.


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -