SlideShare une entreprise Scribd logo
1  sur  17
Ryan Hubbard Build a Smart App
Who Am I? I Am You! Just fast forward 4 yrs, add luck & late nights Combination of Biz & Tech Worked on high velocity web apps 2 Startups eVariant - MyHealthConnect.com Yellow Hammer Media  Geo Marketing Technology
An Archaic Question              “Build it Fast or Build it to Last?” 		        Build it Smart!
Build It Smart Ingredients Low Cost Scalable Horizontal Vertical HA (High Availability) Maintainable GeoSmart or GSLB (Global Server Load Balancing) Multiple Layers working Together DNS, File Serving, CDN, etc Don’t Implement just Plan for it  (Procrastination can be a good thing)
Shiny Balls Don’t be Distracted by Shiny Balls Don’t use it just because it’s cool Focus on what you know Leverage Experts If all else fails, build it fast
Web Servers IIS, Apache Rule w/ 80% But they are overhead pigs c10K Problem Event Driven / Newer Web Servers Node.js Nginx  (lighttpd) Twisted (Tornedo)
Web Servers - Node.js Created by Ryan Dahl in 2009 (Sponsored by Joyent) Non Blocking, Event Driven (Not just a web server) Single Threaded (use Cluster, Monitoring is a pain) JavaScript based Use Cases Push/Streaming Notification Stacks – Socket IO (SocketStream) Super Fast Simple Apps Ex: Pixel Tracking (Click Redirect, Conversion, UI in Rails/PHP) c10K Problem is not a problem Don’t Use It For Complex Apps Regular Web Server
Web Servers - Other Nginx c10k is not a problem, Single Threaded like Node Easy to Use 7.65% of the Web Great for  Content Serving (CDNs), Load Balancing Alt to Apache to reduce memory and overhead  Twisted / Tornado Event Driven based off of Ruby’s Event Machine Great for High  C10k, Performance Needs Long Polling HTTP Streaming
Databases SQL MySQL, Postgres, SQL Server, etc Big Data Vertica, Greenplum, Netezza, Teradata  NoSQL MongoDb, Cassandra, Redis, Riak, etc MoSQL Cassandra NewSQL VoltDB
Databases - MongoDB NoSQL version of MySQL Fast, Scalable, HA, MapReduce Tons of Community Support Use Cases Capped Collections – Great for Event logging Async Transactions – Great for Analytics Don’t Use it For Large data sets – 100-200GB+ Vertica, Greenplum, Netezza, Teradata
Databases – Vertica Developed by Michael Stonebraker Big Data – Tera or Petra Use Cases Lots of dataneed HA on cheap machines Correlation queries (Zynga) Swallow vast data sets quickly (5 TB in 1 hour) History Its Bad At OLTP
Databases – Cassandra Developed by Facebook, No Apache Project NoSQL & MoSQL CQL Use Cases Counters Advanced Replication (GeoSmart) Super Fast Memory to Disk Its Bad At OLTP Relational Data
Databases – VoltDB Created by Michael Stronebraker NewSQL? – Fast Relational Data Relational in Memory lightning fast HA, Shared Nothing, Self Healing 1.6 million transactions /sec on commodity servers Use Cases Real Time Analytics OLTP Schemas that don’t change Don’t Use It for Schemas that change often Complicated replicated Large data sets
Databases – VoltDB Created by Michael Stronebraker NewSQL? – Fast Relational Data Relational in Memory lightning fast HA, Shared Nothing, Self Healing 1.6 million transactions /sec on commodity servers Use Cases Real Time Analytics OLTP Schemas that don’t change Don’t Use It for Schemas that change often Complicated replicated Large data sets
Cloud Serving / DNS AWS, Rackspace, Linode, Firehost I like AWS EC2 (Auto Scaling)  ElisticMap Reduce S3, CloudFront Databases – RDS, SimpleDB ElastiCache ElasticBeanstalk  & CloudFormation Route 53 (not UltraDNS) Dyn $30 - $200 / month GSLB Round Robin / Fail Over
GeoMarketing App w/ Real Time Reports 1 Ad can produce 130 Million Inserts / day Running on EC2  Poor I/O & Network Tried MySQL (NDB), Cassandra, Redis, Riak Solution VoltDB stores 2 hours of data Dump stats to MySQL Dump rows out to Vertica (BigData) Reporting – Aggregate query of Volt & MySQL
Thank You ! Questions?

Contenu connexe

Dernier

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
panagenda
 
