TL;DR How to determine to use multiple services in one container or split them? And which one is more traffic (MB’s) hungry when using openBalena?
One of my main questions per project is if we should use one container or multiple. And if we use multiple, what’s the best approach?
Until now, we’ve used multiple for all different services (like Redis, serial communication and Node.js). We’d like to keep the serial communication and Node.js seperated, but only Node.js uses Redis. So should we combine Node.js with Redis in one container or should we keep them seperated, and why?
We’re using a Raspberry Pi 4 on openBalena. Because openBalena doesn’t support delta updates, I was wondering in this case what’s more traffic expensive? Redis is probably only going to be updated with security patches, but no big changes. So on an update, does it download the container just to be sure or does it know there’s no difference?
Thanks in advance!