2 ms·
With Python at least an application server with long-running processes is the most common way to deploy, for example with gunicorn. Though typical config will h
by jononor 6y ago
With Python at least an application server with long-running processes is the most common way to deploy, for example with gunicorn. Though typical config will have green threads and/or multiple worker processes, so I am not quite sure how one the single-writer is enforced.
- nine_k 6y agoFile locking and waiting on the lock? Assuming that open + update + close is very fast and not very frequent, the wait time will be near zero, can be done synchronously pretty well.