What architecture do I choose?

I am deploying a ml anomaly detection model to raspberry pi 4, the model will be fed a datastream from force and torque sensors. I wanna get the implementation right and so far I have come up with two solutions:

2 threads with one shared (circular?) queue, one thread reading the data stream and the other feeding the model

My second idea was to have both the reading and feeding in separate docker containers and communicating via either mqtt or rest, Im not sure about the communication part

I am looking for advice, feedback for my solutions, a common practice advice would help me the most as I want to make it the right and efficient way. Thank you in advance:)

submitted by /u/Vojtavoj10
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/GcEZbCD

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close