1. 21 Feb, 2016 2 commits
  2. 18 Feb, 2016 1 commit
  3. 28 Jan, 2016 1 commit
  4. 01 Nov, 2015 1 commit
    • Pieter Hintjens's avatar
      Problem: Windows 7 TCP slow start · 54e2e2a7
      Pieter Hintjens authored
      See issue #1608.
      
      This is an old issue with Windows 7. The effect is that we see a latency
      ramp on the first 500 messages.
      
      * The ramp is unaffected by message size.
      * Sleeping up to 100msec between sends has no effect except to switch
          off ZeroMQ batching so making the ramp more visible.
      * After 500 messages, latency falls back down to ~10-40 usec.
      * Over inproc:// the ramp happens when we use the signaler class.
      * Client-server over inproc:// does not show the ramp.
      * Client-server over tcp:// shows a similar ramp.
      
      We know that the signaller is using TCP on Windows. We can 'prime' the
      connection by doing 500 dummy sends. This potentially causes new sockets
      to be delayed on creation, which is not a good solution.
      
      Note that the signaller sends zero-byte messages. This may also be
      confusing TCP.
      
      Solution: flood the receive buffer when creating a new FD pair; send a
      1M buffer and discard it.
      
      Fixes #1608
      54e2e2a7
  5. 30 Oct, 2015 1 commit
  6. 29 Sep, 2015 1 commit
    • KIU Shueng Chuan's avatar
      create signaler::recv_failable() · 596d6e5b
      KIU Shueng Chuan authored
      In real world usage, there have been reported signaler failures where the
      eventfd read() or socket recv() system call in signaler::recv() fails,
      despite having made a prior successful signaler::wait() call.
      
      this patch creates a signaler::recv_failable() method that allows
      unreadable eventfd / socket to return an error without asserting.
      596d6e5b
  7. 18 Sep, 2015 1 commit
  8. 06 Sep, 2015 1 commit
  9. 03 Sep, 2015 1 commit
  10. 02 Sep, 2015 1 commit
  11. 28 Jul, 2015 1 commit
  12. 23 Jul, 2015 1 commit
  13. 22 Jul, 2015 2 commits
  14. 02 Jun, 2015 1 commit
  15. 20 Apr, 2015 1 commit
  16. 22 Jan, 2015 1 commit
  17. 24 Sep, 2014 1 commit
  18. 23 Jul, 2014 1 commit
    • Ewen McNeill's avatar
      z/OS: Loop on EAGAIN on close() in ~signaler · 0af693c4
      Ewen McNeill authored
      Updated:
          src/signaler.cpp: Add close_wait_ms() static function to loop
             when receiving EAGAIN in response to close(), with ms long
             sleeps, up to a maximum limit (default 2000ms == 2 seconds);
             used in signaler_t::~signaler_t() destructor.
      0af693c4
  19. 09 Jul, 2014 1 commit
  20. 28 Apr, 2014 1 commit
  21. 27 Apr, 2014 1 commit
  22. 25 Apr, 2014 1 commit
  23. 30 Mar, 2014 1 commit
  24. 18 Mar, 2014 1 commit
  25. 17 Feb, 2014 1 commit
    • Olaf Mandel's avatar
      Remove duplicate poller decision making · 48b50cef
      Olaf Mandel authored
      The decision about the poller mechanism to use (select, poll, ...)
      was done twice: once by the build system and once by the code in
      poller.hpp. As the build-system can actually detect the mechanisms
      available, prefer that result to the hard coded defaults in
      poller.hpp.
      
      At the same time, remove the duplicate detection of select() vs.
      poll()-variant from proxy.cpp, signaler.cpp and zmq.cpp.
      
      This patch has not been tested on many build platforms: especially
      the cmake build needs testing / patching. For the other builds,
      hard code the result as these these are all Windows platforms.
      48b50cef
  26. 02 Jan, 2014 1 commit
  27. 11 Dec, 2013 1 commit
  28. 28 Nov, 2013 1 commit
  29. 11 Nov, 2013 2 commits
  30. 10 Nov, 2013 2 commits
  31. 07 Nov, 2013 3 commits
  32. 01 Sep, 2013 2 commits
  33. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505