- 23 Jun, 2011 1 commit
-
-
Martin Sustrik authored
So far the requests in req/rep pattern were delivered to and processed by worker even though the original requester was dead. Thus, the worker processing replies with noone to deliver results to. This optimisation drops requests in two situations: 1. Queued inbound requests in XREP socket when peer disconnects. 2. Queued outbound requests in XREQ when socket is closed. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 22 Jun, 2011 2 commits
-
-
Martin Sustrik authored
Up to now the complexity of fair-queueing in XREP was O(n). Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
This patch introduces two changes: 1. 32-bit ID is used to identify the peer instead of UUID 2. REQ socket seeds the label stack with unique 32-bit request ID It also drops any replies with non-matching request ID Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 21 Jun, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 20 Jun, 2011 8 commits
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
So far there was no distinction between message parts used by 0MQ and message parts used by user. Now, the message parts used by 0MQ are marked as 'LABEL'. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Fabien Ninoles authored
For the platforms that don't support MSG_DONTWAIT the reader socket in mailbox_t was kept in non-blocking state and flipped to blocking state and back when blocking read was requested. Now, the state is preserved between calls and flipped only if different type of operation (block vs. non-block) is requested. Signed-off-by: Fabien Ninoles <fabien@tzone.org> Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 19 Jun, 2011 7 commits
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
When session is already terminating and reconnection happens at that point, the session should not create new pipe to its socket. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
pipe_t now correctly drops pointer to the underlying pipe when sending pipe_term_ack command. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Introduction of subscription forwarding have broken throughput tests. This patch changes the pattern used in the tests to PUSH/PULL. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
-
- 18 Jun, 2011 2 commits
-
-
Steven McCoy authored
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 17 Jun, 2011 1 commit
-
-
Fabien Ninoles authored
- Add doc and tests - Add options and setup - Wait using poll/select Signed-off-by: Fabien Ninoles <fabien@tzone.org> Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 14 Jun, 2011 1 commit
-
-
Martin Sustrik authored
This patch fixed the JIRA issue 223 Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 13 Jun, 2011 3 commits
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 12 Jun, 2011 3 commits
-
-
Steven McCoy authored
Fix windows.h included before winsock2.h. Remove definition of _WINSOCKAPI_. Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
-
Martin Sustrik authored
This option is a performance tweak. In devices XSUB socket filters the messages just to send them to XPUB socket which filters them once more. Setting ZMQ_FILTER option to 0 allows to switch the filtering in XSUB socket off. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 11 Jun, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 01 Jun, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 31 May, 2011 2 commits
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 30 May, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 28 May, 2011 1 commit
-
-
Martin Sustrik authored
This patch will prevent duplicate matching in devices in the future. Instead of matching in both XPUB and XSUB, it'll happen only in XPUB. Receiver endpoint will still filter messages via SUB socket. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 26 May, 2011 1 commit
-
-
Martin Sustrik authored
Bug in previous refactoring fixed. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 25 May, 2011 1 commit
-
-
Martin Sustrik authored
Till now the code was spread over mutliple locations. Additionally, the code was made more formally correct, with explicit pipe state machine etc. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
- 23 May, 2011 3 commits
-
-
Martin Sustrik authored
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-
Fabien Ninoles authored
Allow to have the same item part of two different arrays, as long as they are using different array identifier.
-
Martin Sustrik authored
So far, the pipe termination code was spread among socket type classes, fair queuer, load balancer, etc. This patch moves all the associated logic to a single place. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-