On modern CPUs, rust seems to perform very nicely with the thread context switches, at least when benchmarking an echo server. For that I also wrote an echo server benchmark client. The README.md of the server also contains some benchmark numbers.
This is a repost of a blog post of 2008. Just for the reference 🙂 This class allows sub-classes to commit changes to an instance to a history, and rollback to previous states. The final class with an extension for __setstate__ and __getstate__ can be found here: transaction.py and transaction_test.py. […]