# Experience with Rules-Based Programming for Distributed Concurrent Fault-Tolerant Code

<http://blog.acolyer.org/2016/01/19/dcft/>

- Host: [blog.acolyer.org](https://links.thingelstad.xyz/hosts/blog.acolyer.org/)
- Saved: January 20, 2016 (2016-01-20T11:11:01Z)
- Record: https://links.thingelstad.xyz/links/a9b2ef2681d9/
- JSON: https://links.thingelstad.xyz/links/a9b2ef2681d9.json

## From the page (probably an excerpt, not Jamie's words)

To demonstrate applicability outside of the RAMCloud system, the team also re-wrote the Hadoop Map-Reduce job scheduler (which uses a traditional event-based state machine approach) using rules. The original code has three state machines containing 34 states with 163 different transitions, about 2,250 lines of code in total. The rules-based re-implementation required 19 rules in 3 tasks with a total of 117 lines of code and comments.

## Facts

- Kind: [Page](https://links.thingelstad.xyz/kinds/page/)

## Same host

- [Moving Fast with Software Verification | the morning paper](https://links.thingelstad.xyz/links/6538f05da097/) (blog.acolyer.org, November 29, 2015)
- [The design and implementation of modern column-oriented database systems | the morning paper](https://links.thingelstad.xyz/links/9d5fcd9c9c5f/) (blog.acolyer.org, September 28, 2018)
- [File systems unfit as distributed storage backends: lessons from ten years of Ceph evolution – the morning paper](https://links.thingelstad.xyz/links/5069b0efeec1/) (blog.acolyer.org, November 7, 2019)
- [Meaningful availability – the morning paper](https://links.thingelstad.xyz/links/55ebe15b3f5a/) (blog.acolyer.org, February 27, 2020)

## Saved the same week

- [Want to Be an Outstanding Leader? Keep a Journal.](https://links.thingelstad.xyz/links/4667b0f85772/) (hbr.org, January 19, 2016)
- [Salesforce Announces New Marketing Cloud Services, Empowering Retailers to Create Smarter 1-to-1 Customer Journeys - MarketWatch](https://links.thingelstad.xyz/links/8263f99f6ad3/) (marketwatch.com, January 19, 2016)
- [How we’re putting the Microsoft Cloud to work for the public good](https://links.thingelstad.xyz/links/86cc87da1aa4/) (blogs.microsoft.com, January 20, 2016)
- [Add "ing" to the end of a movie title, what is the movie about now? : AskReddit](https://links.thingelstad.xyz/links/a55ada97a68e/) (reddit.com, January 20, 2016)
- [The New YNAB Business Model | YNAB](https://links.thingelstad.xyz/links/436587226330/) (youneedabudget.com, January 21, 2016)

## Elsewhere

- Wayback Machine: https://web.archive.org/web/*/http://blog.acolyer.org/2016/01/19/dcft/
