Hello,
I would apply the single responsibility thing here and create a
microservice independent by the main process here. The only burden is to
manage
the deploy but with docker compose comes easy. The advantages are:
-  you can put redis in the middle if you want to cache results and lower
the latency a lot.
-  you can benchmark it better.
-  you can scale the service and the iotdb independently.
-  one person can only care to update/compile/maintain just the service
without thinking too much.
-  smaller, simple, minimal is good.

The discussion is open.
Best Regards,
Giorgio

Reply via email to