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

DevoxxFR 2016 - Paris is resilient: Network-Bas...

erichoresnyi
April 21, 2016

DevoxxFR 2016 - Paris is resilient: Network-Based Architectures: Haussmann, Fielding & Fowler

Devoxx France 2016
Paris a été restructurée dans les années 1860s, en adoptant un style architectural orienté réseau, au sens de Fielding. Pour le bénéfice de ses habitants d'alors et d'aujourd'hui. Avec 3 couches de réseau, des façades normées comme une API Rest, et un protocole (HTTP) en évolution constante, Paris est un système résilient permettant une croissance anarchique, évolutive et hypermedia. D'un enchevêtrement de rues médiévales, Paris est devenu la Ville Lumière en moins de 20 ans, et reste la ville la plus visitée au monde. Haussmann a restructuré la ville et revisité ses protocoles pour la transformer en aggrégat de microservices polyglotes et respectueux des Monuments, ces "legacy systèmes" souvent sacrés. Exemple d'urbanisme qui peut inspirer les architectes SIs souhaitant passer en architecture de micorservices. Ode à la beauté d'une ville civilisée et résiliente, au mode de vie hypermedia fruit de la volonté de ses citoyens.

erichoresnyi

April 21, 2016
Tweet

More Decks by erichoresnyi

Other Decks in Design

Transcript

  1. #DevoxxFR @erichoresnyi #DevoxxFR @erichoresnyi Paris est résilient Network Based Architectures

    Haussmann, Fielding, Fowler Eric Horesnyi @StreamdataIO #softshake
  2. #DevoxxFR @erichoresnyi Slow & Unsecure Security threats: No inspection possible

    obscure streets No patches to remove viruses lack of air circulation Poor latency narrow streets No backbone Rue Saint Medard
  3. #DevoxxFR @erichoresnyi Unstable system Full reboot 1789, 1815, 1830, 1848…

    No backward compatibility No service desk Restricted vote DDOS in small access lines Barricades @StreamdataIO Liberty Leading the People, July 28th, 1830' by Delacroix La Liberté guidant le Peuple, E.Delacroix
  4. #DevoxxFR @erichoresnyi Mission Network performance throughput, small overhead, bandwidth User-perceived

    performance latency Network-efficiency avoid using the streets. Napoleon III and Haussmann, 1853
  5. #DevoxxFR @erichoresnyi DNS .gov, .com and .fr follow same scheme

    Seine is .root Streets start there Right/even Left/Uneven Paris street numbering, 1805
  6. #DevoxxFR @erichoresnyi Famous heritage @StreamdataIO Napoleon, France 1804 Tim Berners-Lee,

    CERN 1990 Comment: // limited to ability to establish basic rules. I do not admire Napoleon for anything else.
  7. #DevoxxFR @erichoresnyi P6: Independant Deployment @StreamdataIO Ile de La Cité,

    embedding legacy/sacred Notre Dame #softshake #DevoxxFR @erichoresnyi
  8. #DevoxxFR @erichoresnyi SUSTAINABLE SYSTEMS? PARIS 160 YEARS LATER HTTP REST

    16 YEARS LATER Paris est résilient @StreamdataIO
  9. #DevoxxFR @erichoresnyi Boulevards=HTTP/2 by @gcouprie Boulevards=protocol to manage streams Very

    slow (walk), Slow (horses), and Fast lanes Citizen UX improved with latency @StreamdataIO
  10. #DevoxxFR @erichoresnyi Error Handling in your code Gare Montparnasse, 1895

    HTTP or REST does not prevent from good error handling, contrib @rit #DevoxxFR @erichoresnyi
  11. #DevoxxFR @erichoresnyi Incomplete Protocol: Velib Leverage reusable assets Share same

    layer as existing traffic But incomplete protocol: collisions, cars-only RFCs @StreamdataIO By @erichoresnyi, after an accident crossing Champs Elysées
  12. #DevoxxFR @erichoresnyi KPIs Haussmann // Fielding Scalable make it possible

    for Paris to grow Simple no need for a city-user manual, Modifiable ability to evolve in the future through change Extensible add new neighborhood Customizable specialize a building without impacting others Configurable easily modify a building post-deployment Reusable building can host a bakery then a cremerie Visible to provide best security and auditability Portable style should work well in other regions Reliable susceptible to failure (no single event could stop water, gas or circulation for citizens) @StreamdataIO
  13. #DevoxxFR @erichoresnyi Lost in Translation Code Civil HTTP Paris Web

    Boulevards Internet Backbone Streets Access Lines Street Numbers URI Light in the streets Authentication Concierge Proxy Cellar Cache Carriage Request/Response Subway/Metro Streaming Homeworking Differential update over JSON Patch Pierre de Carrière JSON Compagnon du Devoir API Developer Haussmann Architect Beaux Arts Apple, Android and JS Developers Façade API Haussmann Façade RESTful API Utilities (gas, water) Cloud/PaaS Annonces Parisiennes Criteo Grands Magasins Amazon Opera Deezer Theaters Netflix Prefecture NSA Bibliotheque Nat. Wiki Senat W3C Assemblee Nationale IETF Louvre Pinterest Bois de Boulogne MineCraft Bois de Vincennes Facebook Bon Marché Ebay Eiffel Tower Twitter Latin Quarter Udacity, Coursera MOOCs Left bank spirit Android Right bank spirit Apple iPhone @StreamdataIO #UX #API
  14. #DevoxxFR @erichoresnyi To dig further Paris Architecture & Urbanism: Musée

    Carnavalet, Cité Chaillot Haussmann: Haussmann à Paris : Architecture et urbanisme Seconde moitié du XIXe siècle, Book, 2012 HTTP: Tim Berners-Lee & Team, Cern, 1990 REST: Network-Based Architecture Style, Thesis, Fielding 2000 Continuous Delivery : Farley & Humbl, 2010 Microservices : Microservices in a Nutshell, Fowler & Lewis, Thoughtworks, 2014 Web Corp Organization: How Google Works, Eric Schmidt, 2014 Design & UX : Jonathan Ive, Apple by The New Yorker, 2015 Microservices Building Microservices, Sam Newman, O’Reilly Book, 2015