際際滷

際際滷Share a Scribd company logo
#velocity2011




         Bits of Velocity



             Pieter Ennes
             WatchMouse
#velocity2011


   Take aways
         Sponsoring
         Mobile?
         DevOps
         Histograms
         Asynchronous
   SPDY
Some take-aways




Pieter Ennes - WatchMouse                     3
WatchMouse

   In a tweet:


                                62
                            




Pieter Ennes - WatchMouse            4
World wide




Pieter Ennes - WatchMouse   5
Public Status Pages




Pieter Ennes - WatchMouse   6
Sponsoring

   This year:
          T-shirt sponsor
          Brand awareness
          Blog + IAM
   Next time:
          Booth
              Show-case more advanced features
          Get a talk!



Pieter Ennes - WatchMouse                         7
Themes

Themes
          Mobile
          DevOps
          Front-end




Pieter Ennes - WatchMouse   8
Mobile theme?

   KeyNote has invented a hideous mobile monitoring
    system (really)
              http://velocityconf.com/velocity2011/public/schedule/detail/20894
   More interesting:
          Sencha
              http://velocityconf.com/velocity2011/public/schedule/detail/19967
          Torbit
              http://velocityconf.com/velocity2011/public/schedule/detail/18135
   Even better:
          Dedicated conference: Mobilism?

Pieter Ennes - WatchMouse                                                      9
Best keynotes




Pieter Ennes - WatchMouse                   10
Best keynotes

   Adrian Cockcroft: Netflix in the cloud
          Could not build their data center fast enough
          Amazing transition to Amazon AWS
          Lots of lessons in:
              http://velocityconf.com/velocity2011/public/schedule/detail/17785
          Cloud automatically makes Dev and Ops interleave
   John Rauser: Look at your data
          Essential statistics for everyone
              http://velocityconf.com/velocity2011/public/schedule/detail/20280



Pieter Ennes - WatchMouse                                                          11
Look at your data

   Histograms vs averages: Why important?
   Performance always follows same model
          Gamma distribution(s!)
   Fit to model using your eye




