3 ms·
Unless I'm missing something, what you propose doesn't solve the problem at all. The file on disk is the canonical representation of the application source code
by nathanaldensr 7y ago
Unless I'm missing something, what you propose doesn't solve the problem at all. The file on disk is the canonical representation of the application source code. The canonical representation is what has to be upgraded since processes don't live forever (processes are effectively an ephemeral copy of the canonical code). That's the primary reason for the shutdown/upgrade/restart flow.
- heavenlyblue 7y agoThe parent meant “what if the file on disk contains code deltas that you need to apply to the executable”. It’s not just deltas, it’s structural modifications of the code that allows it to be compatible with the old version. I think we partially have this with tv the likes of task runners (eg Celery in python) where you can reload the workers (code instances) whole having the old workers running.