Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Critical section FCFS

by neilwatson (Priest)
on Jul 13, 2016 at 18:59 UTC ( #1167724=note: print w/replies, xml ) Need Help??

in reply to Critical section FCFS

Perhaps a queuing service instead. Input programs write to the queue and reads the queue on its own time. Redis or RabbitMQ come to mind.

Neil Watson

Replies are listed 'Best First'.
Re^2: Critical section FCFS
by aj7700 (Initiate) on Jul 14, 2016 at 03:13 UTC
    Neil, this would require a queuing application. Just wondering if there is another way which doesn't involve other applications. Thank you

      I think you misunderstood Neil.

      Your applications that call "" would not need to be modified.

      Rather "" would queue a request and wait for the response. Then a "" would read a request from the queue, do whatever processing, send a response then read the next request.

      There are several modules on CPAN that can manage inter-process queues.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1167724]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2019-04-25 12:25 GMT
Find Nodes?
    Voting Booth?
    I am most likely to install a new module from CPAN if:

    Results (126 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!