Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    gevent_zeromq 0.2.5

    Download button

    No screenshots available
    Downloads: 241  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Travis Cline | More programs
    BSD License / FREE
    August 1st, 2012, 13:06 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    gevent_zeromq description

    Gevent compatibility layer for pyzmq

    gevent_zeromq is a Python wrapper of pyzmq to make it compatible with gevent. 0MQ socket operations that would normally block the current thread will only block the current greenlet.

    Inspired by Ben Ford's work on 0MQ support in eventlet.

    Usage:

    Instead of importing zmq directly do a:

     from gevent_zeromq import zmq

    And use as normal.

    About:

    This compatibility is accomplished by ensuring the nonblocking flag is set before any blocking operation and the 0MQ file descriptor is polled internally to trigger needed events.

    Will build with cython if available. In my simple nonscientific test this resulted in an almost 50% speedup in a local 1-1 PUB SUB sending of 100,000 1K messages in a single tight loop.

    There are plans to further the integration with both gevent and pyzmq via cython for speed.


    Product's homepage

    Requirements:

    · Python
    · PyZMQ

      


    TAGS:

    gevent compatibility | 0MQ socket | gevent | pyzmq | compatibility

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM