3 ms·
When you deploy: Will you lose requests that are currently being processed while you restart the service? Also, will a server still receive requests while the
by syncopate 9y ago
When you deploy: Will you lose requests that are currently being processed while you restart the service? Also, will a server still receive requests while the new code is being started?
- spladug 9y agoGenerally: no. The worker processes will finish up their current request before shutting down and being reaped. At the whole server level, Einhorn will indeed make sure that requests are still being served as the workers get shuffled out.