alphacomm / alpharpc

AlphaRPC is an RPC daemon based on ZeroMQ that can be used to distribute workload over one or multiple servers.
alpharpc.net
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Various improvements #49

Closed jacobkiers closed 8 years ago

jacobkiers commented 8 years ago

This PR adds two simple things:

reenl commented 8 years ago

I've had the routing problem of the requestId to manager before. My fix was to prepend a unique identifier for the manager to the requestId.

Note that this solution only works with a central memcache backend.

reenl commented 8 years ago

I don't have blocking issues with this PR. :+1:

Feel free to merge or fix the minor comments.

jacobkiers commented 8 years ago

I've fixed both issues. The memcached is now prevented from starting by adding a down file in the services directory, as specified in the runsv(8) manual:

If the file service/down exists, runsv does not start ./run immediately. The control interface (see below) can be used to start the service and to give other commands to runsv.