Queuing rpc calls
Posted
by
alfa64
on Programmers
See other posts from Programmers
or by alfa64
Published on 2012-05-20T23:29:17Z
Indexed on
2012/12/13
5:16 UTC
Read the original article
Hit count: 252
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.
© Programmers or respective owner