4 ms·
What language(s) does Spotify use for the backend? not the website or the mobile clients, but the backend itself.
by aikah 7y ago
What language(s) does Spotify use for the backend? not the website or the mobile clients, but the backend itself.
- ardit33 7y agoMostly Java.... some scala (some teams might use it), and potentially other languages. It built its own api lightweight java framework around 2014-2015 (called Apollo), which is actually pretty decent/nice to work with. There was a lot of protobuf usage early on, but most teams started transitioning to plain json. So, each team runs its own servers, for the features it is developing/maintaining, and most of the api goes throw a common gateway, etc.. etc... don't want to give out more than this. Some of the simple front end web pages (i.e. marketing websites, analytics) might even be on php/python/ruby. Some teams wanted to use javascript (Node), but those are not the critical main app, as java is pretty much required to be used for anything that affects the main app. Also, if you are doing machine learning, then whatever it gets the job done (usually Python). btw, I left few years ago, so things might have changed.... I know at least one team that wanted to use GO for some of their services....
- TeMPOraL 7y agoThanks for the insights. I can't shake the feeling that the dominating factor in growth of LOC isn't the number of features per se, but the number of features worked on in parallel by separate teams.