Spotify81 open jobs

Backend Engineer - Subscriptions

BackendPosted 2 weeks agofrom Spotify's own hiring page

Work type
HybridLondon
Experience
Not stated
Pay
Not listedUsually £46k a yearBackend, median, all levels, in the UK (Payscale)
Posted
2 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Python, Java, Google Cloud and 1 more

About the job

At Spotify, our Subscriptions mission helps make the subscription experience seamless and reliable for millions of listeners around the world. We're building the technology that supports subscribers throughout their journey, from their first purchase to renewals, plan changes, and beyond.

We're looking for a Backend Engineer to join Rover, the team responsible for Spotify's core subscription system. Our services manage the lifecycle of every Spotify subscription, including activation, renewals, plan changes, grace periods, and cancellations.

You'll help build and improve the backend services and data systems that millions of subscribers depend on. Whether you're growing your engineering experience or looking for a new technical challenge, you'll have opportunities to learn, collaborate, and make a meaningful impact on Spotify's subscription experience.

What You'll Do

  • Design, build, and improve backend services that power Spotify's core subscription system.

  • Develop and deliver solutions that support subscription journeys, from activation and renewals to plan changes and cancellations.

  • Work with complex, large-scale systems to improve reliability, performance, and scalability.

  • Collaborate with engineers and teams across Spotify to solve technical challenges and deliver meaningful improvements for subscribers.

  • Contribute to technical discussions, share ideas, and help shape engineering decisions.

  • Work with large-scale data systems and pipelines, building your knowledge while contributing to their ongoing development.

  • Share feedback, learn from your colleagues, and contribute to a supportive and collaborative engineering culture.

Who You Are

  • You have experience developing backend services using Python or Java and working with cloud platforms such as Google Cloud Platform or similar technologies.

  • You're familiar with database technologies such as PostgreSQL and interested in building reliable, scalable systems.

  • You have an understanding of data systems or pipelines, or an interest in developing your skills in this area.

  • You enjoy solving complex technical problems and finding practical ways to improve existing systems.

  • You communicate clearly and feel comfortable sharing technical ideas, contributing to discussions, and explaining your work to different audiences.

  • You take ownership of your work, seek feedback, and enjoy collaborating with others to achieve shared goals.

  • You bring curiosity, adaptability, and a willingness to learn as technologies and challenges evolve.

  • You may have worked with subscriptions, billing, payments, e-commerce, or financial systems, or you're interested in learning more about these areas.

Where You'll Be

  • This role is based in London or Stockholm

  • We offer you the flexibility to work where you work best! There will be some in person meetings, but still allows for flexibility to work from home.

Spotify is an equal opportunity employer. You are welcome at Spotify for who you are, no matter where you come from, what you look like, or what’s playing in your headphones. Our platform is for everyone, and so is our workplace. The more voices we have represented and amplified in our business, the more we will all thrive, contribute, and be forward-thinking! So bring us your personal experience, your perspectives, and your background. It’s in our differences that we will find the power to keep revolutionizing the way the world listens.   At Spotify, we are passionate about inclusivity and making sure our entire recruitment process is accessible to everyone. We have ways to request reasonable accommodations during the interview process and help assist in what you need. If you need accommodations at any stage of the application or interview process, please let us know - we’re here to support you in any way we can.  

Interested?Backend Engineer - Subscriptions at Spotify

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Python, Java, Google Cloud and 1 more

Interview questions for this job

For the skills the ad mentions: Python, Java, Google Cloud and PostgreSQL.

