SlideShare une entreprise Scribd logo
1  sur  55
Click & Tune
What’s new in our architectures ?


       Olivier Gutknecht
       olg@no-distance.net / twitter.com/olg
Me



     Apple alumnus




     Fotopedia co-founder & alumnus




     Author, french ebook - introduction to REST
     http://izibook.eyrolles.com/
Me



     Apple alumnus




     Fotopedia co-founder & alumnus




     Author, french ebook - introduction to REST
     http://izibook.eyrolles.com/
Click & Tune


     ?
START
Getting in tune
Getting in tune

We have a lot of sliders, faders and
buttons to tweak.


And we often ignore most of them.


Especially at architecture level.
What changed ?
What changed ?


Concepts | Context | Implementations
Concepts | Context | Implementations


“The Google File System” / Google 2003


“MapReduce: Simplified Data Processing on Large 
Clusters” / Google 2004


“Life beyond Distributed Transactions: an
Apostate’s Opinion” / Pat Helland, Amazon 2007


[ZFS, Dynamo, PNUTS, CAP, REST,...] papers
Concepts | Context | Implementations




Client and apps evolution:
html5, native apps, COMET, web of [docs,apps], ...


Modeling problems:
tags, social graphs, walls, feeds, ...


“Like the big boys” - brought legitimacy
Concepts | Context | Implementations



      Nutch - 2003
       Memcached - 2003
         Rails - 2004
           CouchDB - 2005
            S3 & EC2 - 2006
              Redis, RabbitMQ,
              MongoDB, Node.JS...
Sliders ?

# of backend servers
          cache size
fsync / checkpointing
   invalidation delay
interesting, but...
Sliders

   Consistency level
    Sync/Async mix
R/W actions balance
Model heterogeneity
Trade-offs
It’s the app, really.



And use cases.
And business cases.
Latency

“Disk is the new tape”
Cache ? invalidation & cold starts
...
Read

Reads are a memory & locality problem.


Caches. Partitions. Dupes. Smart shards.
Write

Write now. Work later. (maybe not on reads)


Divide and Conquer. And cheat.


Our frameworks are not ready yet.
Trade-offs
Acceptable Latency
Mandatory consistency (and transactions)
Synchronous actions
Maintainability
(Cost)
NoSQL is not about No SQL.


It’s about revisiting assumptions.


CAP ? ACID ? Choose your poisons.
(and enjoy your sliders, yay for Cassandra)
Consistency
   Poison #1
Partition
Tolerance
  Poison #2
Availability
Ditto for async.
The state of art is not
    good enough.
(we’ve been stuck in the
 same local minima for
     several years)

        Ilya Grigorik
Yay for node.js - and Grand Central - and
EM - and Goliath - and JRuby - and ...
Ditto for batches.
Hadoop. Pig. Hive. Sqoop. Flume. HBase.
So ?
Full Stack
HTTP everywhere ?
     & AMQP ?

      & Thrift ? ProtoBufs ? Avro ?
AUT
OMA
Because our stacks are
    state of the art
  (or bleeding edge)

           Beyond Packages
              Global config
                  Change

   Do you really want to ssh to your servers ?
“But we have very
 specific needs”
You’re 10% unique




   Jesse Robbins, Opscode CEO
You’re 10% unique
 (and it’s probably the
things you did wrong)

   Jesse Robbins, Opscode CEO
The Cloud
What’s great about it ?


        Scalability ?
    On-demand capacity ?
      Reduced CapEx ?
“Everything fails all the time”
         Werner Vogels (Amazon CTO)
The Cloud
The best way to discover
    new problems.



        (and it’s great)
The Cloud
      Think stateless. Think
automation. Think latency. Think
   crappy machines. Think lost
 servers. Thinks lost disks. Think
 offline datacenters. Think ACL.
 Think security. Think autoconf.
“MyPAAS”
Think




Holistic
Speed.

  Availability.

