nats.js: Memory leak
Hi,
in file pub_perf.js
replace this line
nats.publish('test', invalid2octet, () => { });
after this my node processes will rise to ~1,028.8MB and freezes.
Node: v6.9.2 Windows
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 26 (26 by maintainers)
This is not a Node.js issue or a NATS issue per se, its a generalized messaging pattern. You should understand if the publisher cares about whether the message was processed or not. I have been doing messaging systems now for almost 25yrs, so I may have a different opinion than most. If you care, do a request/response pattern with a timeout, if you don’t care, then really don’t care.