Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

65% Performance Gains at Cryptocurrency Platform CoinGecko: An Argo Smart Routing & Tiered Caching Story

706 views

Published on

Join Cloudflare and CoinGecko, a Singapore-based cryptocurrency ranking chart platform that serves over 100 million pages views per month, for an educational webinar. Learn about the steps CoinGecko took to improve the user experience of its cryptocurrency platform, and how Cloudflare’s Argo Smart Routing routed over 1.2 billion website requests per month to improve performance on average by 65%, while using caching to save CoinGecko up to 88% on bandwidth.

Published in: Technology
  • Be the first to comment

65% Performance Gains at Cryptocurrency Platform CoinGecko: An Argo Smart Routing & Tiered Caching Story

  1. 1. 65% Performance Gains at Cryptocurrency Platform CoinGecko An Argo Smart Routing & Tiered Caching Story
  2. 2. TM Lee Co-Founder CoinGecko Brady Gentile Product Marketing Cloudflare Speakers
  3. 3. // Agenda • Housekeeping • Cloudflare Overview • Argo Smart Routing & Tiered Caching Overview • Introduction to CoinGecko • How CoinGecko uses Cloudflare’s Argo Smart Routing • Q&A
  4. 4. Housekeeping ● Ask questions in the “Questions” chat box in ReadyTalk. ● We’ll triage all questions at the end of the presentation. ● We’ll be emailing the slides and recording to those who’ve registered through ReadyTalk. ● All attendees are muted.
  5. 5. // Cloudflare’s Network
  6. 6. 119 Data centers globally Cloudflare’s Global Anycast Network 2x Speeds up each request by 10%Internet requests everyday 5M Requests/second 7M+ websites, apps, & APIs in 150+ countries 2.5B monthly active visitors generating 1.3 trillion page views
  7. 7. // Security and Performance Challenges
  8. 8. SECURITY PERFORMANCE DDoS Attacks Attack traffic degrades availability or performance and creates unpredictable surges in infrastructure costs Data Theft Attempts Attackers compromise customer data, such as user credentials, credit card information, and other PII Malicious Bots Malicious bots abuse customer applications through content scraping, account takeovers, and fraudulent check outs Unavailable Applications Overloaded or unavailable infrastructure stops users from accessing applications Slow Internet Applications and APIs Heavy pages and long distances from the origin slow down webpages, applications, and APIs Slow Mobile Sites and Apps Mobile clients introduce performance and content delivery constraints that hurt user experience Security and Performance Challenges
  9. 9. Cloudflare Services Service Mitigate DDoS Attack Prevent Customer Data Breach Block Malicious Bots Anycast Network IP Reputation Heuristic-Based Mitigation WAF Rate Limiting DNS SSL / TLS CDN/Caching Geo-Steering/Load Balancing Health Checks Content & Image Compression Smart Routing Mobile Optimization AMP Support Neumob (BETA) Accelerate Internet Applications Accelerate Mobile Experiences Ensure Application Availability
  10. 10. Cloudflare Services Service Mitigate DDoS Attack Prevent Customer Data Breach Block Malicious Bots Anycast Network IP Reputation Heuristic-Based Mitigation WAF Rate Limiting DNS SSL / TLS CDN/Caching Geo-Steering/Load Balancing Health Checks Content & Image Compression Smart Routing Mobile Optimization AMP Support Neumob (BETA) Accelerate Internet Applications Accelerate Mobile Experiences Ensure Application Availability
  11. 11. // Argo Smart Routing & Tiered Caching
  12. 12. Origin Argo 12 Congested Network Path Unreliable Connection Slow Loading Times Static routes can't avoid congested network paths or unreliable connections Poor User Experience Slow loading times and connection timeouts increase the likelihood of a poor user experience that can result in reduced revenue or damaged brand reputation Routing Challenges © 2017 Cloudflare Inc. All rights reserved.
  13. 13. Origin Connection Reuse Minimize latency imposed by TCP connection-setup Congestion Avoidance Routing decisions using real-world network conditions Argo 13 Cloudflare Argo Smart Routing Congested Network Path Unreliable Connection Faster Loading Times Cloudflare routes over 10% of all HTTP Internet traffic providing Argo with real world intelligence on the fastest network paths. Internet node / hop Cloudflare Data Centers Cloudflare’s private network 10Tbps throughput, with 110+ PoPs in 50+ countries © 2017 Cloudflare Inc. All rights reserved.
  14. 14. Cloudflare Argo Tiered Caching Origin Tier 1 Tier 2 Cloudflare Data Centers Tier 1 data centers propagate content to a global network of 110+ PoPs Reduced Costs Minimizes static content requests to the origin server reducing latency, server load and bandwidth usage Argo 14*For free for Ent. customers © 2017 Cloudflare Inc. All rights reserved.
  15. 15. Enabling Argo Smart Routing & Tiered Caching Argo 15© 2017 Cloudflare Inc. All rights reserved.
  16. 16. ● Launched in 2014 ● Cryptocurrency analytics website ● Based in Singapore & Malaysia ● 100+ million pageviews per month ● 1.5 billion requests through Cloudflare per month ● 28 TB bandwidth through Cloudflare per month ● Global traffic sources from US, Japan, Germany, UK, Russia, and more.
  17. 17. Interest in Cryptocurrency exploded in 2017
  18. 18. Provide additional metrics on social media, developer activity, and general interest on the web. CoinGecko Discover publicly traded cryptocurrencies Latest market data such as price, market cap, and volume Gain more insights and information about a particular cryptocurrency Provide information for over 1000 publicly traded cryptocurrencies Serve latest aggregated market data across multiple exchanges Visitor
  19. 19. Integrated Security & Performance Improve performance for globally distributed traffic source and DDOS protection Ease-of-use Our small lean engineering team can easily utilize Cloudflare tools to maximize performance with minimal effort Scale Interest in cryptocurrency exploded in 2017. CoinGecko needed a tool to scale in accordance with the global potential market growth CoinGecko Driver
  20. 20. ● One-click setup ● No lock-in commitment ● Performance boost ● Ideal for our small engineering team Email received on June 8th, 2017
  21. 21. NetworkTime Improvement (NewRelic) ARGO Activated
  22. 22. ResponseTime Improvement (CatchPoint)
  23. 23. Response Time (Origin Cloudflare)
  24. 24. Response Time Improvement by Geography
  25. 25. Bandwidth Savings with Cloudflare
  26. 26. Thoughts on using Argo ● Argo is easy to get started and try ● Price structure may appear daunting ● Turn it on and monitor the performance gain ● Decide if you would like to continue ● Performance gain & business impact may justify the Argo fees ● For enterprise plan, flat-rate
  27. 27. How did Cloudflare help?  ● CDN - serve content fast globally ● Argo - acceleration of requests with easy setup ● DDOS Protection ● Improved user experience globally ● Improved throughput (serve pageviews at scale) ● Improvement seen on Newrelic/Catchpoint
  28. 28. Thoughts ● Cloudflare, a great tool for small engineering team ● Try not to "over-engineer" or “over-architect” the system ● Cloudflare speeds up our website with little configuration ● There is always room for optimization; but make sure it is balanced with the available resources
  29. 29. // Resources ● Cloudflare Argo Smart Routing Product Page https://www.cloudflare.com/argo/ ● Technical Blog Posting: Argo Smart Routing and Tiered Caching with Cloudflare https://blog.cloudflare.com/argo/ ● Argo for Self-Serve Billing Information Knowledge Base Article https://support.cloudflare.com/hc/en-us/articles/115000224192/ ● Argo Analytics Knowledge Base Article https://support.cloudflare.com/hc/en-us/articles/115000244811/
  30. 30. // Q&A
  31. 31. // APPENDIX
  32. 32. Argo Billing for Self-Serve Plans ● Billed on the amount of data transferred between Cloudflare and visitors. This includes cache hits and both requests to and responses from the origin. You will not be charged for any traffic deemed by us to be a DDoS attack. ● You will be charged a monthly fee of $5.00 per domain with Argo enabled plus $0.10 per gigabyte of transfer between Cloudflare and your visitors (on domains with Argo enabled). The first 1GB of Argo usage is free.

×