SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Scalable applications with HTTP
Patrice Neff, co-founder Memonic

patrice@memonic.com
twitter.com/pneff

20100407




                                   memonic
Memonic
 • Founded in 2009
 • Your personal digital notebook
 • Easy web research
 • Try it out for free: www.memonic.com




 ©   memonic
About me
 • Web developer
 • Co-Founder Memonic
 • Previously frontend developer at local.ch
 • Details & Blog: patrice.ch




 ©   memonic
I’ll talk about...
  • Service-oriented architectures
  • Motivation
  • HTTP, the protocol
  • Real-world example




  ©   memonic
Glossary

         Performance         Scalability




               ©Prosper973       ©Kelinz1




 ©   memonic
Service-oriented architectures


                                         Internet


                 Internet



                                         Frontend




 DB             Web Server

                             Service 1   Service 2   Service 3




 ©    memonic
Key points
 • Dependencies local to service
      • Database
      • Queue
      • Synchronization
 • Try the simplest service that works
                                                     Internet
 • Services are the new classes?


                                                     Frontend




                                         Service 1   Service 2   Service 3


 ©   memonic
Motivation
 • Modularity
      • Team separation
      • Clear boundaries
      • Easier migrations / replacements
 • Re-use of services
 • Best tool for the job
      • Programming language
      • Dependencies (Database, Queue, ...)
 • Scalability




 ©   memonic
Disadvantages
 • Complex full-picture view
 • Performance
 • Data joins




                               ©Eddi 07
 ©   memonic
HTTP
 • RFC 2616 defines HTTP 1.1
 • Text protocol is debuggable
 • Solved problems:
      •   Caching
      •   Compression
      •   Error handling
      •   Authentication
      •   Content negotiation
      •   Documentation




 ©   memonic
HTTP Example
GET /intl/en/about.html HTTP/1.1
Host: www.google.ch

     HTTP/1.1 200 OK
     Date: Wed, 24 Mar 2010 20:51:06 GMT
     Expires: -1
     Cache-Control: private, max-age=0
     Content-Type: text/html; charset=ISO-8859-1
     Server: gws
     X-XSS-Protection: 0

     <!doctype html>...
 ©   memonic
Caching
 • Cache-Control response header:
      • Allow or prohibit caching
      • Specify cache validity
 • ETag response header:
      • Client can validate it’s cache content
      • Avoids re-transmission of content




 ©   memonic
Caching Example
GET /1/83.76.244.123 HTTP/1.1
Host: geoip
Accept: application/json


     HTTP/1.1 200 OK
     Cache-Control: max-age=31536000
     Expires: Fri, 25 Mar 2011 17:28:44 GMT
     Content-Type: application/json; charset=UTF-8
     Content-MD5: a59a841c05fdddef931399ef2275f6d3

     {"country_code": "CH"}

 ©   memonic
Memonic Architecture

                                 Internet




                geoip                                   staticpage




                                 Frontend

               browser                                       index




                user     label              storage      pipeline




                                  mime          screenshot           html_cleanup
 ©   memonic
Links




http://www.memonic.com/user/pneff/set/presentation-http-scalability

                     or: http://mem.to/t/1Fsc




   ©   memonic
Thank you!
Patrice Neff, co-founder Memonic

patrice@memonic.com
twitter.com/pneff

20100407




                                   memonic

Contenu connexe

En vedette

Memonic Architecture
Memonic ArchitectureMemonic Architecture
Memonic ArchitecturePatrice Neff
 
Blending Formal & Informal Learning Using New Technologies in the Workplace
Blending Formal & Informal Learning Using New Technologies in the WorkplaceBlending Formal & Informal Learning Using New Technologies in the Workplace
Blending Formal & Informal Learning Using New Technologies in the WorkplaceButhaina AlOthman
 
Startup in den Wolken
Startup in den WolkenStartup in den Wolken
Startup in den WolkenPatrice Neff
 
Getting the Most out of the Social Web to Create New Cultures of Learning & ...
Getting the Most out of the Social Web to Create New Cultures of Learning & ...Getting the Most out of the Social Web to Create New Cultures of Learning & ...
Getting the Most out of the Social Web to Create New Cultures of Learning & ...Buthaina AlOthman
 
