How FoundationDB works and why it works