+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

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
 
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...
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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, ...
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
+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...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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...
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 

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)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Build a Smart App

  • 1. Ryan Hubbard Build a Smart App
  • 2. Who Am I? I Am You! Just fast forward 4 yrs, add luck & late nights Combination of Biz & Tech Worked on high velocity web apps 2 Startups eVariant - MyHealthConnect.com Yellow Hammer Media Geo Marketing Technology
  • 3. An Archaic Question “Build it Fast or Build it to Last?” Build it Smart!
  • 4. Build It Smart Ingredients Low Cost Scalable Horizontal Vertical HA (High Availability) Maintainable GeoSmart or GSLB (Global Server Load Balancing) Multiple Layers working Together DNS, File Serving, CDN, etc Don’t Implement just Plan for it (Procrastination can be a good thing)
  • 5. Shiny Balls Don’t be Distracted by Shiny Balls Don’t use it just because it’s cool Focus on what you know Leverage Experts If all else fails, build it fast
  • 6. Web Servers IIS, Apache Rule w/ 80% But they are overhead pigs c10K Problem Event Driven / Newer Web Servers Node.js Nginx (lighttpd) Twisted (Tornedo)
  • 7. Web Servers - Node.js Created by Ryan Dahl in 2009 (Sponsored by Joyent) Non Blocking, Event Driven (Not just a web server) Single Threaded (use Cluster, Monitoring is a pain) JavaScript based Use Cases Push/Streaming Notification Stacks – Socket IO (SocketStream) Super Fast Simple Apps Ex: Pixel Tracking (Click Redirect, Conversion, UI in Rails/PHP) c10K Problem is not a problem Don’t Use It For Complex Apps Regular Web Server
  • 8. Web Servers - Other Nginx c10k is not a problem, Single Threaded like Node Easy to Use 7.65% of the Web Great for Content Serving (CDNs), Load Balancing Alt to Apache to reduce memory and overhead Twisted / Tornado Event Driven based off of Ruby’s Event Machine Great for High C10k, Performance Needs Long Polling HTTP Streaming
  • 9. Databases SQL MySQL, Postgres, SQL Server, etc Big Data Vertica, Greenplum, Netezza, Teradata NoSQL MongoDb, Cassandra, Redis, Riak, etc MoSQL Cassandra NewSQL VoltDB
  • 10. Databases - MongoDB NoSQL version of MySQL Fast, Scalable, HA, MapReduce Tons of Community Support Use Cases Capped Collections – Great for Event logging Async Transactions – Great for Analytics Don’t Use it For Large data sets – 100-200GB+ Vertica, Greenplum, Netezza, Teradata
  • 11. Databases – Vertica Developed by Michael Stonebraker Big Data – Tera or Petra Use Cases Lots of dataneed HA on cheap machines Correlation queries (Zynga) Swallow vast data sets quickly (5 TB in 1 hour) History Its Bad At OLTP
  • 12. Databases – Cassandra Developed by Facebook, No Apache Project NoSQL & MoSQL CQL Use Cases Counters Advanced Replication (GeoSmart) Super Fast Memory to Disk Its Bad At OLTP Relational Data
  • 13. Databases – VoltDB Created by Michael Stronebraker NewSQL? – Fast Relational Data Relational in Memory lightning fast HA, Shared Nothing, Self Healing 1.6 million transactions /sec on commodity servers Use Cases Real Time Analytics OLTP Schemas that don’t change Don’t Use It for Schemas that change often Complicated replicated Large data sets
  • 14. Databases – VoltDB Created by Michael Stronebraker NewSQL? – Fast Relational Data Relational in Memory lightning fast HA, Shared Nothing, Self Healing 1.6 million transactions /sec on commodity servers Use Cases Real Time Analytics OLTP Schemas that don’t change Don’t Use It for Schemas that change often Complicated replicated Large data sets
  • 15. Cloud Serving / DNS AWS, Rackspace, Linode, Firehost I like AWS EC2 (Auto Scaling) ElisticMap Reduce S3, CloudFront Databases – RDS, SimpleDB ElastiCache ElasticBeanstalk & CloudFormation Route 53 (not UltraDNS) Dyn $30 - $200 / month GSLB Round Robin / Fail Over
  • 16. GeoMarketing App w/ Real Time Reports 1 Ad can produce 130 Million Inserts / day Running on EC2 Poor I/O & Network Tried MySQL (NDB), Cassandra, Redis, Riak Solution VoltDB stores 2 hours of data Dump stats to MySQL Dump rows out to Vertica (BigData) Reporting – Aggregate query of Volt & MySQL
  • 17. Thank You ! Questions?