As was discussed in #43, it was proposed to modify the allocator and proxy to enable the former to provide the hash to the latter through a new environment variable. This will have the following advantages:
The proxy won't have to do a hash-lookup on startup, hence potentially saving a bit of time.
Solution for the problem described in Multi-Tier-Cloud/service-registry#23
For flexibility, we can still support providing the service name directly, but will need to differentiate them using a flag or something.
As was discussed in #43, it was proposed to modify the
allocator
andproxy
to enable the former to provide the hash to the latter through a new environment variable. This will have the following advantages:For flexibility, we can still support providing the service name directly, but will need to differentiate them using a flag or something.