How to config a single nats-server with jetstream in most resource-effective way #4227
-
Hi, I am making a PoC using nats-server (and go-based nats client) without network access on a battery-powered SBC. However, the nats-server seems to keep itself rather busy (relative term but significant for battery time) and I hope for help in calming it down when the rest of the world is carm. Changing PING interval was easy but it seems to have a very small effect (most activity seems to be related to Are these really necessary in a single instance nats-server with a single client in the same machine. If they are, can we reduce the frequency of gathering/sending that info when there is no other activity? I havent tried to run in MQTT mode even though you probably guess that it's MQTT server this PoC competes with. My argument is borrowed from how i remember a nats.io recommendation, something like "use real nats/jetstream if possible, and that it should prove as effective in a comparable scenario with MQTT" Any ideas/suggestions? /T |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I am moving this to |
Beta Was this translation helpful? Give feedback.
-
Let me take a look, if the $JSC subjects are specifically |
Beta Was this translation helpful? Give feedback.
-
Any specific |
Beta Was this translation helpful? Give feedback.
-
Made the improvements and they will be in 2.9.18 this week. |
Beta Was this translation helpful? Give feedback.
Made the improvements and they will be in 2.9.18 this week.