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...
-
Ramsey Nasserreplied to Ramsey Nasser on last edited by
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
-
Ramsey Nasserreplied to Ramsey Nasser on last edited by
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
-
Matthew Lyonreplied to Ramsey Nasser on last edited by
@nasser I’m actually considering moving my own hosting to something like this, am very interested
-
Ramsey Nasserreplied to Matthew Lyon on last edited by
@mattly am i wrong in my assessment that no such thing exists?
-
Matthew Lyonreplied to Ramsey Nasser on last edited by
@nasser idk, but everyone I know is still trying to ram everything possible into either kubernetes or some proprietary cloud platform
-
Ramsey Nasserreplied to Matthew Lyon on last edited by
@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.
-
Matthew Lyonreplied to Ramsey Nasser on last edited by
@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
-
Ramsey Nasserreplied to Matthew Lyon on last edited by
@mattly sucks
-
Matthew Lyonreplied to Ramsey Nasser on last edited by
@nasser welcome to javascript!
-
Slim Amamoureplied to Ramsey Nasser on last edited by
-