Pieter Ennes - WatchMouse                    12
Dev/Web/*Ops




Pieter Ennes - WatchMouse                  13
DevOps

   Asynchronous stuff rocks, now even harder
          Pick your framework
              Node.js, Twisted, Cyclone, Tornado, Gevent, 
          Your queues
              SQS, RabbitMQ, Redis, XMPP, ...
          And serialisation
              JSON, BSON, Thrift, ProtoBufs, XML, Avro, 
   Design 'services'
   The above is what the cloud is about


Pieter Ennes - WatchMouse                                      14
SPDY




Pieter Ennes - WatchMouse          15
SPDY




Pieter Ennes - WatchMouse   16
SPDY

   An experimental protocol for a faster web
   Or: A layer 'between' SSL and HTTP that facilitates:
          Multi-plexing
          Prioritisation
          Compression
          Security




Pieter Ennes - WatchMouse                                  17
SPDY: Strong points

   HTTP methods remain
          No change in application logic
   Multiplexing
   Mandatory SSL
          But does not perform slower!
   Mandatory Gzip
          Header compression
          Upstream compression


                            http://www.theregister.co.uk/2011/06/16/google_and_spdy/
Pieter Ennes - WatchMouse                                                              18
SPDY: Weaknesses

   Mandatory SSL
          Every site needs a (valid) certificate
          Risk of devaluation, what's next? EV, E-EV?
           Browsers need to communicate this properly
          More work for server (SSL + GZip)
          Caching problems
              Loosen restrictions here?
   No early chunked flushes?
          Content-Length headers mandatory
   Multiplexing is hard: Slow client adaptation?
                            http://arstechnica.com/web/news/2009/11/spdy-google-
Pieter Ennes - WatchMouse   wants-to-speed-up-the-web-by-ditching-http.ars         19
SPDY




                            http://velocityconf.com/velocity2011/public/schedule/detail/21089
Pieter Ennes - WatchMouse                                                                       20
SPDY




                            http://velocityconf.com/velocity2011/public/schedule/detail/21089
Pieter Ennes - WatchMouse                                                                       21
SPDY




Pieter Ennes - WatchMouse   22
SPDY




Pieter Ennes - WatchMouse   23
SPDY: Status

   Google is effectively using it
          Chrome has enabled SPDY on 99% of the
           connections; 1% baseline on HTTP
   IANA port nr is for non-SSL SPDY (!?)
   Some benefits, some problems...




                            http://www.theregister.co.uk/2011/06/16/google_and_spdy/
Pieter Ennes - WatchMouse                                                              24
Questions, drinks, ...




Pieter Ennes - WatchMouse                            25

More Related Content

Velocity 2011 Feedback - architecture, statistics and SPDY

  • 1. #velocity2011 Bits of Velocity Pieter Ennes WatchMouse
  • 2. #velocity2011 Take aways Sponsoring Mobile? DevOps Histograms Asynchronous SPDY
  • 4. WatchMouse In a tweet: 62 Pieter Ennes - WatchMouse 4
  • 5. World wide Pieter Ennes - WatchMouse 5
  • 6. Public Status Pages Pieter Ennes - WatchMouse 6
  • 7. Sponsoring This year: T-shirt sponsor Brand awareness Blog + IAM Next time: Booth Show-case more advanced features Get a talk! Pieter Ennes - WatchMouse 7
  • 8. Themes Themes Mobile DevOps Front-end Pieter Ennes - WatchMouse 8
  • 9. Mobile theme? KeyNote has invented a hideous mobile monitoring system (really) http://velocityconf.com/velocity2011/public/schedule/detail/20894 More interesting: Sencha http://velocityconf.com/velocity2011/public/schedule/detail/19967 Torbit http://velocityconf.com/velocity2011/public/schedule/detail/18135 Even better: Dedicated conference: Mobilism? Pieter Ennes - WatchMouse 9
  • 10. Best keynotes Pieter Ennes - WatchMouse 10
  • 11. Best keynotes Adrian Cockcroft: Netflix in the cloud Could not build their data center fast enough Amazing transition to Amazon AWS Lots of lessons in: http://velocityconf.com/velocity2011/public/schedule/detail/17785 Cloud automatically makes Dev and Ops interleave John Rauser: Look at your data Essential statistics for everyone http://velocityconf.com/velocity2011/public/schedule/detail/20280 Pieter Ennes - WatchMouse 11
  • 12. Look at your data Histograms vs averages: Why important? Performance always follows same model Gamma distribution(s!) Fit to model using your eye Pieter Ennes - WatchMouse 12
  • 14. DevOps Asynchronous stuff rocks, now even harder Pick your framework Node.js, Twisted, Cyclone, Tornado, Gevent, Your queues SQS, RabbitMQ, Redis, XMPP, ... And serialisation JSON, BSON, Thrift, ProtoBufs, XML, Avro, Design 'services' The above is what the cloud is about Pieter Ennes - WatchMouse 14
  • 15. SPDY Pieter Ennes - WatchMouse 15
  • 16. SPDY Pieter Ennes - WatchMouse 16
  • 17. SPDY An experimental protocol for a faster web Or: A layer 'between' SSL and HTTP that facilitates: Multi-plexing Prioritisation Compression Security Pieter Ennes - WatchMouse 17
  • 18. SPDY: Strong points HTTP methods remain No change in application logic Multiplexing Mandatory SSL But does not perform slower! Mandatory Gzip Header compression Upstream compression http://www.theregister.co.uk/2011/06/16/google_and_spdy/ Pieter Ennes - WatchMouse 18
  • 19. SPDY: Weaknesses Mandatory SSL Every site needs a (valid) certificate Risk of devaluation, what's next? EV, E-EV? Browsers need to communicate this properly More work for server (SSL + GZip) Caching problems Loosen restrictions here? No early chunked flushes? Content-Length headers mandatory Multiplexing is hard: Slow client adaptation? http://arstechnica.com/web/news/2009/11/spdy-google- Pieter Ennes - WatchMouse wants-to-speed-up-the-web-by-ditching-http.ars 19
  • 20. SPDY http://velocityconf.com/velocity2011/public/schedule/detail/21089 Pieter Ennes - WatchMouse 20
  • 21. SPDY http://velocityconf.com/velocity2011/public/schedule/detail/21089 Pieter Ennes - WatchMouse 21
  • 22. SPDY Pieter Ennes - WatchMouse 22
  • 23. SPDY Pieter Ennes - WatchMouse 23
  • 24. SPDY: Status Google is effectively using it Chrome has enabled SPDY on 99% of the connections; 1% baseline on HTTP IANA port nr is for non-SSL SPDY (!?) Some benefits, some problems... http://www.theregister.co.uk/2011/06/16/google_and_spdy/ Pieter Ennes - WatchMouse 24
  • 25. Questions, drinks, ... Pieter Ennes - WatchMouse 25