Present Perfect Versus Past Tense
Present Perfect Versus Past TensePresent Perfect Versus Past Tense
Present Perfect Versus Past TenseButhaina AlOthman
 

En vedette (7)

Memonic Architecture
Memonic ArchitectureMemonic Architecture
Memonic Architecture
 
Blending Formal & Informal Learning Using New Technologies in the Workplace
Blending Formal & Informal Learning Using New Technologies in the WorkplaceBlending Formal & Informal Learning Using New Technologies in the Workplace
Blending Formal & Informal Learning Using New Technologies in the Workplace
 
Startup in den Wolken
Startup in den WolkenStartup in den Wolken
Startup in den Wolken
 
Getting the Most out of the Social Web to Create New Cultures of Learning & ...
Getting the Most out of the Social Web to Create New Cultures of Learning & ...Getting the Most out of the Social Web to Create New Cultures of Learning & ...
Getting the Most out of the Social Web to Create New Cultures of Learning & ...
 
Passive voice
Passive voicePassive voice
Passive voice
 
Present Perfect Progressive
Present Perfect ProgressivePresent Perfect Progressive
Present Perfect Progressive
 
Present Perfect Versus Past Tense
Present Perfect Versus Past TensePresent Perfect Versus Past Tense
Present Perfect Versus Past Tense
 

Similaire à Scalable applications with HTTP

triAGENS simplevoc vs_memcached
triAGENS simplevoc vs_memcachedtriAGENS simplevoc vs_memcached
triAGENS simplevoc vs_memcachedtriAGENS
 
SimpleVoc vs Memcached
SimpleVoc vs MemcachedSimpleVoc vs Memcached
SimpleVoc vs Memcachedtriagens
 
Type URL, Enter, and Then …
Type URL, Enter, and Then …Type URL, Enter, and Then …
Type URL, Enter, and Then …Jinglun Li
 
Lecture3 introduction towebpages
Lecture3 introduction towebpagesLecture3 introduction towebpages
Lecture3 introduction towebpagesamitpatil777
 
Multi-Lingual Accumulo Communications
Multi-Lingual Accumulo CommunicationsMulti-Lingual Accumulo Communications
Multi-Lingual Accumulo CommunicationsAccumulo Summit
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...NCCOMMS
 
Html5 Application Security
Html5 Application SecurityHtml5 Application Security
Html5 Application Securitychuckbt
 
Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]Strangeloop
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_phpJeanho Chu
 
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...Serdar Basegmez
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basicsJyoti Yadav
 
The Web, After HTML5
The Web, After HTML5The Web, After HTML5
The Web, After HTML5Jonathan Jeon
 
Making Joomla! site fly with nginx : Joomla! day Malaysia 2011
Making Joomla! site fly with nginx : Joomla! day Malaysia 2011Making Joomla! site fly with nginx : Joomla! day Malaysia 2011
Making Joomla! site fly with nginx : Joomla! day Malaysia 2011phptechtalk
 
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...Tony Erwin
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Workssambhenilesh
 
Stop Those Prying Eyes Getting To Your Data SPTechCon
Stop Those Prying Eyes Getting To Your Data SPTechConStop Those Prying Eyes Getting To Your Data SPTechCon
Stop Those Prying Eyes Getting To Your Data SPTechConLiam Cleary [MVP]
 

Similaire à Scalable applications with HTTP (20)

triAGENS simplevoc vs_memcached
triAGENS simplevoc vs_memcachedtriAGENS simplevoc vs_memcached
triAGENS simplevoc vs_memcached
 
SimpleVoc vs Memcached
SimpleVoc vs MemcachedSimpleVoc vs Memcached
SimpleVoc vs Memcached
 
Type URL, Enter, and Then …
Type URL, Enter, and Then …Type URL, Enter, and Then …
Type URL, Enter, and Then …
 
dotNET_Overview.pdf
dotNET_Overview.pdfdotNET_Overview.pdf
dotNET_Overview.pdf
 
Lecture3 introduction towebpages
Lecture3 introduction towebpagesLecture3 introduction towebpages
Lecture3 introduction towebpages
 
