3 ms·
Agreed about access to low-level hardware etc. For learning clustering, I'm personally unsure: Yes, those setups give you a cluster of machines, but wouldn't a
by detaro 6y ago
Agreed about access to low-level hardware etc.
For learning clustering, I'm personally unsure: Yes, those setups give you a cluster of machines, but wouldn't a cluster of VMs on a physical host give you more flexibility in trying different machine sizes, network performance, ...? Or is that too complicated and gets in the way? I do not know.
- geerlingguy 6y agoIt's a tradeoff. Having separate hardware more fully emulates a cluster you'd see in the real world where you have to deal with cross-machine network boundaries and potential networking limitations. Sometimes those can be masked when you run multiple VMs on one host, especially if you rely on whatever VM management tool's automatic networking configuration sets up. The other thing a single machine can't easily emulate is having a multitude of CPU cores available across different machines, or the ability to have swapping on one application instance not take down the entire machine (well... that could be mitigated somewhat but still).
- detaro 6y agoSimulating a wide range of network conditions feels easier between VMs (they go from almost perfect, way better than especially the older Pis can offer, to as degraded as you want), but contention for other system resources is a good point.