Re: Finally getting where I can replicate problems with stockquotes phase3 tutorial
Irmen de Jong <[email protected]> Wed, 07 Jan 2015 23:36:57 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 7-1-2015 21:03, Kenneth Martin wrote: > 2) I have not spent time to figure out if I need to set environment > variable SERIALIZERS_ACCEPTED > in all three terminals or just in terminal with stockmarket.py, or in > both terminals with stockmarket.py and aggregator.py, but for tests, I > am setting in all three terminal windows to be sure. Again, stop here and take a pause and a step back. You only need to set it for the name server, as per the docs. The other modules set it themselves (as you already found out). > Summary: > In my board, there is a hanging problem when trying to acquire a > threading lock when pickle is used as the serializer. serpent works fine > as long as communication time-outs are not used. This doesn't make a lot of sense really. Pickle works fine for the stockmarket tutorial, serpent works just fine for the warehouse tutorial. The choice of serializer has no relation whatsoever with threading and locks. You have some stuff mixed up on your system when running the things. Irmen ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net