reliable-zeromq

A collection of reliable zeromq messaging constructs

Usage no npm install needed!

<script type="module">
  import reliableZeromq from 'https://cdn.skypack.dev/reliable-zeromq';
</script>

README

Reliable ZeroMQ

Build Status codecov

TODO:

  • Test what happens when two sockets bind to the same endpoint
  • Migrate to ESLint
  • Test multiple subscribers to one publisher (networked)
  • Separate Ack + Response in ZMQResponse to distinguish between slow peers and slow endpoints?
  • Send a closure message on Close() call, allow ZMQResponder and ZMQPublisher to free memory

Ideas:

Known Issues:

  • JSONBigInt parses any string it can to bigint, e.g. "20n" to 20n, instead of its correct value of "20n"
  • ExpiryMap does not reset expiry when set() overwrites an existing value. Would require a LinkedListDictionary.