how soundcloud scales
play

How SoundCloud scales Alexander Grosse @klangberater Freitag, 5. - PowerPoint PPT Presentation

How SoundCloud scales Alexander Grosse @klangberater Freitag, 5. April 13 Youtube for Audio Freitag, 5. April 13 Fakten Freitag, 5. April 13 Fakten Alexa Ranking (233) Freitag, 5. April 13 Fakten Alexa Ranking (233)


  1. How SoundCloud scales Alexander Grosse @klangberater Freitag, 5. April 13

  2. “Youtube for Audio” Freitag, 5. April 13

  3. Fakten Freitag, 5. April 13

  4. Fakten • Alexa Ranking (233) Freitag, 5. April 13

  5. Fakten • Alexa Ranking (233) • Employees (190) - 80 engineers Freitag, 5. April 13

  6. Fakten • Alexa Ranking (233) • Employees (190) - 80 engineers • 4 office locations (Berlin, London, San Francisco, Sofia) Freitag, 5. April 13

  7. Fakten • Alexa Ranking (233) • Employees (190) - 80 engineers • 4 office locations (Berlin, London, San Francisco, Sofia) • >35 million registered users Freitag, 5. April 13

  8. Fakten • Alexa Ranking (233) • Employees (190) - 80 engineers • 4 office locations (Berlin, London, San Francisco, Sofia) • >35 million registered users • partners (BBC, CNN) Freitag, 5. April 13

  9. Fakten • Alexa Ranking (233) • Employees (190) - 80 engineers • 4 office locations (Berlin, London, San Francisco, Sofia) • >35 million registered users • partners (BBC, CNN) • > 10.000 Apps Freitag, 5. April 13

  10. Freitag, 5. April 13

  11. How SoundCloud scales Freitag, 5. April 13

  12. ? Freitag, 5. April 13

  13. Organization Technology Freitag, 5. April 13

  14. What is the foundation? Freitag, 5. April 13

  15. Freitag, 5. April 13

  16. Principles Freitag, 5. April 13

  17. Principles Top-Down vs. Bottom-Up Freitag, 5. April 13

  18. Principles Top-Down vs. Bottom-Up Trust Freitag, 5. April 13

  19. Principles Top-Down vs. Bottom-Up Trust How to react to mistakes Freitag, 5. April 13

  20. Principles Top-Down vs. Bottom-Up Trust How to react to mistakes Continuous Improvement Freitag, 5. April 13

  21. Principles Top-Down vs. Bottom-Up Trust How to react to mistakes Continuous Improvement Innovation Freitag, 5. April 13

  22. Top-Down vs. Bottom-Up • Flat Hierarchies? Everybody has them... • Engineering teams responsible for architecture (not architecture teams) • Influence on the product Freitag, 5. April 13

  23. Trust • Deployment • Change Management • Process • Time for “technical debt” Freitag, 5. April 13

  24. Reaction to mistakes • What will be changed if a mistake happens? Freitag, 5. April 13

  25. Innovation • R&D Department? • Only Product? Freitag, 5. April 13

  26. SoundCloud‘s basic principles Freitag, 5. April 13

  27. SoundCloud‘s basic principles • No dedicated QA roles Freitag, 5. April 13

  28. SoundCloud‘s basic principles • No dedicated QA roles • “You build it - you run it” Freitag, 5. April 13

  29. SoundCloud‘s basic principles • No dedicated QA roles • “You build it - you run it” • Team Building (Rotation, constant changes) Freitag, 5. April 13

  30. SoundCloud‘s basic principles • No dedicated QA roles • “You build it - you run it” • Team Building (Rotation, constant changes) • Hacker Time Freitag, 5. April 13

  31. SoundCloud‘s basic principles • No dedicated QA roles • “You build it - you run it” • Team Building (Rotation, constant changes) • Hacker Time • Continuous Improvement Freitag, 5. April 13

  32. SoundCloud‘s basic principles • No dedicated QA roles • “You build it - you run it” • Team Building (Rotation, constant changes) • Hacker Time • Continuous Improvement • Move fast and break things Freitag, 5. April 13

  33. No QA Does that mean we don‘t test? Freitag, 5. April 13

  34. “You build it - you run it” Freitag, 5. April 13

  35. Flat Hierarchy Freitag, 5. April 13

  36. Innovation Hacker Time Freitag, 5. April 13

  37. Freitag, 5. April 13

  38. Continuous Improvement Retrospectives Post Mortems (Projekte) Freitag, 5. April 13

  39. Mistakes... Freitag, 5. April 13

  40. Scrum? Kanban? Process? Freitag, 5. April 13

  41. What is the most important thing you have to do so that this works? Freitag, 5. April 13

  42. Freitag, 5. April 13

  43. ??? Freitag, 5. April 13

  44. ??? Initial Culture Freitag, 5. April 13

  45. ??? Initial Culture Hiring!!! Freitag, 5. April 13

  46. Freitag, 5. April 13

  47. SoundCloud Hiring Process Freitag, 5. April 13

  48. How does it look like in reality? Freitag, 5. April 13

  49. Organisation Freitag, 5. April 13

  50. HTML5 Mobile (native) other V1 API Search T&S Payment Partner Tools Data Activ. Delivery Platform System Engineering (Berlin / SF) Freitag, 5. April 13

  51. How do we structure teams? cross functional? Freitag, 5. April 13

  52. Do teams stay the same? Change! Freitag, 5. April 13

  53. Technology Freitag, 5. April 13

  54. Ruby/Scala/Go/Clojure/ Javascript Freitag, 5. April 13

  55. Scale Horizontally/ Vertically? Freitag, 5. April 13

  56. Rails->Mysql RabbitMQ->Cassandra http://backstage.soundcloud.com/2012/08/ evolution-of-soundclouds-architecture/ Freitag, 5. April 13

  57. MySQL • 7 Master, 9 slaves, 900GB data • Additional slaves in EC2 • Master Peak is 15K IOPS writes, 45k reads • one slave lags intentionally 1 hour behind • Je nach Konsistenzanforderung wird Slave oder Master gewählt (für reads - unterstützt read-only mode) Freitag, 5. April 13

  58. Cassandra • 3 Cluster • 88 Nodes • 15 TB of data • up to 70K reads/sec Freitag, 5. April 13

  59. Hadoop Elastic Search Proprietary Spam Detection Freitag, 5. April 13

  60. ElasticSearch 80 Mio Docs (gaining 1 Mio every 6 days) 175 QPS (gaining 15 QPS every month) Freitag, 5. April 13

  61. Hosted in S3/EC2 and physical DCs Freitag, 5. April 13

  62. Outages Freitag, 5. April 13

  63. Freitag, 5. April 13

  64. Post Mortems Freitag, 5. April 13

  65. Summary • Move fast and break things • Don‘t get slow because you fear to make mistakes Freitag, 5. April 13

  66. backstage.soundcloud.com Freitag, 5. April 13

  67. Alexander Grosse alexandergrosse.com @klangberater We are hiring! www.soundcloud.com/jobs Freitag, 5. April 13

Recommend


More recommend