SlideShare une entreprise Scribd logo
1  sur  31
NICK HALSTEAD
   FOUNDER
MY STRATEGY


(feel free to ignore it)
     at your peril




    Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   2
Open Source
★IT IS FREE SO USE IT!




    Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   3
Open Source
  ★IT IS FREE SO USE IT!
★THEN THROW IT AWAY
AGAIN




      Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   3
Open Source
  ★IT IS FREE SO USE IT!
★THEN THROW IT AWAY
AGAIN


    WHY?
      Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   3
Open Source


★YOU END UP RE-WRITING IT :(




     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   4
Open Source


★YOU END UP RE-WRITING IT :(

★BUT DEVELOPMENT WILL
  HAVE BEEN FASTER
  (hopefully)



     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   4
Frameworks
★Start with a Framework




     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   5
Frameworks
★Don’t believe it will scale




     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   6
Frameworks
★Language is




   Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   7
Frameworks
★They all resolve down to 0+1’s




       Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   8
Frameworks
★Feel Free to Take An Axe To it




       Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   9
Frameworks
      ★Feel Free to Take An Axe To it



Choose framework that lets you do this!




             Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   9
Frameworks


    Speed
                       VS

Scalability

 Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   10
SPEED (zooom)




 Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   11
SPEED (zooom)



    1x SERVER

SUPPORTING 100,000
   UNIQUE USERS

    Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   11
SPEED (zooom)

WHAT HAPPENS WHEN WE
 GET 1,000,000 USERS?




     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   12
SPEED (zooom)

WHAT HAPPENS WHEN WE
 GET 1,000,000 USERS?




     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   12
SPEED (zooom)

 WHAT HAPPENS WHEN WE
  GET 1,000,000 USERS?

OR 10,000,000?                                               (woohoo!)




      Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   12
SPEED (zooom)

  WHAT HAPPENS WHEN WE
   GET 1,000,000 USERS?

 OR 10,000,000?                                                (woohoo!)



BUY 100 SERVERS?
  (STEWART WOULD BE SO HAPPY :P)

        Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   12
SPEED (zooom)
Fast still matters!!!
 2x faster: 50 servers
    instead of 100




    Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   13
SPEED (zooom)
Fast still matters!!!
 2x faster: 50 servers
    instead of 100


 10x faster: 10 servers
    instead of 100

     Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   13
SPEED (zooom)
    Fast still matters!!!
     2x faster: 50 servers
★    100x faster:
        instead of 100 =                                                            1
         SERVER!!!
     10x faster: 10 servers
        instead of 100

         Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008       13
SPEED (zooom)
               HOW?
★FAST CODE (duh!)
★CACHING
★DB OPTIMISATION
★OFFLINE PROCESSING
★PUSH TO THE CLOUD
★THEN REPLICATE
(last!)

      Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   14
FAST CODE

★NO EASY ROUTE
★‘JUST’ - NEED QUALITY CODERS
★+ GIVE THEM TIME TO DO IT RIGHT




         Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   15
CACHING


★ONE WORD ‘MEMCACHE’
★CACHE EVERYTHING (including
 sink)
★GO VISIT HTTP://
 www.danga.com/


        Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   16
DATABASE




Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   17
OFFLINE
     All Tasks that Do NOT need to
              happen NOW

★RUN ON ANY SERVER
★AT ANY SPEED (within reason)
★SCHEDULED
★DOESNT IMPACT USER EXPERIENCE
★(we run 1000’s of jobs per hour in
 the background)


          Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   18
CLOUD

★DONT BELIEVE ALL THE HYPE
★PERFECT WHEN APPLIED TO RIGHT
 PROBLEMS
★NOT ALL CLOUDS ARE BUILT EQUAL
★HAVE AN ALTERNATIVE!!!


        Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   19
REPLICATE
★NEED TO CODE SO THAT YOU
 CAN!
★LOTS OF TOOLS TO HELP THIS
★LAST TO DO (BUT) YOU MUST




       Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008   20
QUESTIONS?

Contenu connexe

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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, ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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?
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 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
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Scaling Web 2.0

  • 1. NICK HALSTEAD FOUNDER
  • 2. MY STRATEGY (feel free to ignore it) at your peril Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 2
  • 3. Open Source ★IT IS FREE SO USE IT! Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 3
  • 4. Open Source ★IT IS FREE SO USE IT! ★THEN THROW IT AWAY AGAIN Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 3
  • 5. Open Source ★IT IS FREE SO USE IT! ★THEN THROW IT AWAY AGAIN WHY? Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 3
  • 6. Open Source ★YOU END UP RE-WRITING IT :( Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 4
  • 7. Open Source ★YOU END UP RE-WRITING IT :( ★BUT DEVELOPMENT WILL HAVE BEEN FASTER (hopefully) Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 4
  • 8. Frameworks ★Start with a Framework Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 5
  • 9. Frameworks ★Don’t believe it will scale Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 6
  • 10. Frameworks ★Language is Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 7
  • 11. Frameworks ★They all resolve down to 0+1’s Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 8
  • 12. Frameworks ★Feel Free to Take An Axe To it Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 9
  • 13. Frameworks ★Feel Free to Take An Axe To it Choose framework that lets you do this! Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 9
  • 14. Frameworks Speed VS Scalability Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 10
  • 15. SPEED (zooom) Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 11
  • 16. SPEED (zooom) 1x SERVER SUPPORTING 100,000 UNIQUE USERS Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 11
  • 17. SPEED (zooom) WHAT HAPPENS WHEN WE GET 1,000,000 USERS? Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 12
  • 18. SPEED (zooom) WHAT HAPPENS WHEN WE GET 1,000,000 USERS? Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 12
  • 19. SPEED (zooom) WHAT HAPPENS WHEN WE GET 1,000,000 USERS? OR 10,000,000? (woohoo!) Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 12
  • 20. SPEED (zooom) WHAT HAPPENS WHEN WE GET 1,000,000 USERS? OR 10,000,000? (woohoo!) BUY 100 SERVERS? (STEWART WOULD BE SO HAPPY :P) Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 12
  • 21. SPEED (zooom) Fast still matters!!! 2x faster: 50 servers instead of 100 Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 13
  • 22. SPEED (zooom) Fast still matters!!! 2x faster: 50 servers instead of 100 10x faster: 10 servers instead of 100 Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 13
  • 23. SPEED (zooom) Fast still matters!!! 2x faster: 50 servers ★ 100x faster: instead of 100 = 1 SERVER!!! 10x faster: 10 servers instead of 100 Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 13
  • 24. SPEED (zooom) HOW? ★FAST CODE (duh!) ★CACHING ★DB OPTIMISATION ★OFFLINE PROCESSING ★PUSH TO THE CLOUD ★THEN REPLICATE (last!) Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 14
  • 25. FAST CODE ★NO EASY ROUTE ★‘JUST’ - NEED QUALITY CODERS ★+ GIVE THEM TIME TO DO IT RIGHT Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 15
  • 26. CACHING ★ONE WORD ‘MEMCACHE’ ★CACHE EVERYTHING (including sink) ★GO VISIT HTTP:// www.danga.com/ Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 16
  • 27. DATABASE Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 17
  • 28. OFFLINE All Tasks that Do NOT need to happen NOW ★RUN ON ANY SERVER ★AT ANY SPEED (within reason) ★SCHEDULED ★DOESNT IMPACT USER EXPERIENCE ★(we run 1000’s of jobs per hour in the background) Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 18
  • 29. CLOUD ★DONT BELIEVE ALL THE HYPE ★PERFECT WHEN APPLIED TO RIGHT PROBLEMS ★NOT ALL CLOUDS ARE BUILT EQUAL ★HAVE AN ALTERNATIVE!!! Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 19
  • 30. REPLICATE ★NEED TO CODE SO THAT YOU CAN! ★LOTS OF TOOLS TO HELP THIS ★LAST TO DO (BUT) YOU MUST Proprietary and Confidential Information Copyright © Fav.or.it Ltd. 2008 20

Notes de l'éditeur