request-queueing

WCF Service & Request queueing

Is using a handrolled POCO queue class using pseudo code T Dequeue() { lock(syncRoot) { if(queue.Empty) Thread.Wait(); } } void Enqueue(T item) { queue.Enqueue(item); Thread.Notify(); } for WCF request queueing a scalable approach? ...

.NET Best approach to implementing client/server queuing model with external app?

Here is the spec: Multiple clients using a WPF winforms application on their local machines Clients initiate requests to the server to execute a simulation. This initiation should probably be via a web service but other suggestions are welcome Requests are queued on the server Server sends out sequential requests to the simulation mo...

ASP.NET requests queued, can I identify what these requests are?

It seems helpful to find out what kind of requests currently in the queue when the queue blocked. Are there any ways for me to know the infomation of them? e.g. request url, client ip, cookie, body... ...

C# Request Queue

My Web Service uses another API to obtain data. I cache the data, clean it and return it do the user when they make a request. At the moment I am getting a lot of requests and because I can only access the data API 2 times per second, I am getting errors back which means some users don't get the data and other do. What I want to do is a...

Request Queueing per IP or Limit One concurrent Request per IP in mod_rails Passenger or on Apache

Is there a way to queue up the requests by IP and process the requests in the same queue? I would like to achieve the following: Say IP1 is sending 20 requests per minute - I want all these requests to be processed in sequence on completion of the request1, then req2 and so on ... This should not effect other requests from other IPs. ...

Java.lang.Runtime

Hi folks, I have a piece of code that invokes an instance of the bash terminal through the use of the following -- proc = Runtime.getRuntime().exec("/bin/bash", null, working-dir); and then to run unix commands on this invoked instance of bash I'm using a PrintWriter object like this -- PrintWriter out = new PrintWriter(new Buffered...