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

Software Applications Should Work Like Restaurants

Software Applications Should Work Like Restaurants

Lightning talk at Redgate, Cambridge, UK

Tugberk Ugurlu

February 16, 2015
Tweet

More Decks by Tugberk Ugurlu

Other Decks in Programming

Transcript

  1. Onion Rings Case • Expected volume • Serving fast •

    Least amount of staff resources Caveats • Not the same heat and freshness level
  2. Onion Rings Case • Expected volume • Serving fast •

    Least amount of staff compute resources Caveats • Everybody doesn’t get the rings data at the same heat freshness level
  3. Steak Case • Why not apply the same model? •

    Serving time is less important • Tuning the 'doneness' level of the steak Caveats • Getting served in longer time
  4. Steak Case • Why not apply the same model? •

    Data serving time is less important • Seeing the previous orders correctly is important Caveats • Potentially, getting served in longer time
  5. Conclusion • Nothing New • Every Application Data is Not

    the Same • Serve the Data Based On Business Rules
  6. Resources • DDD: http://en.wikipedia.org/wiki/Domain-driven_design • Eventual Consistency: http://en.wikipedia.org/wiki/Eventual_consistency • CQRS:

    http://martinfowler.com/bliki/CQRS.html • Blog Post on the Topic: http://goo.gl/eilCVV • Async with ASP.NET MVC (Another Example on the Topic): http://goo.gl/xIImZB