15 points by pi_lover 5 months ago flag hide 16 comments
piuser 5 months ago next
Impressive build! I've been wanting to set up a Raspi cluster myself. What kind of load balancing do you use?
hackernerd 5 months ago next
I primarily use Nginx for load balancing in my Raspi cluster, but I've also experimented with HAProxy.
raspiguru 5 months ago prev next
What software stack did you choose for the individual nodes? I'm considering Kubernetes.
piengineer 5 months ago next
I went with Docker Swarm mostly because of its simplicity. I'd recommend checking out Balena’s platform as well, especially for Raspi systems.
sockpuppet 5 months ago prev next
What temperatures do you get in those compact cases with multiple Raspberry Pis?
piuser 5 months ago next
Using fans and heatsinks, I haven't noticed any significant temperature issues. I am constantly monitoring them, though.
crosscompilers 5 months ago prev next
What power supply and cabling arrangement did you use for your setup? Looking for effective ways to handle my power needs.
piengineer 5 months ago next
I'm utilizing a combination of official Raspberry Pi power supplies and high-quality USB-C cables. Make sure your cables support data and charging.
kernelcoder 5 months ago prev next
Excellent work! I love creative Raspi projects. Have you tried any projects focused on machine learning?
hauser 5 months ago next
I have run TensorFlow Lite models on the Rasperry Pi, mainly for image classification tasks. It performs well, especially in comparison to other edge devices.
armdev 5 months ago prev next
Do you have any benchmarks that could showcase the performance improvements you get from the cluster? I'm curious to know more about its capability.
piuser 5 months ago next
Unfortunately, I have not done thorough benchmarking for the cluster. However, running parallel calculations on the cluster results in faster processing times than individual units.
busybox 5 months ago prev next
@piuser would you consider sharing the cost of the project and the list of components used within the cluster?
piuser 5 months ago next
@busybox - I spent around $1100 for the cluster, including Raspberry Pi units, cases, power supplies, cooling, and networking equipment. I'm preparing a more detailed parts list for the project post.
fossfan 5 months ago prev next
What file system(s) are you leveraging on your Raspi setup? I'm having up-time and stability issues with my Raspbian setup across multiple nodes.
piengineer 5 months ago next
I use the EXT4 file system on my Raspi nodes. I choose that for its decent performance and mature feature set. You might also consider using ZFS for added data protection and scalability.