Spotify81 open jobs

Backend Engineer - Data Infrastructure

DevOps and SREPosted 4 weeks agofrom Spotify's own hiring page

Work type
RemoteIn the US and Canada
Experience
3+ years
Pay
$133k–190k a year
Posted
4 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 Java, Kubernetes, Terraform and 2 more

About the job

The Platform team creates the technology that enables Spotify to learn quickly and scale easily, enabling rapid growth in our users and our business around the globe. Spanning many disciplines, we work to make the business work; creating the infrastructure, tooling, frameworks, and capabilities needed to welcome a billion customers.

We're looking for a Backend Engineer to join Babka, a team within Spotify's Data Infrastructure organization. Babka powers the analytics behind experiences like Spotify for Artists and Spotify for Creators, helping artists, creators, and music labels explore how their content performs through fast, interactive data insights.

Originally built to support music analytics, our platform now serves podcasts, audiobooks, and internal Spotify tools. As we expand our capabilities across Spotify, you'll join us at an exciting stage, with opportunities to shape our technical direction, improve our infrastructure, and make analytics easier for engineering teams to build and operate.

What You'll Do:

  • Build, maintain, and improve Java backend services, libraries, and data ingestion pipelines that power Spotify's analytics platform.

  • Operate and deploy Apache Druid, our distributed analytics database, enabling teams to deliver fast, reliable, interactive data experiences.

  • Help expand our data infrastructure platform to support new products, teams, and use cases across Spotify.

  • Build internal tools and shared services that make it easier for engineers to integrate with and use our analytics infrastructure.

  • Contribute to the reliability, performance, and scalability of our distributed systems, including monitoring, troubleshooting, and improving production services.

  • Collaborate with engineers and product teams across Spotify to understand their analytics needs and develop practical, scalable solutions.

  • Develop agentic workflows that both automate on-call operations and accelerate how teams build data analytics features on top of our platform.

  • Contribute to technical and architectural decisions as the team evolves, exploring opportunities to improve data modeling, infrastructure, and developer experience.

Who You Are:

  • You have 3+ years of experience developing backend services or working with distributed data systems.

  • You're comfortable programming in Java and enjoy building reliable, maintainable backend applications.

  • You have experience with distributed databases or data storage systems and understand the challenges of working with data at scale.

  • You understand data modeling, database design, and how data is organized and queried to support different use cases.

  • You care about building reliable services and have experience with monitoring, troubleshooting, and improving systems in production.

  • You're curious about analytical databases and technologies such as Apache Druid, ClickHouse, Pinot, BigQuery, or Snowflake. Experience with Apache Druid is a plus.

  • You've worked with, or are interested in learning, infrastructure technologies such as Kubernetes, Terraform, and cloud platforms like Google Cloud Platform or AWS.

  • You enjoy collaborating with other engineers, communicating openly, and learning new technologies. You're comfortable taking ownership of your work while seeking feedback and sharing knowledge with others.

Where You'll Be:

  • This role is based in New York, NY

  • 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.

The United States base range for this position is 132,948.00–189,927.00 USD, plus equity. The benefits available for this position include health insurance, six-month paid parental leave, 401(k) retirement plan, monthly meal allowance, 23 paid days off, paid flexible holidays, and paid sick leave. These ranges may be modified in the future.


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 - Data Infrastructure at Spotify

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Java, Kubernetes, Terraform and 2 more

Interview questions for this job

For the skills the ad mentions: Java, Kubernetes, Terraform, Google Cloud and AWS.

