Thursday 15 January 2015

c# - Queue incoming Web API 2 calls -



c# - Queue incoming Web API 2 calls -

i receive big amount of info web api service takes while process (parse, process data, set in db, etc).

the problem i'm having processing not finished when next chunk of info comes. don't want process info simultaneously rather wait first phone call finish before processing next.

i've looked rabbitmq , other solutions similar - problem don't have process running checking queue @ times "while(true)" style.

any suggestions ?

you can't handle queue without running process. if create api phone call wait untill processing slot ready you'll timeouts.

you must utilize solution rabbitmq , worker process process incoming data. nil prevents process pushing result using signalr.

c# asp.net-web-api rabbitmq message-queue

No comments:

Post a Comment