Multi-Lingual Accumulo Communications
Multi-Lingual Accumulo CommunicationsMulti-Lingual Accumulo Communications
Multi-Lingual Accumulo Communications
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
 
Html5 Application Security
Html5 Application SecurityHtml5 Application Security
Html5 Application Security
 
Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
 
Top 10 web application development frameworks 2016
Top 10 web application development frameworks 2016Top 10 web application development frameworks 2016
Top 10 web application development frameworks 2016
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basics
 
9 10 july2020
9 10 july20209 10 july2020
9 10 july2020
 
The Web, After HTML5
The Web, After HTML5The Web, After HTML5
The Web, After HTML5
 
Performance tuning of Websites
Performance tuning of WebsitesPerformance tuning of Websites
Performance tuning of Websites
 
Making Joomla! site fly with nginx : Joomla! day Malaysia 2011
Making Joomla! site fly with nginx : Joomla! day Malaysia 2011Making Joomla! site fly with nginx : Joomla! day Malaysia 2011
Making Joomla! site fly with nginx : Joomla! day Malaysia 2011
 
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
 
Stop Those Prying Eyes Getting To Your Data SPTechCon
Stop Those Prying Eyes Getting To Your Data SPTechConStop Those Prying Eyes Getting To Your Data SPTechCon
Stop Those Prying Eyes Getting To Your Data SPTechCon
 

Dernier

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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Dernier (20)

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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
+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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Scalable applications with HTTP

  • 1. Scalable applications with HTTP Patrice Neff, co-founder Memonic patrice@memonic.com twitter.com/pneff 20100407 memonic
  • 2. Memonic • Founded in 2009 • Your personal digital notebook • Easy web research • Try it out for free: www.memonic.com © memonic
  • 3. About me • Web developer • Co-Founder Memonic • Previously frontend developer at local.ch • Details & Blog: patrice.ch © memonic
  • 4. I’ll talk about... • Service-oriented architectures • Motivation • HTTP, the protocol • Real-world example © memonic
  • 5. Glossary Performance Scalability ©Prosper973 ©Kelinz1 © memonic
  • 6. Service-oriented architectures Internet Internet Frontend DB Web Server Service 1 Service 2 Service 3 © memonic
  • 7. Key points • Dependencies local to service • Database • Queue • Synchronization • Try the simplest service that works Internet • Services are the new classes? Frontend Service 1 Service 2 Service 3 © memonic
  • 8. Motivation • Modularity • Team separation • Clear boundaries • Easier migrations / replacements • Re-use of services • Best tool for the job • Programming language • Dependencies (Database, Queue, ...) • Scalability © memonic
  • 9. Disadvantages • Complex full-picture view • Performance • Data joins ©Eddi 07 © memonic
  • 10. HTTP • RFC 2616 defines HTTP 1.1 • Text protocol is debuggable • Solved problems: • Caching • Compression • Error handling • Authentication • Content negotiation • Documentation © memonic
  • 11. HTTP Example GET /intl/en/about.html HTTP/1.1 Host: www.google.ch HTTP/1.1 200 OK Date: Wed, 24 Mar 2010 20:51:06 GMT Expires: -1 Cache-Control: private, max-age=0 Content-Type: text/html; charset=ISO-8859-1 Server: gws X-XSS-Protection: 0 <!doctype html>... © memonic
  • 12. Caching • Cache-Control response header: • Allow or prohibit caching • Specify cache validity • ETag response header: • Client can validate it’s cache content • Avoids re-transmission of content © memonic
  • 13. Caching Example GET /1/83.76.244.123 HTTP/1.1 Host: geoip Accept: application/json HTTP/1.1 200 OK Cache-Control: max-age=31536000 Expires: Fri, 25 Mar 2011 17:28:44 GMT Content-Type: application/json; charset=UTF-8 Content-MD5: a59a841c05fdddef931399ef2275f6d3 {"country_code": "CH"} © memonic
  • 14. Memonic Architecture Internet geoip staticpage Frontend browser index user label storage pipeline mime screenshot html_cleanup © memonic
  • 16. Thank you! Patrice Neff, co-founder Memonic patrice@memonic.com twitter.com/pneff 20100407 memonic