Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Faking Real Time: Optimistic Updates & Eventual Consistency (Decompress 2015)

Faking Real Time: Optimistic Updates & Eventual Consistency (Decompress 2015)

A talk I gave at Decompress 2015 about making CSSConf Racer, a real time, multiplayer racing game: http://cssconfracer.com

CSSConf Racer was built with Flux, Firebase, React & react-router.

Ben Smithett

March 28, 2015
Tweet

More Decks by Ben Smithett

Other Decks in Programming

Transcript

  1. How to fake real time Hide network effects from the

    user Optimistically update the UI Embrace eventual consistency
  2. Thanks! @bensmithett https://github.com/bensmithett/cssconfracer Screen by iconoci http://thenounproject.com/term/screen/82256/ Database by Stefan

    Parnarov http://thenounproject.com/term/database/29365/ Phone by Joris Hoogendoorn http://thenounproject.com/term/phone/42970/ Cloud by Jan-Christoph Borchardt http://thenounproject.com/term/cloud/932/ CQRS by Martin Fowler http://martinfowler.com/bliki/CQRS.html http://cssconfracer.com