tj / axon

message-oriented socket library for node.js heavily inspired by zeromq
MIT License
1.5k stars 155 forks source link

Allow disabling of the queue #139

Closed 3rd-Eden closed 10 years ago

3rd-Eden commented 10 years ago

There are cases where the build in queue is only causing more issues than that it actually solves. #81 being on of them.

In my use case I just want randomly broadcast messages towards ports and if a servers goes up, it will automatically start receiving messages. I'm currently sending heart beat messages every 100 ms (for a master slave setup). So if a server goes down for a hour it will just cause the node process that sends packets to blow up out of memory or the receiving side of the message to blow up because of the large blob of data it needs to process.

3rd-Eden commented 10 years ago

Ok, it seems that is also possible using the poorly documented hwm option that I just have to figure out where to add.