DEV Community

Discussion on: New Raspberry Pi 4 Released! What will you build with it?

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

Clustering probably. I'm particularly interested to see how much this improves SD-card performance, I've never really liked the possibility of using USB for storage with these, but with if the SD-card performance is good enough now, I could throw some 256GB cards in a couple of Pi's and put together a usable 4 node GlusterFS cluster for under 500 USD.

Collapse
 
downey profile image
Tim Downey

Are you concerned at all about the longevity of the SD cards? With swap and stuff disabled I trust them enough for the OS itself (since I can just snapshot it periodically and move to a new card), but I'd be worried about storing data I cared about on the cards.

For my Raspi Kubernetes cluster I just use it as a toy and don't event think about running stateful workloads on it.

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

Not hugely so, provided it's a good quality card. About 80% of the issues I've had over the years with SD cards being used for Raspberry Pi's have been caused by the Pi itself, but I haven't seen such issues for quite some time. As far as cards actually wearing out, I do regular data verification on pretty much any persistent storage I use, so I catch stuff like that early enough for it to not be an issue about 99% of the time (and Gluster actually makes it pretty easy to rebuild a lost node if you configure it right). On top of that, I'd be using it for a mostly read focused workload, so wearout would probably take longer than it would for most people.

Of course, with USB 3.0 capabilities, that's an alternative option, though I actually trust SD cards a bit more than USB flash drives, and I wouldn't even begin to consider using an external enclosure (too easy to accidentally bump the Pi or the enclosure and cause a USB bus reset, which is not something Linux will usually gracefully recover from if you're actively using the storage space).

Of course, with 4G of RAM and GbE, I might consider getting one or two to use a native ARM virtualization hosts. I do a lot of cross-distro software verification, and a Pi running QEMU at 1.5GHz can probably beat my main virtualization system emulating an equivalent ARM CPU in terms of raw performance.