Just a millisecond_

Thierry Schellenbach
Thierry SchellenbachCo-Founder & CEO at getstream.io
Just a millisecond,[object Object],Achieving performance without ramping up the hardware,[object Object]
 ,[object Object],Rick van Hattem,[object Object],Thierry Schellenbach,[object Object]
Twitter/Digg for fashion addicts,[object Object]
Too much love,[object Object]
1st simple step:Cache stuff,[object Object],Default approach:,[object Object],@cache_page,[object Object],def homepage(request):  ,[object Object],    pass,[object Object],Static content approach:,[object Object],Nginx serves directly from Memcached,[object Object],- No apache, django or python overhead,[object Object]
Nginx and memcached,[object Object],+ Really fast,[object Object], The social web,[object Object], Pages are different for ,[object Object],    each user,[object Object], Can't cache ,[object Object],    much of anything,[object Object],Tutorial and benchmark at:,[object Object],http://bit.ly/BKMb,[object Object]
Just a millisecond_
Solution,[object Object],Combination of:,[object Object],- SSI (server side includes),[object Object],- Javascript,[object Object],- NGINX scripting,[object Object],Inspired by,[object Object],David Cramer (http://bit.ly/WdEbR),[object Object],IBM devworks (http://bit.ly/6vtKlv),[object Object]
Solution overview,[object Object],- Memcached holds an anonymous page.,[object Object],- Template knows how to make it personal if needed,[object Object],async.push({,[object Object],	"user.authenticated": {}, ,[object Object],	"entity.loved_by": {,[object Object],      "entity_ids": [,[object Object],		17991, ,[object Object],		19164, ,[object Object],		18536, ,[object Object],		17720, ,[object Object],		12044 ,[object Object],		],[object Object],	}, ,[object Object],	"entity.notifications": {},[object Object],});,[object Object]
Handling the loves (SSI & Javascript),[object Object],Request more data when logged in,[object Object],<!--# if expr="$cookie_uid" -->,[object Object],    varasyncData = <!--# include virtual="%s?%s" -->;,[object Object],<!--# endif -->,[object Object]
Login header,[object Object],           ,[object Object],Simple NGINX scripting:,[object Object],     <!--# if expr="$cookie_username" -->,[object Object],            <div id="box_loggedin">,[object Object],                ...,[object Object],            </div>,[object Object],    <!--# else -->,[object Object],            <div id="box_login">,[object Object],               ...,[object Object],            </div>,[object Object],    <!--# endif -->,[object Object]
Result,[object Object],Nginx supported,[object Object],[object Object]
Akamai
1 of 13

Recommended

Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016 by
Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016
Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016Bart Read
741 views54 slides
Html5 for beginners by
Html5 for beginnersHtml5 for beginners
Html5 for beginnersn|u - The Open Security Community
811 views20 slides
Compress by
CompressCompress
Compresscziltang
228 views9 slides
Web Assembly (W3C TPAC presentation) by
Web Assembly (W3C TPAC presentation)Web Assembly (W3C TPAC presentation)
Web Assembly (W3C TPAC presentation)Kenneth Rohde Christiansen
178 views46 slides
Drupal Day 2011 - Features: una vita felice by
Drupal Day 2011 - Features: una vita feliceDrupal Day 2011 - Features: una vita felice
Drupal Day 2011 - Features: una vita feliceDrupalDay
387 views12 slides
Web Development, Константин Пелиховский (PM, 111PIX UA) by
Web Development, Константин Пелиховский (PM, 111PIX UA)Web Development, Константин Пелиховский (PM, 111PIX UA)
Web Development, Константин Пелиховский (PM, 111PIX UA)111PIX UA
140 views11 slides

More Related Content

What's hot

Web assembly - Future of the Web by
Web assembly - Future of the WebWeb assembly - Future of the Web
Web assembly - Future of the WebCodeValue
1.1K views31 slides
Html5 by
Html5Html5
Html5Satish Govindappa
104 views29 slides
How i acheived a pretty good google page speed insights score by
How i acheived a pretty good google page speed insights scoreHow i acheived a pretty good google page speed insights score
How i acheived a pretty good google page speed insights scoreMatt Bailey
555 views44 slides
Introduction to WordPress Multisite by
Introduction to WordPress MultisiteIntroduction to WordPress Multisite
Introduction to WordPress MultisiteCraig Taylor
3.3K views48 slides
Web101 by
Web101Web101
Web101Hamdi Hmidi
194 views69 slides
Introduction to headless browsers by
Introduction to headless browsersIntroduction to headless browsers
Introduction to headless browsersMultidots Solutions Pvt Ltd
199 views13 slides

What's hot(20)

Web assembly - Future of the Web by CodeValue
Web assembly - Future of the WebWeb assembly - Future of the Web
Web assembly - Future of the Web
CodeValue1.1K views
How i acheived a pretty good google page speed insights score by Matt Bailey
How i acheived a pretty good google page speed insights scoreHow i acheived a pretty good google page speed insights score
How i acheived a pretty good google page speed insights score
Matt Bailey555 views
Introduction to WordPress Multisite by Craig Taylor
Introduction to WordPress MultisiteIntroduction to WordPress Multisite
Introduction to WordPress Multisite
Craig Taylor3.3K views
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYC by Jesus Manuel Olivas
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYCEmbracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
React for the absolute beginner - Enactor by Dehan De Croos
React for the absolute beginner - EnactorReact for the absolute beginner - Enactor
React for the absolute beginner - Enactor
Dehan De Croos89 views
Thin Server Architecture by Mitch Pirtle
Thin Server ArchitectureThin Server Architecture
Thin Server Architecture
Mitch Pirtle6.5K views
Php training in kolkata by Sakina Khatun
Php training in kolkataPhp training in kolkata
Php training in kolkata
Sakina Khatun2.3K views
Work smart with Gutenberg - Fellyph Cintra by Fellyph Cintra
Work smart with Gutenberg - Fellyph CintraWork smart with Gutenberg - Fellyph Cintra
Work smart with Gutenberg - Fellyph Cintra
Fellyph Cintra3.3K views
HTML5 in IE9 by Buu Nguyen
HTML5 in IE9HTML5 in IE9
HTML5 in IE9
Buu Nguyen2.7K views

Viewers also liked

Night of the Nerds: Bouw je eigen smartphone applicatie by
Night of the Nerds: Bouw je eigen smartphone applicatieNight of the Nerds: Bouw je eigen smartphone applicatie
Night of the Nerds: Bouw je eigen smartphone applicatieTom Verhoeff
413 views26 slides
WP7 voor .NET developers: Van idee naar inkomen by
WP7 voor .NET developers: Van idee naar inkomenWP7 voor .NET developers: Van idee naar inkomen
WP7 voor .NET developers: Van idee naar inkomenTom Verhoeff
347 views42 slides
opdracht architectuur 2+3 ckv by
opdracht architectuur 2+3 ckvopdracht architectuur 2+3 ckv
opdracht architectuur 2+3 ckvnoortje
411 views21 slides
Fashiolista Notifications by
Fashiolista NotificationsFashiolista Notifications
Fashiolista NotificationsThierry Schellenbach
679 views12 slides
AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista by
AWS Summit Amsterdam - Thierry Schellenbach Founder/ FashiolistaAWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista
AWS Summit Amsterdam - Thierry Schellenbach Founder/ FashiolistaThierry Schellenbach
834 views15 slides
Competencias chave educação de adultos by
Competencias chave  educação de adultosCompetencias chave  educação de adultos
Competencias chave educação de adultosesamais
2.3K views157 slides

Viewers also liked(6)

Night of the Nerds: Bouw je eigen smartphone applicatie by Tom Verhoeff
Night of the Nerds: Bouw je eigen smartphone applicatieNight of the Nerds: Bouw je eigen smartphone applicatie
Night of the Nerds: Bouw je eigen smartphone applicatie
Tom Verhoeff413 views
WP7 voor .NET developers: Van idee naar inkomen by Tom Verhoeff
WP7 voor .NET developers: Van idee naar inkomenWP7 voor .NET developers: Van idee naar inkomen
WP7 voor .NET developers: Van idee naar inkomen
Tom Verhoeff347 views
opdracht architectuur 2+3 ckv by noortje
opdracht architectuur 2+3 ckvopdracht architectuur 2+3 ckv
opdracht architectuur 2+3 ckv
noortje411 views
AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista by Thierry Schellenbach
AWS Summit Amsterdam - Thierry Schellenbach Founder/ FashiolistaAWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista
AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista
Competencias chave educação de adultos by esamais
Competencias chave  educação de adultosCompetencias chave  educação de adultos
Competencias chave educação de adultos
esamais2.3K views

Similar to Just a millisecond_

When dynamic becomes static by
When dynamic becomes staticWhen dynamic becomes static
When dynamic becomes staticWim Godden
638 views75 slides
When dynamic becomes static : the next step in web caching techniques by
When dynamic becomes static : the next step in web caching techniquesWhen dynamic becomes static : the next step in web caching techniques
When dynamic becomes static : the next step in web caching techniquesWim Godden
2.6K views76 slides
When dynamic becomes static - the next step in web caching techniques by
When dynamic becomes static - the next step in web caching techniquesWhen dynamic becomes static - the next step in web caching techniques
When dynamic becomes static - the next step in web caching techniquesWim Godden
1.1K views71 slides
WordPress performance tuning by
WordPress performance tuningWordPress performance tuning
WordPress performance tuningVladimír Smitka
4.9K views57 slides
When dynamic becomes static : the next step in web caching techniques by
When dynamic becomes static : the next step in web caching techniquesWhen dynamic becomes static : the next step in web caching techniques
When dynamic becomes static : the next step in web caching techniquesWim Godden
824 views78 slides
HPPG - high performance photo gallery by
HPPG - high performance photo galleryHPPG - high performance photo gallery
HPPG - high performance photo galleryRemigijus Kiminas
2.1K views32 slides

Similar to Just a millisecond_(20)

When dynamic becomes static by Wim Godden
When dynamic becomes staticWhen dynamic becomes static
When dynamic becomes static
Wim Godden638 views
When dynamic becomes static : the next step in web caching techniques by Wim Godden
When dynamic becomes static : the next step in web caching techniquesWhen dynamic becomes static : the next step in web caching techniques
When dynamic becomes static : the next step in web caching techniques
Wim Godden2.6K views
When dynamic becomes static - the next step in web caching techniques by Wim Godden
When dynamic becomes static - the next step in web caching techniquesWhen dynamic becomes static - the next step in web caching techniques
When dynamic becomes static - the next step in web caching techniques
Wim Godden1.1K views
When dynamic becomes static : the next step in web caching techniques by Wim Godden
When dynamic becomes static : the next step in web caching techniquesWhen dynamic becomes static : the next step in web caching techniques
When dynamic becomes static : the next step in web caching techniques
Wim Godden824 views
HPPG - high performance photo gallery by Remigijus Kiminas
HPPG - high performance photo galleryHPPG - high performance photo gallery
HPPG - high performance photo gallery
Remigijus Kiminas2.1K views
Modern Static Site with GatsbyJS by Riza Fahmi
Modern Static Site with GatsbyJSModern Static Site with GatsbyJS
Modern Static Site with GatsbyJS
Riza Fahmi1K views
Improve WordPress performance with caching and deferred execution of code by Danilo Ercoli
Improve WordPress performance with caching and deferred execution of codeImprove WordPress performance with caching and deferred execution of code
Improve WordPress performance with caching and deferred execution of code
Danilo Ercoli2.9K views
The 5 most common reasons for a slow WordPress site and how to fix them – ext... by Otto Kekäläinen
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
Otto Kekäläinen1.8K views
XPages Blast - Lotusphere 2012 by Tim Clark
XPages Blast - Lotusphere 2012XPages Blast - Lotusphere 2012
XPages Blast - Lotusphere 2012
Tim Clark11.2K views
Business of Front-end Web Development by Rachel Andrew
Business of Front-end Web DevelopmentBusiness of Front-end Web Development
Business of Front-end Web Development
Rachel Andrew1.4K views
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18 by Frédéric Harper
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
WordPress security for everyone by Vladimír Smitka
WordPress security for everyoneWordPress security for everyone
WordPress security for everyone
Vladimír Smitka37.3K views
Website & Internet + Performance testing by Roman Ananev
Website & Internet + Performance testingWebsite & Internet + Performance testing
Website & Internet + Performance testing
Roman Ananev44 views
Fix me if you can - DrupalCon prague by hernanibf
Fix me if you can - DrupalCon pragueFix me if you can - DrupalCon prague
Fix me if you can - DrupalCon prague
hernanibf2.8K views

Recently uploaded

Transcript: The Details of Description Techniques tips and tangents on altern... by
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...BookNet Canada
135 views15 slides
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveNetwork Automation Forum
30 views35 slides
Ransomware is Knocking your Door_Final.pdf by
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdfSecurity Bootcamp
53 views46 slides
STPI OctaNE CoE Brochure.pdf by
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdfmadhurjyapb
13 views1 slide
Future of Indian ConsumerTech by
Future of Indian ConsumerTechFuture of Indian ConsumerTech
Future of Indian ConsumerTechKapil Khandelwal (KK)
21 views68 slides
Data Integrity for Banking and Financial Services by
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial ServicesPrecisely
12 views26 slides

Recently uploaded(20)

Transcript: The Details of Description Techniques tips and tangents on altern... by BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada135 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb13 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely12 views
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Serverless computing with Google Cloud (2023-24) by wesley chun
Serverless computing with Google Cloud (2023-24)Serverless computing with Google Cloud (2023-24)
Serverless computing with Google Cloud (2023-24)
wesley chun10 views
Special_edition_innovator_2023.pdf by WillDavies22
Special_edition_innovator_2023.pdfSpecial_edition_innovator_2023.pdf
Special_edition_innovator_2023.pdf
WillDavies2217 views
handbook for web 3 adoption.pdf by Liveplex
handbook for web 3 adoption.pdfhandbook for web 3 adoption.pdf
handbook for web 3 adoption.pdf
Liveplex22 views
The details of description: Techniques, tips, and tangents on alternative tex... by BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada126 views
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva

Just a millisecond_

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 14.