News for hackers. Stuff that matters.
Re:Turmoil, a framework for developing and testing distribut... by DylanSp on Thursday August 17, 2023 @02:31PM (#37166021)
Always good to see more examples of this sort of project; making it straightforward to test how systems behave with unreliable networks [1] should make building resilient systems easier.

I came across Microsoft's Coyote project [2] a while back, which seems similar to this, though for C#. Has anyone here tried that out? If so, what have your experiences with it been like?

[1] Also known as any network ever.

[2] https://github.com/microsoft/coyote

Re:Turmoil, a framework for developing and testing distribut... by reubenbond on Thursday August 17, 2023 @10:46PM (#37170900)
I used it to test an idea I had to implement the Fast Paxos optimization on top of CASPaxos and it was quite useful for that: https://github.com/ReubenBond/fast-caspaxos (the code is bad, it's just an experiment)
Re:Turmoil, a framework for developing and testing distribut... by inaseer on Thursday August 17, 2023 @11:27PM (#37171126)
My team used Coyote to test their distributed service against network race conditions. It requires a little bit of setup to ensure all components that typically run on separate machines can run in a single process, and inter-process communication happens through interfaces that can be stubbed out during testing.

I designed a series of workshops to teach these ideas internally at Microsoft. You can find the source code used in the workshop at https://github.com/microsoft/coyote-workshop - the repo can use better README files but sharing it nonetheless in case the setup helps inspire your own use of Coyote.