aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-02-24 22:04:16 -0800
committerGarrett D'Amore <garrett@damore.org>2019-02-26 21:09:54 -0800
commit5803db08e55ed9287dc59b3adc281b89c52c530f (patch)
tree9d2d65ed86be5c7b976fc3bdfc5ed5b375143641 /src/CMakeLists.txt
parent9cf967e9d7fdab6ccf38f80d83e4bf3d1a5e1a67 (diff)
downloadnng-5803db08e55ed9287dc59b3adc281b89c52c530f.tar.gz
nng-5803db08e55ed9287dc59b3adc281b89c52c530f.tar.bz2
nng-5803db08e55ed9287dc59b3adc281b89c52c530f.zip
fixes #461 Context support for SUB
fixes #762 Pub/Sub very slow compared with nanomsg This introduces contexts for SUB, and converts both the cooked SUB and PUB protocols to use a new lightweight message queue that has significant performance benefits over the heavy-weight message queue. We've also added a test program, pubdrop, in the perf directory, which can be used for measuring pub/sub message rates and drop rates. Note that its quite easy to overwhelm a subscriber still. The SUB socket performance is still not completely where it needs to be. There are two remainging things to improve. Firsst we need to replace the naive linked list of topics with a proper PATRICIA trie. Second, we need to work on the low level POSIX poller code. (The Windows code is already quite good, and we outperform nanomsg on Windows.)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3ee94e18..b828537e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,6 +48,8 @@ set (NNG_SRCS
core/list.h
core/listener.c
core/listener.h
+ core/lmq.c
+ core/lmq.h
core/message.c
core/message.h
core/msgqueue.c