Giter VIP home page Giter VIP logo

Comments (11)

sphaero avatar sphaero commented on August 16, 2024

Is this consistent behaviour? This error seems to indicate a node is gone or not responding. You didn't receive an error before?
It could also mean that the pipe between the zbeacon thread and the PyreNode thread is gone, full or deadlocked.

from pyre.

utsavdrolia avatar utsavdrolia commented on August 16, 2024

No, the error is not consistent.
Would there be any other error message if the pipe is gone, full or
deadlocked?
On Feb 23, 2015 6:35 AM, "Arnaud Loonstra" [email protected] wrote:

Is this consistent behaviour? This error seems to indicate a node is gone
or not responding. You didn't receive an error before?
It could also mean that the pipe between the zbeacon thread and the
PyreNode thread is gone, full or deadlocked.


Reply to this email directly or view it on GitHub
#52 (comment).

from pyre.

sphaero avatar sphaero commented on August 16, 2024

I'm not sure, I have experienced some deadlocks which I couldn't trace. That's the nasty thing about this asynchronous computing. I've created unittests for it in which I was able to reproduce it. It was solved by upgrading zmq. You could try that.

Though I would still like to be able to trace these errors better

from pyre.

utsavdrolia avatar utsavdrolia commented on August 16, 2024

I think I am running libzmq 4.0.4 - a further upgrade might be required?
Any numbers on what might saturate the pipes?
It could be possible that I had a lot of messages back ’n’ forth between 2 nodes. However, I did that same test multiple times but got this error only a few times.
Will this library be updated any further? Or would python bindings for Zyre replace it?

On Feb 23, 2015, at 8:10 AM, Arnaud Loonstra [email protected] wrote:

I'm not sure, I have experienced some deadlocks which I couldn't trace. That's the nasty thing about this asynchronous computing. I've created unittests for it in which I was able to reproduce it. It was solved by upgrading zmq. You could try that.

Though I would still like to be able to trace these errors better


Reply to this email directly or view it on GitHub #52 (comment).

from pyre.

sphaero avatar sphaero commented on August 16, 2024

The lib will updated further. I'm using it myself a lot. It might be superseded by the zyre bindings but these depend on libzmq, czmq and zyre. Which is quite a lot. Pyre just depends on zmq. That's why it is used often in environments where these libs are difficult to install.

The high watermark is set 1000 by default for a pipe.
https://github.com/zeromq/pyre/blob/master/pyre/zhelper.py#L15
For a zthread it's 100
https://github.com/zeromq/pyre/blob/master/pyre/zhelper.py#L43

But for the zactor I'm not sure. It's the zmq default.

I recall that when a water mark is reached you get the EAGAIN exception.

from pyre.

utsavdrolia avatar utsavdrolia commented on August 16, 2024

Do you mean this error - "zmq.error.Again: Resource temporarily unavailable" ??
That was the error I got. Is that different from the EAGAIN exception?

Also, isn't this library using zactors in place of zthreads? Or are there places where you use both?

So I take it that Pyre will be regularly upgraded - awesome :)
What exactly do you use it for now?

from pyre.

sphaero avatar sphaero commented on August 16, 2024

We're using both zthread and zactor. Still need to move everything to zactor. If you could try raising the HWM for zthread in your tests. See if that helps. I do not expect 100 messages to queue up but you never know.

See: https://fosdem.org/2015/schedule/event/deviot02/
Hopefully the videos will be up soon

from pyre.

utsavdrolia avatar utsavdrolia commented on August 16, 2024

Interesting!
I guess you would be the right person to ask - Why not joyn AllJoyn?
If you don't have an answer offhand, any articles you could point me to?

from pyre.

sphaero avatar sphaero commented on August 16, 2024

Why should I? I know there are many IoT efforts but most of them are too complex.
My initial research can be found here: http://www.z25.org/static/_rd_/zocp_init_plab/index.html

from pyre.

sphaero avatar sphaero commented on August 16, 2024

I was kind of curious why you suggested AllJoyn but can we close this issue anyways?

from pyre.

utsavdrolia avatar utsavdrolia commented on August 16, 2024

I was researching networks at the edge and had come across AllJoyn. But it seems a lot more centralized in its approach.
Yes, we should close this issue now :)

On Apr 10, 2015, at 3:56 AM, Arnaud Loonstra [email protected] wrote:

I was kind of curious why you suggested AllJoyn but can we close this issue anyways?


Reply to this email directly or view it on GitHub #52 (comment).

from pyre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.