hmm my approach to pm2 managing disparate microbackends is not going to work because each one is going to need to be aware of SSL and the firewall will have to allow their ports too which is not ideal...
-
hmm my approach to pm2 managing disparate microbackends is not going to work because each one is going to need to be aware of SSL and the firewall will have to allow their ports too which is not ideal...
again the goal is something like nginx but for backends, many of which are cookie-cutter (e.g. websocket broadcast server) that might need configuration but almost never custom code...
-
and, like nginx, ideally i could run one instance of such a system for all of my smaller sites. a $5 digitalocean droplet should be enough for all of my static sites and these backends
-
i wonder if the solution is to write something in node that reads a folder full of toml files and starts up end points for each one? then all the firewalling and proxying and SSLing can be centralized, same way it is with my nginx stuff. eg something like this for a thing i am working on. i would rsync this config file to the right folder on the server, restart and boom
-
if i need new reusable logic i can write a new module. if i need something bespoke then i can do the more conventional thing, but really 90% of my use case are probably covered by web socket broadcast and namespaced key value stores
-
@nasser I’m actually considering moving my own hosting to something like this, am very interested
-
@mattly am i wrong in my assessment that no such thing exists?
-
@nasser idk, but everyone I know is still trying to ram everything possible into either kubernetes or some proprietary cloud platform
-
@mattly yeah thats the thing -- theres a whole universe of small-to-medium-scale server needs that feel totally missed... i am working on a system that needs to move a single floating point number 60 times a second between two tablets that are 6 inches apart. i guarantee kubernetes do not need to factor into anything. i have a dozen or so other small projects like that.
-
@nasser I suspect there are people doing stuff in this space but the “WE’VE GOTTA HIT UNIVERSE SCALE BEFORE WE LAUNCH” people have sucked all the air out of the room
-
@mattly sucks
-
@nasser welcome to javascript!
-
-