Maintainability.
Know the
limits of your
    tools
Episode IV: a New Hope
  C h e f , P u p p e t , D r i z z l e , C a s s a n d ra ,
  MongoDB, Redis, HTTP, Rails, Node.js,
  EventMachine, Twisted, Heroku, SimpleDB,
  EC2, GAE, REST, Rack, CouchDB, Redis,
  Bitcask, Voldemort, Varnish, Pig, Hadoop,
  HBase, Thrift, Protobufs, Avro, ESI, Mahout,
  SolR, AMQP, Grand Central Dispatch,
  WebSockets, LINQ, Reconnoiter, Nginx, ...
Thanks.

Creative Contents Images by
Big Red Button by thirtyfootscrew - http://www.flickr.com/photos/thirtyfootscrew/3324101122/
The Steam Pipeline by stuck in customs - http://www.flickr.com/photos/stuckincustoms/3780481716
Digidesign Icon Faders by CJ Sorg - http://www.flickr.com/photos/cjsorg/3692124539/
Pro Control 24 by aud1073ch - qhttp://www.flickr.com/photos/aud1073ch/34438156/
Pipe Dream by Rishi Menon - http://www.flickr.com/photos/rxmflickr/4102530508/

Contenu connexe

En vedette

En vedette (6)

Introduction à MacRuby
Introduction à MacRubyIntroduction à MacRuby
Introduction à MacRuby
 
Chef - Paris BlockCamp - Nov 09
Chef - Paris BlockCamp - Nov 09Chef - Paris BlockCamp - Nov 09
Chef - Paris BlockCamp - Nov 09
 
Paris RailsCamp 2009
Paris RailsCamp 2009Paris RailsCamp 2009
Paris RailsCamp 2009
 
中國的文化遺產
中國的文化遺產中國的文化遺產
中國的文化遺產
 
Lib qual+ à l'ubs
Lib qual+ à l'ubsLib qual+ à l'ubs
Lib qual+ à l'ubs
 
MacRuby, an introduction
MacRuby, an introductionMacRuby, an introduction
MacRuby, an introduction
 

Similaire à WebWorkersCamp 2010

UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015Christopher Curtin
 
SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!Andraz Tori
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCScalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCCal Henderson
 
Java PaaS Comparisons - Khanderao Kand
Java PaaS Comparisons - Khanderao KandJava PaaS Comparisons - Khanderao Kand
Java PaaS Comparisons - Khanderao Kandjaxconf
 
Sparklife - Life In The Trenches With Spark
Sparklife - Life In The Trenches With SparkSparklife - Life In The Trenches With Spark
Sparklife - Life In The Trenches With SparkIan Pointer
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Pierre Joye
 
Building a Database for the End of the World
Building a Database for the End of the WorldBuilding a Database for the End of the World
Building a Database for the End of the Worldjhugg
 
Cloud Computing Bootcamp On The Google App Engine [v1.1]
Cloud Computing Bootcamp On The Google App Engine [v1.1]Cloud Computing Bootcamp On The Google App Engine [v1.1]
Cloud Computing Bootcamp On The Google App Engine [v1.1]Matthew McCullough
 
Virtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingVirtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingAhmed Mekkawy
 
Front Range PHP NoSQL Databases
Front Range PHP NoSQL DatabasesFront Range PHP NoSQL Databases
Front Range PHP NoSQL DatabasesJon Meredith
 
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructuredevopsdaysaustin
 
OpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid InfrastructureOpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid Infrastructurerhirschfeld
 
Keynote: The Future of Apache HBase
Keynote: The Future of Apache HBaseKeynote: The Future of Apache HBase
Keynote: The Future of Apache HBaseHBaseCon
 
In-Ceph-tion: Deploying a Ceph cluster on DreamCompute
In-Ceph-tion: Deploying a Ceph cluster on DreamComputeIn-Ceph-tion: Deploying a Ceph cluster on DreamCompute
In-Ceph-tion: Deploying a Ceph cluster on DreamComputePatrick McGarry
 