364 questions
  • What is the difference between int and Integer?Java

    int vs Integer

    int is a primitive type. Variables of type int store the actual binary value for the integer you want to represent. Integer is a class, no different from any other in the Java language. Variables of type Integer store references to Integer objects, just as with any other reference (object) type. Integer.parseInt("1") is a call to the static method parseInt from class Integer. To be more specific, Integer is a class with a single field of type int. This class is used where you need an int to be treated like any other object, such as in generic types or situations where you need nullability. The automatic conversion of primitive data types into its equivalent Wrapper type is known as autoboxing and opposite operation is known as unboxing.

    Autoboxing:

    Converting a primitive value into an object of the corresponding wrapper class is called autoboxing. For example, converting int to Integer class. The Java compiler applies autoboxing when a primitive value is:

    • Passed as a parameter to a method that expects an object of the corresponding wrapper class.
    • Assigned to a variable of the corresponding wrapper class.

    Unboxing:

    Converting an object of a wrapper type to its corresponding primitive value is called unboxing. For example conversion of Integer to int. The Java compiler applies unboxing when an object of a wrapper class is:

    • Passed as a parameter to a method that expects a value of the corresponding primitive type.
    • Assigned to a variable of the corresponding primitive type.

    Links

    https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html http://illegalargumentexception.blogspot.com/2008/08/java-int-versus-integer.html https://www.geeksforgeeks.org/autoboxing-unboxing-java/

    From Android Interview Questions (Apache 2.0)

  • Kubernetes - How to show all service accountsKubernetes

    The command you listed will show you your resources.

    Instead try: kubectl get serviceAccounts

    From DevOps Stack Exchange: asked by David West, answered by Wesley Rolnick (CC BY-SA 4.0)

  • How to support releasing new versions of the code, running in parallel with the last stable release?Terraform

    There are a few different ways to achieve goals of this sort, each with some different tradeoffs. I'm going to describe the most common ones below.

    The simplest approach is to use Terraform's create_before_destroy mechanism with autoscaling groups. An example of this pattern is included in the aws_launch_configuration documentation.

    In this scenario, changing the AMI id causes the launch configuration to be re-created. Due to create_before_destroy, the new configuration is created first, then a new autoscaling group is created, adding the new instances to an attached ELB. The min_elb_capacity argument to aws_autoscaling_group can be used to ensure that a given number of instances are present and healthy in the attached ELB before considering the autoscaling group to be created, thus delaying the destruction of the old autoscaling group and launch configuration until the new one is serving requests.

    The downside of this approach is the lack of control it represents. Since Terraform is thinking of the entire set of changes as a single run, it's impossible to pause after creating the new instances to allow other checks to be carried out before destroying the old ones. As a consequence, the ELB healthcheck is the only input to deciding if the new release is "good", and rolling back is impossible once the old resources have been destroyed.

    A second common approach is to adopt a sort of "blue/green deployment" pattern with explicit changes to two clusters. This is done by putting all of the per-release resources in a child module, and instantiating that module twice with different arguments. In the top-level module this would look something like the following:

    resource "aws_elb" "example" {
      instances = "${concat(module.blue.ec2_instance_ids, module.green.ec2_instance_ids)}"
      # ...
    }
    module "blue" {
      source = "./app"
      ami_id = "ami-1234"
      count  = 10
    }
    module "green" {
      source = "./app"
      ami_id = "ami-5678"
      count  = 0
    }
    

    The principle of operation here is that in the "steady state" (no deployment in progress) only one of these modules has a non-zero count, and the other one has zero. During a deployment, they are both set to the same non-zero count, but with different ami_id values. Each deployment swaps which of the modules is the "active" module, with both being active during the deployment.

    When using this approach, each step is a distinct Terraform operation:

    1. change count of the inactive module to nonzero and set its AMI id
    2. apply the change with Terraform, thus activating the new module
    3. verify that the new release is good
    4. change count of the older module to zero
    5. apply the change with Terraform, thus deactivating the old module

    Although this has more steps, it allows arbitrary verification and an arbitrary amount of time to pass during step 3. It also allows "rolling back" by resetting the previously-inactive cluster count to zero.

    Since both the old and new clusters exist in the same configuration, there is the risk of using this pattern incorrectly and prematurely destroying the active cluster. This can be mitigated by carefully reviewing Terraform's plan to make sure it leaves the old cluster untouched, but Terraform itself can't guarantee this.

    Also, since both clusters are using the same child module configuration, it can be tricky to make updates to that configuration while retaining the blue/green separation. If changes are made that would require Terraform to replace the running instances, it's necessary to temporarily have two copies of the module code on disk, make the source arguments point to separate copies, and make the change only to the copy used by the inactive module.

    Read the rest at the sourceFrom DevOps Stack Exchange: asked by Philipp Claßen, answered by Martin Atkins (CC BY-SA 3.0)

  • Is It Possible To Get The ID Before It Was Added?Google Cloud

    This is covered in the documentation. See the last paragraph of the add a document section.

    DocumentReference ref = db.collection("my_collection").doc();
    String myId = ref.id;
    

    From Stack Overflow: asked by Tal Barda, answered by 34m0 (CC BY-SA 4.0)

  • Difference between Amazon EC2 and AWS Elastic BeanstalkAWS

    First off, EC2 and Elastic Compute Cloud are the same thing.

    Next, AWS encompasses the range of Web Services that includes EC2 and Elastic Beanstalk. It also includes many others such as S3, RDS, DynamoDB, and all the others.

    EC2

    EC2 is Amazon's service that allows you to create a server (AWS calls these instances) in the AWS cloud. You pay by the hour and only what you use. You can do whatever you want with this instance as well as launch n number of instances.

    Elastic Beanstalk

    Elastic Beanstalk is one layer of abstraction away from the EC2 layer. Elastic Beanstalk will setup an "environment" for you that can contain a number of EC2 instances, an optional database, as well as a few other AWS components such as a Elastic Load Balancer, Auto-Scaling Group, Security Group. Then Elastic Beanstalk will manage these items for you whenever you want to update your software running in AWS. Elastic Beanstalk doesn't add any cost on top of these resources that it creates for you. If you have 10 hours of EC2 usage, then all you pay is 10 compute hours.

    Running Wordpress

    For running Wordpress, it is whatever you are most comfortable with. You could run it straight on a single EC2 instance, you could use a solution from the AWS Marketplace, or you could use Elastic Beanstalk.

    What to pick?

    In the case that you want to reduce system operations and just focus on the website, then Elastic Beanstalk would be the best choice for that. Elastic Beanstalk supports a PHP stack (as well as others). You can keep your site in version control and easily deploy to your environment whenever you make changes. It will also setup an Autoscaling group which can spawn up more EC2 instances if traffic is growing.

    Here's the first result off of Google when searching for "elastic beanstalk wordpress": https://www.otreva.com/blog/deploying-wordpress-amazon-web-services-aws-ec2-rds-via-elasticbeanstalk/

    From Stack Overflow: asked by Ahmad Ismail, answered by Josh Davis (CC BY-SA 3.0)

  • Why should we hire you?Behavioural

    The strengths employers look for will depend on the job role. They may ask you questions like:

    • what are your main strengths?
    • why should we hire you?

    You can use specific examples to highlight your strengths, such as:

    • communication - to show you get on with others
    • problem solving - to show that you can find solutions
    • enthusiasm - to show that you have a positive attitude to work
    • flexibility - to show that you can adapt to different ways of working

    Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.

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

Similar jobs

More like this: DevOps and SRE jobs in New York (124), Jobs in New York (6,234), DevOps and SRE jobs in the USA (738) and Remote DevOps and SRE jobs in the USA (362)