Re: Finally getting where I can replicate problems with stockquotes phase3 tutorial

Kenneth Martin <martin-TxPoQvD3IN4C6LszWs/[email protected]> Thu, 08 Jan 2015 11:18:22 -0500
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 15-01-07 05:36 PM, Irmen de Jong wrote:
> 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.
This only happens when I have a conflict with the serializers, but the 
hang up at waiting for the lock is consistent when a conflict occurs.
>
>
> 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
> _______________________________________________
> Pyro-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyro-core

-- 
Kenneth Martin, President
Granite SemiCom Inc.
555 Richmond St. W, BX1200/Suite 905
Toronto ON
416 640-2626, www.granitesemi.com


------------------------------------------------------------------------------
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