4 ms·
Thanks! I'm glad to see this looks potentially useful to someone other than myself. If the client could start servers (other than by importing from server.py)
by asrp 10y ago
Thanks! I'm glad to see this looks potentially useful to someone other than myself.
If the client could start servers (other than by importing from server.py), what would be the intended outcome if two clients try to spin up servers at the same time? Otherwise would a file lock do? In that case, just file locking combined with pickle could possibly be enough for your needs.
- amenod 10y ago+1 (I find it useful too). I actually started writing my own implementation of something similar (named "PersistendDict" - feel free to steal the name ;) ) but never finished it so I will definitely check out your library. Thanks! On account of starting / stopping the server... I personally don't care if functionality is there or not as I can always start server manually on dev machine, and it should be started differently on production machines anyway. But that's just my opinion.