Giter Club home page Giter Club logo

Comments (5)

smira avatar smira commented on May 26, 2024

Sorry for being too slow to respond, just got back from the trip. Please give some time to think about that...

from txzmq.

oubiwann avatar oubiwann commented on May 26, 2024

Sure thing!

Again, whatever you want to do is cool. No pressure.

from txzmq.

smira avatar smira commented on May 26, 2024

I was looking into the changes from your pull request while trying to understand what is the best way to make ZMQ part of Twisted. txZMQ started as a quick hack to make ZeroMQ available to Twisted application.

What I was based upon:

  • we don't need any kind of ZeroMQ reactor, as we can use any existing to poll on ZMQ fd
  • ZMQ socket semantics is much more complex compared to TCP/UDP socket
  • as ZMQ handles reconnects, there's no real requirement to put complex logic around connect/disconnect, as usually it connects only once on application startup
  • particular socket type may require 'subclasses', as we don't want users to deal with raw send/recv
  • some ZMQ socket types won't work well in async program, like REQ/REP, because of strict requirement to send REPly immediately after receiving REQuest (even though XREQ/XREP works fine).

I would love to see txZMQ as simple as possible for the developer.

Even though I'm using Twisted for more than 4 years, I'm still not completely in Twisted terminology/abstract classes (probably because documentation is not that complete?). I really like the direction you're heading with the changes, but I don't feel that I'm an expert. Would it make sense if I add you to this GitHub repo? I would be glad to do testing and provide review/feedback, but I feel it would be better for you to drive through this change.

from txzmq.

oubiwann avatar oubiwann commented on May 26, 2024

Thanks for taking the time to write up such a nice response :-)

I would love to be added to the GitHub repo, and I'd enjoy working on the changes in a peer-review environment (those are always the most fulfilling ones!).

from txzmq.

smira avatar smira commented on May 26, 2024

Thanks, Duncan! Added you to the repo.

from txzmq.

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.