useringo/ringo

Need to write a load balancer

gmittal opened this issue · 2 comments

Because this will be running across multiple Macs, will need to find a way to allocate a Mac ngrok url to the user session.

Will probably involve needing to have a way of finding the number of active users that are using each Mac server, and then based on the number of users between the Macs, choosing which ngrok server url to send back to the client.

Super basic, hacky, load balancer implemented. Should work fine with a small, limited amount of cloud servers.