120 Node Rasperry Pi Cluster for Website Testing

[alexandros] works for resin.io, a website which plans to allow users to update firmware on embedded devices with a simple git push command. The first target devices will be Raspberry Pis running node.js applications. How does one perform alpha testing while standing up such a service? Apparently by building a monster tower of 120 Raspberry Pi computers with Adafruit 2.8″ PiTFT displays. We’ve seen some big Raspberry Pi clusters before, but this one may take the cake.

raspicluster2

The tower is made up of 5 hinged sections of plywood. Each section contains 24 Pis, two Ethernet switches and two USB hubs. The 5 sections can be run on separate networks, or as a single 120 node monster cluster. When the sections are closed in, they form a pentagon-shaped tower that reminds us of the classic Cray-1 supercomputer.

Rasberry Pi machines are low power, at least when compared to a desktop PC. A standard Raspi consumes less than 2 watts, though we’re sure the Adafruit screen adds to the consumption. Even with the screens, a single 750 watt ATX supply powers the entire system.

[alexandros] and the resin.io team still have a lot of testing to do, but they’re looking for ideas on what to do with their cluster once they’re done pushing firmware to it. Interested? Check out their Reddit thread!

35 thoughts on “120 Node Rasperry Pi Cluster for Website Testing

    1. Would virtual servers even be faster? Their purpose is to test pushing updates anyway, not overall raw horsepower. Reminds me a bit of those people who used to play something like 30 role playing game characters at once.

    2. The Pi’s are for testing the service they provide, which is deploying node apps to embedded systems like the Pi; the Pi’s you see here are not the server infrastructure, and virtualization wouldn’t really do.

    3. They probably got pretty good volume pricing- the PiTft went up on sale on massdrop for about 20$- possibly a bit less, I can’t see the price at the moment. As for the RaspPi, I couldn’t find any evidence of non-distributor bulk pricing- and Alibaba/Aliexpress sell for about 2-3$ less, so read into that what you will.

      I suppose the price of the rasppi is actually pretty close to hardware costs, they do label themselves a charity.

      1. Oh, and besides, a 120 rasspi cluster has a huge amount of geek cred. You could do some pretty neat stuff with that many screens. Also, he may be able to rent it out, there’s a lot of people who might have a use for something like this. Oh, a price that wasn’t factored in was the switches, I’m too lazy to look but they look to be pretty decent.

        …Hackaday really needs an edit function…

  1. this is pretty stupid if you consider any application beyond ‘contemporary art’

    its not even practical as a test jig – why would you need 120 small lcds instead of piping video buffers to one central location?
    120 separate small screens = no automated testing, you need at least one human monkey looking at the screens

  2. Out powered by my 24 core AMD workstation. And it uses less power and was cheaper too. Pretty stupid, since everyone else is reducing the machine count by virtualisation.

  3. Just stopping by to view the comments on “Virtualization is cheaper” & you get more power from x & y. It looks like a nice project to me. Sometimes its not about power or need. Its about building what you want? I am sure most guys here have no idea what that means. Or how about the old cliche about “its not the destination, its the jurney”…..

    1. If there isn’t a corollary to Ockham’s Razor, there needs to be. There are always many, many ways of solving a problem (which is what you meant to type instead of “building what you want”). The one that does so with maximal efficiency and efficacy is the one that wins.

      1. Sorry. Maximal efficiency and efficacy is very productive but I spend way to much time maximizing my productive. Sometimes I want to be inefficient and unproductive to see if I can accomplish something in a certain way or just for the joy of it. So sometimes I take the inefficient way home (otherwise known as the long way home). I drive with the top down whenever possible and drive with quick take-offs and down-shifting prior to stops despite what the increased drag and rpms do to my gas mileage. I built my own quad-copter with an APM board which ended up costing me more than a similar pre-built kit would have cost me before you even consider all the time I put into it since I had no clue what I was doing (but I learned). I even rebuilt an old-school ski machine video game which ended up costing a couple hundred bucks and about 80 hours – most of which was just searching for parts – when I could have just gutted it, put a flatscreen on and connected it to a tiny computer to make an arcade cabinet that played hundreds of old-school games. But the analog nature of this thing was so amazing that I just wanted to see it in action.

        For anyone curious…The game has a rotating lampshade looking thing inside laying horizontally with a lightbulb inside and ski flags cut out and a copper pad on each side of the flags. There’s a springy copper do-dad attached to the foot-pads you would swing side to side and it also connected to your ski man. So as you were skiing, the flags would roll down the screen and you would swing side to side to get your man between the poles. If you missed, this device I have no name for that’s a cross between a solenoid and a coil gun would be triggered by the electrical contact and fire its projectile. The thing was located at the top and was mounted about an inch from the top with a 2 inch projectile and would fire into a metal plate mounted there and make a very loud “pop” sound like someone hitting the cabinet with a hammer. Since the “projectile” was 2 inches long and fit entirely inside the shaft, once it fired it would simply fall back into the shaft and the capacitor would energize again until it was triggered again. The electrical contact also advanced a mechanical counter one click and after 10-clicks the game stopped until you put more money in. It was amazing!

  4. How about using this for parallel computing like Berkeley Open Infrastructure for Network Computing (BOINC) to do cancer research or solar energy research. You could also use it for a 3D render farm. BOINC and 3D rendering both need lots of CPU power.

  5. wow you guys totally missed the end goal .

    it is about pushing updates to the client , 100+ units at once .

    so lets see if the patch/firmware/update works . This is QA testing .

    we have a room with over 500 terminals linked like this for doing the same thing when ever we do a new OTA resale .

    butt production is over 200k units in the wild :)

  6. It’s not exactly easy to virtualize the rPi. Sure it can be done, but I like not angering the hypervisor in my lab.

    For firmware testing, this is actually a pretty solid approach. Dunno about 120 screens when they could use another solution to get display data. VMs solve a lot of problems, but occasionally stuff really should be tested on baremetal matching what it will see in production.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s