Building Asynchronous Applications
Building Asynchronous ApplicationsBuilding Asynchronous Applications
Building Asynchronous ApplicationsJohan Edstrom
 
Reflections On Serverless
Reflections On ServerlessReflections On Serverless
Reflections On ServerlessDiego Pacheco
 
Datacenter Computing with Apache Mesos - BigData DC
Datacenter Computing with Apache Mesos - BigData DCDatacenter Computing with Apache Mesos - BigData DC
Datacenter Computing with Apache Mesos - BigData DCPaco Nathan
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Archroyans
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Archguest18a0f1
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Archmclee
 

Similaire à WebWorkersCamp 2010 (20)

UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015
 
SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYCScalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
 
Java PaaS Comparisons - Khanderao Kand
Java PaaS Comparisons - Khanderao KandJava PaaS Comparisons - Khanderao Kand
Java PaaS Comparisons - Khanderao Kand
 
Sparklife - Life In The Trenches With Spark
Sparklife - Life In The Trenches With SparkSparklife - Life In The Trenches With Spark
Sparklife - Life In The Trenches With Spark
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
 
Building a Database for the End of the World
Building a Database for the End of the WorldBuilding a Database for the End of the World
Building a Database for the End of the World
 
Cloud Computing Bootcamp On The Google App Engine [v1.1]
Cloud Computing Bootcamp On The Google App Engine [v1.1]Cloud Computing Bootcamp On The Google App Engine [v1.1]
Cloud Computing Bootcamp On The Google App Engine [v1.1]
 
Virtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingVirtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud Compting
 
Front Range PHP NoSQL Databases
Front Range PHP NoSQL DatabasesFront Range PHP NoSQL Databases
Front Range PHP NoSQL Databases
 
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
 
OpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid InfrastructureOpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid Infrastructure
 
Keynote: The Future of Apache HBase
Keynote: The Future of Apache HBaseKeynote: The Future of Apache HBase
Keynote: The Future of Apache HBase
 
In-Ceph-tion: Deploying a Ceph cluster on DreamCompute
In-Ceph-tion: Deploying a Ceph cluster on DreamComputeIn-Ceph-tion: Deploying a Ceph cluster on DreamCompute
In-Ceph-tion: Deploying a Ceph cluster on DreamCompute
 
Building Asynchronous Applications
Building Asynchronous ApplicationsBuilding Asynchronous Applications
Building Asynchronous Applications
 
Reflections On Serverless
Reflections On ServerlessReflections On Serverless
Reflections On Serverless
 
Datacenter Computing with Apache Mesos - BigData DC
Datacenter Computing with Apache Mesos - BigData DCDatacenter Computing with Apache Mesos - BigData DC
Datacenter Computing with Apache Mesos - BigData DC
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Arch
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Arch
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Arch
 

Dernier

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

