Comments (5)
Sorry for being too slow to respond, just got back from the trip. Please give some time to think about that...
from txzmq.
Sure thing!
Again, whatever you want to do is cool. No pressure.
from txzmq.
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.
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.
Thanks, Duncan! Added you to the repo.
from txzmq.
Related Issues (20)
- Online API reference is missing HOT 2
- Latest version of pyzmq incompatible HOT 1
- Is it possible to implement a ZeroMQ Pair? HOT 6
- Timeout support HOT 23
- Is it possible to create txzmq daemon as twistd plugin? HOT 6
- Bug with publishing, unicode tag
- Incorrect (twice?) shutdown when registered for shutdown HOT 6
- Does txZMQ support iocp reactor HOT 2
- txzmq support for ZMQ 4.x HOT 3
- pub_sub.py example doesn't seem to work HOT 2
- pubsub (at least) doesn't work with python 3 HOT 2
- New release HOT 3
- Does this package support Python 3? HOT 2
- txzmq.ZmqREQConnection messageReceived code is returning weird results HOT 2
- Timeout handling in REP-REQ HOT 1
- Change txZMQ (from GPL) to a more permissive license (at least LGPL) HOT 19
- 'ZmqREPConnection' object has no attribute '_routingInfo' HOT 5
- txzmq/pubsub.py", line 26 -- exception cannot conatenate bytes HOT 1
- minor pylint issue with ZmqPubConnection
- VERSION does not match last tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from txzmq.