Git Product home page Git Product logo

Comments (10)

tobert avatar tobert commented on August 17, 2024

I'll keep plugging on my side, but thought I'd throw this issue up in case I'm hitting a PEBKAC or missing something obvious.

from zeromq.node.

JustinTulloss avatar JustinTulloss commented on August 17, 2024

It's my fault, i'm waiting for incoming messages in a very stupid way. I'm going to rework that shortly (hopefully tonight?).

from zeromq.node.

weixiyen avatar weixiyen commented on August 17, 2024

I'm experiencing the same problem. Hoping for a fix soon!

from zeromq.node.

JustinTulloss avatar JustinTulloss commented on August 17, 2024

Sorry! I'm hoping to get some time to work on it this weekend, since Wednesday didn't happen.

from zeromq.node.

tobert avatar tobert commented on August 17, 2024

No worries :) If you could give a quick overview/pointer about how you want the polling done I can take a whack at a patch. I tried some quick & dirty stuff yesterday (like setting a non-zero timeout on zmq_poll()) but only got segfaults.

from zeromq.node.

weixiyen avatar weixiyen commented on August 17, 2024

thanks, I saw in your commit logs that you had a plan to redesign the driver. Is that the case in the future?

from zeromq.node.

JustinTulloss avatar JustinTulloss commented on August 17, 2024

Yup. The API shouldn't change (at least not right now), but the 100% CPU thing obviously needs to be fixed.

@tobert - I'm planning on moving reads to a blocking eio_custom thread instead of continuously polling. Sends should stay the same. Go for it if you're feeling brave :)

from zeromq.node.

JustinTulloss avatar JustinTulloss commented on August 17, 2024

I did look into this this week, and it's more complicated than I first though due to the thread-safety of sockets (there isn't any). Hopefully I'll have some time to get back to this sometime next week.

from zeromq.node.

JustinTulloss avatar JustinTulloss commented on August 17, 2024

This should be fixed with the reworks done by mlc and stephank

from zeromq.node.

weixiyen avatar weixiyen commented on August 17, 2024

awesome thanks

from zeromq.node.

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.