WebWorkersCamp 2010

  • 1. Click & Tune What’s new in our architectures ? Olivier Gutknecht olg@no-distance.net / twitter.com/olg
  • 2. Me Apple alumnus Fotopedia co-founder & alumnus Author, french ebook - introduction to REST http://izibook.eyrolles.com/
  • 3. Me Apple alumnus Fotopedia co-founder & alumnus Author, french ebook - introduction to REST http://izibook.eyrolles.com/
  • 5.
  • 7.
  • 9. Getting in tune We have a lot of sliders, faders and buttons to tweak. And we often ignore most of them. Especially at architecture level.
  • 11. What changed ? Concepts | Context | Implementations
  • 12. Concepts | Context | Implementations “The Google File System” / Google 2003 “MapReduce: Simplified Data Processing on Large  Clusters” / Google 2004 “Life beyond Distributed Transactions: an Apostate’s Opinion” / Pat Helland, Amazon 2007 [ZFS, Dynamo, PNUTS, CAP, REST,...] papers
  • 13. Concepts | Context | Implementations Client and apps evolution: html5, native apps, COMET, web of [docs,apps], ... Modeling problems: tags, social graphs, walls, feeds, ... “Like the big boys” - brought legitimacy
  • 14. Concepts | Context | Implementations Nutch - 2003 Memcached - 2003 Rails - 2004 CouchDB - 2005 S3 & EC2 - 2006 Redis, RabbitMQ, MongoDB, Node.JS...
  • 15.
  • 16. Sliders ? # of backend servers cache size fsync / checkpointing invalidation delay
  • 18. Sliders Consistency level Sync/Async mix R/W actions balance Model heterogeneity
  • 20.
  • 21. It’s the app, really. And use cases. And business cases.
  • 22. Latency “Disk is the new tape” Cache ? invalidation & cold starts ...
  • 23. Read Reads are a memory & locality problem. Caches. Partitions. Dupes. Smart shards.
  • 24. Write Write now. Work later. (maybe not on reads) Divide and Conquer. And cheat. Our frameworks are not ready yet.
  • 26. Acceptable Latency Mandatory consistency (and transactions) Synchronous actions Maintainability (Cost)
  • 27. NoSQL is not about No SQL. It’s about revisiting assumptions. CAP ? ACID ? Choose your poisons. (and enjoy your sliders, yay for Cassandra)
  • 28. Consistency Poison #1
  • 32. The state of art is not good enough. (we’ve been stuck in the same local minima for several years) Ilya Grigorik
  • 33. Yay for node.js - and Grand Central - and EM - and Goliath - and JRuby - and ...
  • 35. Hadoop. Pig. Hive. Sqoop. Flume. HBase.
  • 36. So ?
  • 38.
  • 39.
  • 40. HTTP everywhere ? & AMQP ? & Thrift ? ProtoBufs ? Avro ?
  • 42. Because our stacks are state of the art (or bleeding edge) Beyond Packages Global config Change Do you really want to ssh to your servers ?
  • 43. “But we have very specific needs”
  • 44. You’re 10% unique Jesse Robbins, Opscode CEO
  • 45. You’re 10% unique (and it’s probably the things you did wrong) Jesse Robbins, Opscode CEO
  • 46. The Cloud What’s great about it ? Scalability ? On-demand capacity ? Reduced CapEx ?
  • 47. “Everything fails all the time” Werner Vogels (Amazon CTO)
  • 48. The Cloud The best way to discover new problems. (and it’s great)
  • 49. The Cloud Think stateless. Think automation. Think latency. Think crappy machines. Think lost servers. Thinks lost disks. Think offline datacenters. Think ACL. Think security. Think autoconf.
  • 53. Know the limits of your tools
  • 54. Episode IV: a New Hope C h e f , P u p p e t , D r i z z l e , C a s s a n d ra , MongoDB, Redis, HTTP, Rails, Node.js, EventMachine, Twisted, Heroku, SimpleDB, EC2, GAE, REST, Rack, CouchDB, Redis, Bitcask, Voldemort, Varnish, Pig, Hadoop, HBase, Thrift, Protobufs, Avro, ESI, Mahout, SolR, AMQP, Grand Central Dispatch, WebSockets, LINQ, Reconnoiter, Nginx, ...
  • 55. Thanks. Creative Contents Images by Big Red Button by thirtyfootscrew - http://www.flickr.com/photos/thirtyfootscrew/3324101122/ The Steam Pipeline by stuck in customs - http://www.flickr.com/photos/stuckincustoms/3780481716 Digidesign Icon Faders by CJ Sorg - http://www.flickr.com/photos/cjsorg/3692124539/ Pro Control 24 by aud1073ch - qhttp://www.flickr.com/photos/aud1073ch/34438156/ Pipe Dream by Rishi Menon - http://www.flickr.com/photos/rxmflickr/4102530508/

Notes de l'éditeur