Queuing rpc calls
- by alfa64
i'm designing a system wich listen to json rpc calls from clients, piles it up inside a list, and if it gets full it should store them in a DB and keep recieving calls.
My original plan is to listen to the rpc calls from Perl with the json-rpc and put them in the array.
The clients do some long polling in another server to get responses as they appear.
What is this blocking/noblocking thing? Should i do a script for node.js to listen to the calls?
What do you think is a good practice in this case? The objective is to listen as much calls as possible.