News for hackers. Stuff that matters.
Re:Write Fast Apps Using Async Python 3.6 and Redis by icebraining on Thursday April 27, 2017 @07:43PM (#14215792)
Not really, you can use a multiprocessing.Manager to share a plain old dict or list across multiple worker processes: https://docs.python.org/3/library/multiprocessing.html#shari...
Re:Write Fast Apps Using Async Python 3.6 and Redis by cwilkes on Friday April 28, 2017 @01:56AM (#14217134)
I think the OP was talking about different VMs behind a load balancer where there is no shared memory at all.
Re:Write Fast Apps Using Async Python 3.6 and Redis by icebraining on Friday April 28, 2017 @04:16AM (#14217759)
Wasn't my impression (using worker processes in the same machine is common), but fair enough. On the other hand, message passing across machines is overrated. We run a SaaS service on 25 VMs with no communication between them for regular operation.