delian / node-netflowv9

NetFlow Version 9 library for Node.JS
GNU General Public License v2.0
42 stars 13 forks source link

Implement fifo queue for reading/parsing messages #12

Closed nyxtom closed 8 years ago

nyxtom commented 8 years ago

I am finding that processing packets can take some time and leads to backpressure. It would be nice if the packets were read off of udp and pushed to a fifo queue which can parse these messages when the event loop can get to them (through the use of setImmediate).