Skip to main content
Erschienen in: Journal of Network and Systems Management 1/2015

01.01.2015

On the Performance of the Spotify Backend

verfasst von: Rerngvit Yanggratoke, Gunnar Kreitz, Mikael Goldmann, Rolf Stadler, Viktoria Fodor

Erschienen in: Journal of Network and Systems Management | Ausgabe 1/2015

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

We model and evaluate the performance of a distributed key-value storage system that is part of the Spotify backend. Spotify is an on-demand music streaming service, offering low-latency access to a library of over 20 million tracks and serving over 20 million users currently. We first present a simplified model of the Spotify storage architecture, in order to make its analysis feasible. We then introduce an analytical model for the distribution of the response time, a key metric in the Spotify service. We parameterize and validate the model using measurements from two different testbed configurations and from the operational Spotify infrastructure. We find that the model is accurate—measurements are within 11 % of predictions—within the range of normal load patterns. In addition, we model the capacity of the Spotify storage system under different object allocation policies and find that measurements on our testbed are within 9 % of the model predictions. The model helps us justify the object allocation policy adopted for Spotify storage system.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Kreitz, G., Niemelä, F.: Spotify—large scale, low latency, P2P music-on-demand streaming. In: Peer-to-Peer Computing, pp. 1–10. IEEE, Delft, The Netherlands (2010) Kreitz, G., Niemelä, F.: Spotify—large scale, low latency, P2P music-on-demand streaming. In: Peer-to-Peer Computing, pp. 1–10. IEEE, Delft, The Netherlands (2010)
2.
Zurück zum Zitat Yanggratoke, R., Kreitz, G., Goldmann, M., Stadler, R.: Predicting response times for the spotify backend. In: 2012 8th international conference on network and service management (CNSM), pp. 117–125 (2012) Yanggratoke, R., Kreitz, G., Goldmann, M., Stadler, R.: Predicting response times for the spotify backend. In: 2012 8th international conference on network and service management (CNSM), pp. 117–125 (2012)
4.
Zurück zum Zitat Karger, D.R., Lehman, E., Leighton, F.T., Panigrahy, R., Levine, M.S., Lewin, D.: Consistent hashing and random trees: distributed caching protocols for relieving hot spots on the world wide web. In: Proceedings of the twenty-ninth annual ACM symposium on Theory of computing, STOC ’97, pp. 654–663. ACM, New York, NY, USA (1997) Karger, D.R., Lehman, E., Leighton, F.T., Panigrahy, R., Levine, M.S., Lewin, D.: Consistent hashing and random trees: distributed caching protocols for relieving hot spots on the world wide web. In: Proceedings of the twenty-ninth annual ACM symposium on Theory of computing, STOC ’97, pp. 654–663. ACM, New York, NY, USA (1997)
5.
Zurück zum Zitat Kleinrock, L.: Theory, Volume 1, Queueing Systems. Wiley-Interscience, New York (1975) Kleinrock, L.: Theory, Volume 1, Queueing Systems. Wiley-Interscience, New York (1975)
6.
Zurück zum Zitat Mosberger, D., Jin, T.: httperf—a tool for measuring web server performance. SIGMETRICS Perform. Eval. Rev. 26(3), 31–37 (1998)CrossRef Mosberger, D., Jin, T.: httperf—a tool for measuring web server performance. SIGMETRICS Perform. Eval. Rev. 26(3), 31–37 (1998)CrossRef
11.
Zurück zum Zitat Mitzenmacher, M., Upfal, E.: Probability and Computing: Randomized Algorithms and Probabilistic Analysis. Cambridge University Press, Cambridge (2005)CrossRef Mitzenmacher, M., Upfal, E.: Probability and Computing: Randomized Algorithms and Probabilistic Analysis. Cambridge University Press, Cambridge (2005)CrossRef
12.
Zurück zum Zitat Raab, M., Steger, A.: “Balls into Bins”—a simple and tight analysis. In: Proceedings of the Second International Workshop on Randomization and Approximation Techniques in Computer Science, RANDOM ’98, pp. 159–170. Springer, London, UK (1998) Raab, M., Steger, A.: “Balls into Bins”—a simple and tight analysis. In: Proceedings of the Second International Workshop on Randomization and Approximation Techniques in Computer Science, RANDOM ’98, pp. 159–170. Springer, London, UK (1998)
16.
Zurück zum Zitat Thereska, E., Abd-El-Malek, M., Wylie, J., Narayanan, D., Ganger, G.: Informed data distribution selection in a self-predicting storage system. In: ICAC ’06. IEEE International Conference on Autonomic Computing, 2006, pp. 187–198 (2006) doi:10.1109/ICAC.2006.1662398 Thereska, E., Abd-El-Malek, M., Wylie, J., Narayanan, D., Ganger, G.: Informed data distribution selection in a self-predicting storage system. In: ICAC ’06. IEEE International Conference on Autonomic Computing, 2006, pp. 187–198 (2006) doi:10.​1109/​ICAC.​2006.​1662398
17.
Zurück zum Zitat Gulati, A., Shanmuganathan, G., Ahmad, I., Waldspurger, C., Uysal, M.: Pesto: online storage performance management in virtualized datacenters. In: Proceedings of the 2nd ACM Symposium on Cloud Computing, SOCC ’11, pp. 19:1–19:14. ACM, New York, NY, USA (2011) Gulati, A., Shanmuganathan, G., Ahmad, I., Waldspurger, C., Uysal, M.: Pesto: online storage performance management in virtualized datacenters. In: Proceedings of the 2nd ACM Symposium on Cloud Computing, SOCC ’11, pp. 19:1–19:14. ACM, New York, NY, USA (2011)
18.
Zurück zum Zitat Kraft, S., Casale, G., Krishnamurthy, D., Greer, D., Kilpatrick, P.: Io performance prediction in consolidated virtualized environments. SIGSOFT Softw. Eng. Notes 36(5), 295–306 (2011)CrossRef Kraft, S., Casale, G., Krishnamurthy, D., Greer, D., Kilpatrick, P.: Io performance prediction in consolidated virtualized environments. SIGSOFT Softw. Eng. Notes 36(5), 295–306 (2011)CrossRef
19.
Zurück zum Zitat Xiong, K., Perros, H.: Service performance and analysis in cloud computing. In: IEEE Congress on Services, pp. 693–700 (2009) Xiong, K., Perros, H.: Service performance and analysis in cloud computing. In: IEEE Congress on Services, pp. 693–700 (2009)
20.
Zurück zum Zitat Khazaei, H., Misic, J., Misic, V.: Performance analysis of cloud computing centers using m/g/m/m+r queuing systems. IEEE Trans. Parallel Distrib. Syst. 23(5), 936–943 (2012)CrossRef Khazaei, H., Misic, J., Misic, V.: Performance analysis of cloud computing centers using m/g/m/m+r queuing systems. IEEE Trans. Parallel Distrib. Syst. 23(5), 936–943 (2012)CrossRef
21.
Zurück zum Zitat Tewari, R., Mukherjee, R., Dias, D., Vin, H.: Design and performance tradeoffs in clustered video servers. In: Proceedings of the Third IEEE International Conference on Multimedia Computing and Systems, 1996, pp. 144–150 (1996). doi:10.1109/MMCS.1996.534966 Tewari, R., Mukherjee, R., Dias, D., Vin, H.: Design and performance tradeoffs in clustered video servers. In: Proceedings of the Third IEEE International Conference on Multimedia Computing and Systems, 1996, pp. 144–150 (1996). doi:10.​1109/​MMCS.​1996.​534966
22.
Zurück zum Zitat Abd-El-Malek, M., Courtright II, W.V., Cranor, C., Ganger, G.R., Hendricks, J., Klosterman, A.J., Mesnier, M., Prasad, M., Salmon, B., Sambasivan, R.R., Sinnamohideen, S., Strunk, J.D., Thereska, E., Wachs, M., Wylie, J.J.: Ursa minor: versatile cluster-based storage. In: Proceedings of the 4th Conference on USENIX Conference on File and Storage Technologies—Volume 4, FAST’05, pp. 5–5. USENIX Association, Berkeley, CA, USA (2005) Abd-El-Malek, M., Courtright II, W.V., Cranor, C., Ganger, G.R., Hendricks, J., Klosterman, A.J., Mesnier, M., Prasad, M., Salmon, B., Sambasivan, R.R., Sinnamohideen, S., Strunk, J.D., Thereska, E., Wachs, M., Wylie, J.J.: Ursa minor: versatile cluster-based storage. In: Proceedings of the 4th Conference on USENIX Conference on File and Storage Technologies—Volume 4, FAST’05, pp. 5–5. USENIX Association, Berkeley, CA, USA (2005)
23.
Zurück zum Zitat DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., Vogels, W.: Dynamo: amazon’s highly available key-value store. SIGOPS Oper. Syst. Rev. 41(6), 205–220 (2007)CrossRef DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., Vogels, W.: Dynamo: amazon’s highly available key-value store. SIGOPS Oper. Syst. Rev. 41(6), 205–220 (2007)CrossRef
24.
Zurück zum Zitat Lakshman, A., Malik, P.: Cassandra: a decentralized structured storage system. SIGOPS Oper. Syst. Rev. 44(2), 35–40 (2010)CrossRef Lakshman, A., Malik, P.: Cassandra: a decentralized structured storage system. SIGOPS Oper. Syst. Rev. 44(2), 35–40 (2010)CrossRef
25.
Zurück zum Zitat Schütt, T., Schintke, F., Reinefeld, A.: Scalaris: reliable transactional p2p key/value store. In: Proceedings of the 7th ACM SIGPLAN Workshop on ERLANG, ERLANG ’08, pp. 41–48. ACM, New York, NY, USA (2008) Schütt, T., Schintke, F., Reinefeld, A.: Scalaris: reliable transactional p2p key/value store. In: Proceedings of the 7th ACM SIGPLAN Workshop on ERLANG, ERLANG ’08, pp. 41–48. ACM, New York, NY, USA (2008)
27.
Zurück zum Zitat Hou, Y., Pan, J., Li, B., Tang, X., Panwar, S.: Modeling and analysis of an expiration-based hierarchical caching system. In: Global Telecommunications Conference, 2002. GLOBECOM ’02. IEEE, vol. 3, pp. 2468–2472 (2002). doi:10.1109/GLOCOM.2002.1189074 Hou, Y., Pan, J., Li, B., Tang, X., Panwar, S.: Modeling and analysis of an expiration-based hierarchical caching system. In: Global Telecommunications Conference, 2002. GLOBECOM ’02. IEEE, vol. 3, pp. 2468–2472 (2002). doi:10.​1109/​GLOCOM.​2002.​1189074
29.
Zurück zum Zitat Hu, X., Zincir-Heywood, A.: Understanding the performance of cooperative web caching systems. In: Proceedings of the 3rd Annual Communication Networks and Services Research Conference, 2005, pp. 183–188 (2005). doi:10.1109/CNSR.2005.61 Hu, X., Zincir-Heywood, A.: Understanding the performance of cooperative web caching systems. In: Proceedings of the 3rd Annual Communication Networks and Services Research Conference, 2005, pp. 183–188 (2005). doi:10.​1109/​CNSR.​2005.​61
31.
Zurück zum Zitat Ho, K.M., Poon, W.F., Lo, K.T.: Investigating the performance of hierarchical video-on-demand system in heterogeneous environment. In: International Conference on Information Networking, 2008. ICOIN 2008, pp. 1–5 (2008). doi:10.1109/ICOIN.2008.4472804 Ho, K.M., Poon, W.F., Lo, K.T.: Investigating the performance of hierarchical video-on-demand system in heterogeneous environment. In: International Conference on Information Networking, 2008. ICOIN 2008, pp. 1–5 (2008). doi:10.​1109/​ICOIN.​2008.​4472804
33.
Zurück zum Zitat Trushkowsky, B., Bodík, P., Fox, A., Franklin, M.J., Jordan, M.I., Patterson, D.A.: The scads director: scaling a distributed storage system under stringent performance requirements. In: Proceedings of the 9th USENIX conference on File and stroage technologies, FAST’11, pp. 12–12. USENIX Association, Berkeley, CA, USA (2011). http://dl.acm.org/citation.cfm?id=1960475.1960487 Trushkowsky, B., Bodík, P., Fox, A., Franklin, M.J., Jordan, M.I., Patterson, D.A.: The scads director: scaling a distributed storage system under stringent performance requirements. In: Proceedings of the 9th USENIX conference on File and stroage technologies, FAST’11, pp. 12–12. USENIX Association, Berkeley, CA, USA (2011). http://​dl.​acm.​org/​citation.​cfm?​id=​1960475.​1960487
34.
Zurück zum Zitat Al-Shishtawy, A., Vlassov, V.: Elastman: autonomic elasticity manager for cloud-based key-value stores. Tech. Rep. 12:01, KTH, Software and Computer Systems, SCS (2012). QC 20120831 Al-Shishtawy, A., Vlassov, V.: Elastman: autonomic elasticity manager for cloud-based key-value stores. Tech. Rep. 12:01, KTH, Software and Computer Systems, SCS (2012). QC 20120831
35.
Zurück zum Zitat Klems, M., Silberstein, A., Chen, J., Mortazavi, M., Albert, S.A., Narayan, P., Tumbde, A., Cooper, B.: The yahoo!: cloud datastore load balancer. In: Proceedings of the Fourth International Workshop on Cloud Data Management, CloudDB ’12, pp. 33–40. ACM, New York, NY, USA (2012). doi:10.1145/2390021.2390028. Klems, M., Silberstein, A., Chen, J., Mortazavi, M., Albert, S.A., Narayan, P., Tumbde, A., Cooper, B.: The yahoo!: cloud datastore load balancer. In: Proceedings of the Fourth International Workshop on Cloud Data Management, CloudDB ’12, pp. 33–40. ACM, New York, NY, USA (2012). doi:10.​1145/​2390021.​2390028.
37.
Zurück zum Zitat Fujimoto, T., Endo, R., Matsumoto, K., Shigeno, H.: Video-popularity-based caching scheme for p2p video-on-demand streaming. In: IEEE International Conference on Advanced Information Networking and Applications (AINA), 2011, pp. 748–755 (2011). doi:10.1109/AINA.2011.103 Fujimoto, T., Endo, R., Matsumoto, K., Shigeno, H.: Video-popularity-based caching scheme for p2p video-on-demand streaming. In: IEEE International Conference on Advanced Information Networking and Applications (AINA), 2011, pp. 748–755 (2011). doi:10.​1109/​AINA.​2011.​103
38.
Zurück zum Zitat Chellouche, S., Negru, D., Chen, Y., Sidibe, M.: Home-box-assisted content delivery network for internet video-on-demand services. In: IEEE Symposium on Computers and Communications (ISCC), 2012, pp. 000544–000550 (2012) doi:10.1109/ISCC.2012.6249353 Chellouche, S., Negru, D., Chen, Y., Sidibe, M.: Home-box-assisted content delivery network for internet video-on-demand services. In: IEEE Symposium on Computers and Communications (ISCC), 2012, pp. 000544–000550 (2012) doi:10.​1109/​ISCC.​2012.​6249353
39.
Zurück zum Zitat Zhou, Y., Fu, T., Chiu, D.M.: Division-of-labor between server and p2p for streaming vod. In: IEEE 20th International Workshop on Quality of Service (IWQoS), 2012, pp. 1–9 (2012) doi:10.1109/IWQoS.2012.6245979 Zhou, Y., Fu, T., Chiu, D.M.: Division-of-labor between server and p2p for streaming vod. In: IEEE 20th International Workshop on Quality of Service (IWQoS), 2012, pp. 1–9 (2012) doi:10.​1109/​IWQoS.​2012.​6245979
Metadaten
Titel
On the Performance of the Spotify Backend
verfasst von
Rerngvit Yanggratoke
Gunnar Kreitz
Mikael Goldmann
Rolf Stadler
Viktoria Fodor
Publikationsdatum
01.01.2015
Verlag
Springer US
Erschienen in
Journal of Network and Systems Management / Ausgabe 1/2015
Print ISSN: 1064-7570
Elektronische ISSN: 1573-7705
DOI
https://doi.org/10.1007/s10922-013-9292-2

Weitere Artikel der Ausgabe 1/2015

Journal of Network and Systems Management 1/2015 Zur Ausgabe

Premium Partner