in reply to Re: Handling multiple requests in a queue on FIFO based and process
in thread Handling multiple requests in a queue on FIFO based and process

Thanks for the reply.

The clients are pc's and connected to the server pc through a network, the requests are submitted and it is fire-and-forget.

The FIFO requirement is sequential, even if the two request came from different clients. request #2 blocks until request #1 is fully completed.

The request size bytes is in below 1k and no need of response.

The clients are in local LAN, no need to authenticate clients.

The clients are pc,s connected to one server, all request handling will be done on the server side, in a First-in-first-out process.

  • Comment on Re^2: Handling multiple requests in a queue on FIFO based and process

Replies are listed 'Best First'.
Re^3: Handling multiple requests in a queue on FIFO based and process
by kschwab (Vicar) on Nov 22, 2013 at 14:02 UTC
    Gearman might work for you. There's a good overview here. It supports the idea of a background job which maps to "fire and forget". On the server side, to meet your FIFO requirement, you would have one worker for this specific task. . You would have to use Storable or similar to coax your hash into a scalar on the client side, and vice-versa on the worker side.