Hacker News new | past | comments | ask | show | jobs | submit login
How Distributed Systems Respond to Degraded Hardware (danluu.com)
70 points by r4um on Oct 2, 2015 | hide | past | favorite | 5 comments



How do we set up tests to simulate this? He mentions Emulab testbed but essentially says it is unavailable.

Disclosure: I work for http://gunDB.io/ and we want to start doing tests like this. Willing to pay people who know how to set these things up. Please contact.


Intercepting system calls seems like the easiest way (I expect most of these failures are in I/O). Use LD_PRELOAD to easily hook the libc wrappers, for (almost) anything C-based.

Deeper simulation is possible, but this should get you the low-hanging fruit.


Use ptrace to wrap the system calls for things that aren't C-based (though this is a little more involved than LD_PRELOAD).


https://github.com/mefellows/muxy looks interesting, albeit for certain test types. I'll be trying it out in the near future.


There are several commercial users in the project list: https://www.emulab.net/projectlist.php3




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: