4 ms·
I hit the following issues: memory leak, hard to debug, silent disconnects.
by halayli 11y ago
I hit the following issues: memory leak, hard to debug, silent disconnects.
- theseoafs 11y agoHow could you get memory leaks? It seems to me that only a very immature library should leak memory if the interface is being used correctly.
- joelhaasnoot 11y agoWe've also had memory leaks - not sure of the exact issue, but it's related to large scale reconnects. https://github.com/zeromq/libzmq/issues/1256 https://github.com/zeromq/libzmq/issues/1256
- halayli 11y agoYep. Every few days the process was oom killed because of that. When we moved away from it and used OS sockets directly, everything worked fine.
- acconsta 11y agoZeroMQ is a C++ library written by a guy who hates C++: http://250bpm.com/blog:4 http://250bpm.com/blog:4 He later rewrote the whole thing in C: http://nanomsg.org/ http://nanomsg.org/
- halayli 11y agoNot necessarily. It's not a good idea to assume that the library you are using is perfect and free of bugs. OSes and popular OSS libraries have ridiculous bugs sometimes.