3 ms·
If you want this feature, but multithreaded and with hot-deploy + filesystem database clustered you can try: http://github.com/tinspin/rupy http://github.com/ti
by bullen 11y ago
If you want this feature, but multithreaded and with hot-deploy + filesystem database clustered you can try: http://github.com/tinspin/rupy http://github.com/tinspin/rupy
- andybak 11y agoSlightly disingenuous not to point out that's a Java app. I suspect the choice of language is a factor for a fair few people, maybe even the majority.
- bullen 11y agoYep, languages are like religion. But you can't hotdeploy any other language properly.
- fleetfox 11y agoI'm not sure what exactly categorizes as "hot deploy" but how about erlang, elixir?
- bullen 11y agoRupy can switch code on the fly, meaning you can have users hitting your server and they will run the old code one request and new code the next. No other system I know of works like this, hot-deploying on a remote machine over HTTP seamlessly. Maybe erlang can do it but then again I can't write a 3D game in that language so Java still has the upper hand for my requirements.
- akubera 11y agoOff the top of my head, if you write a custom MiddlewareChain class that exposed its own management port, you could inspect and modify the state of the chain at any time, checkboxes to disable middleware, change endpoints, insert debug middleware, etc. I like this... definitely worth thinking about. Thanks, all!
- akubera 11y agoAlso, if you're talking about specifically replacing a source files (i.e. modules), one could hack around with https://docs.python.org/3/library/importlib.html#importlib.reload https://docs.python.org/3/library/importlib.html#importlib.r.... I think it would work with enough indirection/factory functions.