402 questions
  • Is it possible to write obfuscated one-liners in Python?Python

    Yes. Usually this is done by nesting lambda within lambda. See the following three examples, slightly adapted from Ulf Bartelt:

    from functools import reduce
    # Primes < 1000
    print(list(filter(None,map(lambda y:y*reduce(lambda x,y:x*y!=0,
    map(lambda x,y=y:y%x,range(2,int(pow(y,0.5)+1))),1),range(2,1000)))))
    # First 10 Fibonacci numbers
    print(list(map(lambda x,f=lambda x,f:(f(x-1,f)+f(x-2,f)) if x>1 else 1:
    f(x,f), range(10))))
    # Mandelbrot set
    print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+'\n'+y,map(lambda y,
    Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,Sy=Sy,L=lambda yc,Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,i=IM,
    Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,
    i=i,Sx=Sx,F=lambda xc,yc,x,y,k,f=lambda xc,yc,x,y,k,f:(k<=0)or (x*x+y*y
    >=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(
    64+F(Ru+x*(Ro-Ru)/Sx,yc,0,0,i)),range(Sx))):L(Iu+y*(Io-Iu)/Sy),range(Sy
    ))))(-2.1, 0.7, -1.2, 1.2, 30, 80, 24))
    #    \___ ___/  \___ ___/  |   |   |__ lines on screen
    #        V          V      |   |______ columns on screen
    #        |          |      |__________ maximum of "iterations"
    #        |          |_________________ range on y axis
    #        |____________________________ range on x axis
    

    Don’t try this at home, kids!

    From Python Frequently Asked Questions (PSF License Version 2)

  • What are lambda expressions?Java

    Lambda expressions

    One issue with anonymous classes is that if the implementation of your anonymous class is very simple, such as an interface that contains only one method, then the syntax of anonymous classes may seem unwieldy and unclear. In these cases, you're usually trying to pass functionality as an argument to another method, such as what action should be taken when someone clicks a button. Lambda expressions enable you to do this, to treat functionality as method argument, or code as data.

    Lambda expressions basically express instances of functional interfaces. Lambda expressions implement the only abstract function and therefore implement functional interfaces. Lambda expressions are added in Java 8 and provide next functionalities:

    • Enable to treat functionality as a method argument, or code as data.
    • A function that can be created without belonging to any class.
    • A lambda expression can be passed around as if it was an object and executed on demand.

    A lambda expression is characterized by the following syntax:

    parameter -> expression body
    

    where lambda operator can be:

    • Zero parameter: () -> System.out.println("Zero parameter lambda");
    • One parameter: (p) -> System.out.println("One parameter: " + p);
    • Multiple parameters: (p1, p2) -> System.out.println("Multiple parameters: " + p1 + ", " + p2);

    The body of a lambda expression, and thus the body of the function / method it represents, is specified to the right of the -> in the lambda declaration: Here is an example:

    (oldState, newState) -> System.out.println("State changed")
    

    If your lambda expression needs to consist of multiple lines, you can enclose the lambda function body inside the { } bracket which Java also requires when declaring methods elsewhere. Here is an example:

    (oldState, newState) -> {
        System.out.println("Old state: " + oldState);
        System.out.println("New state: " + newState);
      }
    

    You can return values from Java lambda expressions, just like you can from a method. You just add a return statement to the lambda function body, like this:

    (param) -> {
        System.out.println("param: " + param);
        return "return value";
      }
    

    In case all your lambda expression is doing is to calculate a return value and return it, you can specify the return value in a shorter way. Instead of this:

    (a1, a2) -> { return a1 > a2; }
    

    You can write:

    (a1, a2) -> a1 > a2;
    

    The compiler then figures out that the expression a1 > a2 is the return value of the lambda expression (hence the name lambda expressions - as expressions return a value of some kind).

    Following are the important characteristics of a lambda expression:

    • Optional type declaration − No need to declare the type of a parameter. The compiler can inference the same from the value of the parameter.
    • Optional parenthesis around parameter − No need to declare a single parameter in parenthesis. For multiple parameters, parentheses are required.
    • Optional curly braces − No need to use curly braces in expression body if the body contains a single statement.
    • Optional return keyword − The compiler automatically returns the value if the body has a single expression to return the value. Curly braces are required to indicate that expression returns a value.

    Links

    https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html
    http://tutorials.jenkov.com/java/lambda-expressions.html
    https://www.geeksforgeeks.org/lambda-expressions-java-8/
    https://www.tutorialspoint.com/java8/java8_lambda_expressions.htm

    From Android Interview Questions (Apache 2.0)

  • What is the difference between Cloud Functions and Firebase Functions?Google Cloud

    There is no product called Firebase Functions.

    There are three separate things:

    1. Google Cloud Functions, which allow you to run snippets of code in Google's infrastructure in response to events.
    2. Cloud Functions for Firebase, which triggers Google Cloud Functions based on events in Firebase (such as database or file writes, user creation, etc)
    3. Firebase SDK for Cloud Functions, which includes a library (confusingly called firebase-functions) that you use in your Functions code to access Firebase data (such as the snapshot of the data that was written to the database)

    So Firebase provides a (relatively thin) wrapper around Google Cloud Functions, to make the latter product easier to use and integrate it with Firebase. In that senses it is similar to how Firebase integrates Google Cloud Storage into "Cloud Storage for Firebase" (formerly known as Firebase Storage).

    If you're using Google Cloud Platform without Firebase, then you should use plain Google Cloud Functions. If you're on Firebase or if you're a mobile developer interested in Cloud Functions, you should use Cloud Functions for Firebase.

    From Stack Overflow: asked by Muhammad chhota, answered by Frank van Puffelen (CC BY-SA 4.0)

  • What is the format for the PostgreSQL connection string / URL?PostgreSQL

    If you use Libpq binding for respective language, according to its documentation URI is formed as follows:

    postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]
    

    Here are examples from same document

    postgresql://
    postgresql://localhost
    postgresql://localhost:5432
    postgresql://localhost/mydb
    postgresql://user@localhost
    postgresql://user:secret@localhost
    postgresql://other@localhost/otherdb?connect_timeout=10&application_name=myapp
    postgresql://localhost/mydb?user=other&password=secret
    

    From Stack Overflow: asked by JII, answered by Andrey (CC BY-SA 3.0)

  • How do you remove multiple items from a list?Python

    As with removing duplicates, explicitly iterating in reverse with a delete condition is one possibility. However, it is easier and faster to use slice replacement with an implicit or explicit forward iteration. Here are three variations:

    mylist[:] = filter(keep_function, mylist)
    mylist[:] = (x for x in mylist if keep_condition)
    mylist[:] = [x for x in mylist if keep_condition]
    

    The list comprehension may be fastest.

    From Python Frequently Asked Questions (PSF License Version 2)

  • What are your hobbies and interests?Behavioural

    Employers will want to get to know you and may ask things like:

    • what do you do in your spare time?
    • what are your hobbies and interests?

    Show what kind of personal qualities, interests and skills you have. For example, you could talk about:

    • cooking - to show you're organised and can follow instructions
    • travel - to show you're adventurous and flexible
    • team sports - to show you're a team player with good communication
    • music - to show you're creative

    If the job requires certain skills, you should demonstrate these in your examples.

    Example

    If it's a graphic designer role, you could talk about taking a desktop publishing course.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Backend developer jobs in London (102), Jobs in London (4,438) and Backend developer jobs in the UK (203)