-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ZeroMQ #1214
Comments
Thanks for reporting this. We're working on an experiment to load Zend PHP extensions as-is. Failing that, someone could port it as we now support loading extensions (built for HHVM) dynamically as .sos. It's not something we're likely to work on any time soon though. |
Would also like this. Been looking at doing the port myself, but seems like a bit of a project. HHVM supporting Zend PHP extensions definitely seems like the way to go. |
👍 |
I am now working on https://github.com/duxet/hhvm-zmq. At the moment i am able to send and receive messages. |
A year later since the last entry. I see an entry for 0mq in the HHVM extensions list - does this mean it's on the road map for integration? Is there a timeline for including zeromq in HHVM? |
I don't see any entry in our extension list. There's an externally maintained extension (linked above), I'm not aware of any plans to upstream it into hhvm though. |
Thanks Paul. Sadly - it's not on the github list. It is in the docs manual: http://docs.hhvm.com/manual/en/book.zmq.php Though it does state not currently implemented, it lends itself to wondering about implementation in the core. We'd love to use HHVM for our production app, zeromq is a key component of our app. Currently, hhvm-zmq isn't working on CentOS 7. |
The docs are forked directly from PHP, hence the inclusion of extensions not currently part of hhvm. No one here is currently working on zeromq, unfortunately. I don't have the bandwidth right now to take it on myself, but I'm happy to help anyone that wants to work on it and runs into specific issues related to hhvm. |
Thanks for the clarification. We may pursue the option to build it or get it built. Bandwidth is in limited supply these days. |
Note, that on every |
@rotor-head and anyone else. Please take a look at https://github.com/no1youknowz/hhvm-zeromq-ext this works for me 90% and it's being used in a production env. I'd love some help in getting things that work in PHP to work with this (in hhvm) 100%. I've tested it with push/pull, pub/sub, getsocket, poll. I don't know c++ really, so any help and contributions welcome. |
Thanks for posting! .. I'll check it out on our app and give will give feedback on what we experience. |
Can this be closed as there is an externally provided extension? |
Yes
|
This works with 3.9 thanks to Orvid on #hhvm irc. I wish the good folks at hhvm took the plugin in-house. |
I am going to close this out since there is an extension @fredemmott Didn't we consider ZeroMQ at one point and weren't going to implement it ourselves, but now that there is an extension, do we consider merging that in to our codebase? Or do we leave it as a pluggable extension outside hhvm? |
Can the 3rd party extension be included in the official build? Seems like an important one to leave out. :( |
Not unless we pull it into our code tree, sorry. |
Unfortunately, due to the inability to the way the implementation linked above is, getting the licensing sorted out would be nearly impossible. It also has various other issues with the implementation. For that reason, I did a fresh port of the PECL extension to HNI, so that the licensing is significantly easier to sort out. To my knowledge it supports everything the original PECL extension did, and is available here: https://github.com/Orvid/php-zmq |
http://zeromq.org/bindings:php
The text was updated successfully, but these errors were encountered: