Open mwyzhao opened 4 years ago
It'd be good even for something like our demo covid tracker. I had to manually start the web server since you need something to request it for the allocator to allocate it, but no service sends requests the web server.
For that case can't you just curl the proxy with the name of the covid-19 tracker to boot up an instance?
I hadn't made the web server able to respond to p2p requests and was running its proxy in client mode, but yeah probably should have made it so that was possible.
Actually one caveat was I wanted to specifically run it on a machine where I had created a public facing IP.
I call it service injection, just to have a cool name for it. Basically it'll be a side channel to manually create microservices instances attached to an Allocator. This will enable easier setup for more complex test cases without having to jump through a bunch of hoops.
Current thoughts is that it will be implemented as an HTTP server spun up alongside the allocator P2P node that will respond to commands such as
create
or possibly in the futurekill
.