Affirm130 open jobs

Staff Software Engineer, Backend (Resilience)

BackendPosted over 2 months agofrom Affirm's own hiring page

Work type
RemoteIn the US and Canada
Experience
Not stated
Pay
$181k–241k a year
Posted
Over 2 months agoOpen 7 months
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 AWS, Kubernetes, Python and 2 more

About the job

At Affirm, we exist for the moments that matter—giving people a clear, predictable way to pay over time, with no hidden fees, no surprises, and no tradeoffs on what matters most.

We are seeking a seasoned Staff Engineer to help drive our Resilience Engineering team. This role is critical in ensuring the safety and reliability of our production systems through proactive validation techniques, including production load testing and chaos engineering.

What you’ll do

Leadership & Strategy

  • Define and drive the vision for resilience engineering at Affirm, with a focus on production load testing and chaos engineering as first-class engineering practices.
  • Tech lead and mentor a team of engineers building platforms and tooling for safe production experimentation.
  • Partner with infrastructure, product, and security leadership to embed resilience validation into the software development lifecycle.
  • Establish best practices for safely testing system limits and failure scenarios in production.

Systems & Operations

  • Own the design and evolution of platforms that enable safe, controlled production load testing and fault injection.
  • Ensure strong safeguards are in place, including isolation boundaries, approval workflows, and automated rollback mechanisms to protect real users.
  • Build systems that provide end-to-end observability, traceability, and auditability for all resilience experiments.
  • Drive reliability improvements by systematically identifying weaknesses through load testing and chaos experiments.
  • Establish monitoring, alerting, and incident response practices tailored to proactive resilience validation.

Collaboration & Enablement

  • Work closely with engineering teams to design and execute production load tests and chaos experiments safely.
  • Partner with infrastructure teams to build guardrails around tests and experimentations.
  • Enable teams to adopt resilience practices by providing reusable tooling, frameworks, and standardized workflows.
  • Identify systemic weaknesses and lead cross-functional efforts to improve reliability and fault tolerance.
  • Evangelize a culture of “test failure before failure tests you” across the organization.

What we look for

  • Proven experience leading engineering teams in backend software development or infrastructure development.
  • Hands-on experience with production load testing, chaos engineering, or large-scale system validation (nice to have)
  • Strong understanding of failure modes in distributed systems, including latency, partial failure, and cascading outages.
  • Experience building or operating systems with strong safety guarantees (isolation, rate limiting, guardrails, auditability).
  • Familiarity with cloud-native environments (AWS, Kubernetes) and observability tooling.
  • Strong programming background (e.g., Python, Kotlin, Java, or similar).
  • Excellent problem-solving skills and the ability to balance long-term resilience investments with immediate business needs.
  • Strong communication and leadership skills, with a track record of influencing engineering practices across teams.
  • This position requires either equivalent practical experience or a Bachelor’s degree in a related field.

This posting is for an existing vacancy.

Base Pay Grade - P

Equity Grade - 7

Employees new to Affirm typically come in at the start of the pay range. Affirm focuses on providing a simple and transparent pay structure which is based on a variety of factors, including location, experience and job-related skills.

Base pay is part of a total compensation package that may include monthly stipends for health, wellness and tech spending, and benefits (including 100% subsidized medical coverage, dental and vision for you and your dependents). In addition, the employees may be eligible for equity rewards offered by Affirm Holdings, Inc. (parent company).

CAN base pay range per year: CAD $181,000 - $241,000

Location - Remote Canada
This remote role is open only to candidates residing in Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Nova Scotia, Ontario, Prince Edward Island, or Saskatchewan.

#LI-Remote

Remote-first with flexibility built in
Affirm is proud to be a remote-first company. Most roles can be done from almost anywhere within the country of employment. Some positions may occasionally require in-person work at an Affirm office, and a few are office-based due to the nature of the work. All new hires will be invited to attend an in-person onboarding experience.

Benefits designed for you
Our benefits reflect our commitment to care, transparency, and flexibility. Here are a few highlights:

  • Health coverage at no cost: We cover 100% of premiums for employees and their dependents.
  • Spending stipends: Monthly stipends support your tech setup, and the ability to choose health and wellness options that are right for you.
  • Time off to recharge: Flexible time off and generous holiday calendars help you rest when you need to.
  • Own a piece of what you build: Our employee stock purchase plan (ESPP) lets you buy Affirm stock at a discount.

We’re committed to providing an inclusive interview process, including accommodations for candidates with disabilities. If you need support, we’re happy to help.

For positions based in San Francisco or Los Angeles: Affirm considers qualified applicants with arrest and conviction records, as required by law.

By clicking "Submit Application," you acknowledge that you have read Affirm's Global Candidate Privacy Notice and consent to the use of your personal information as described.

1 more opening for this job

Affirm posts this job once per place or skill set. Pick the one that fits you.

Interested?Staff Software Engineer, Backend (Resilience) at Affirm

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on AWS, Kubernetes, Python and 2 more

Interview questions for this job

For the skills the ad mentions: AWS, Kubernetes, Python, Kotlin and Java.

518 questions
  • 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)

  • What is a headless service, what does it do/accomplish, and what are some legitimate use cases for it?Kubernetes

    Well, I think you need some theory. There are many explanations (including the official docs) across the whole internet, but I think Marco Luksa did it the best:

    Each connection to the service is forwarded to one randomly selected backing pod. But what if the client needs to connect to all of those pods? What if the backing pods themselves need to each connect to all the other backing pods. Connecting through the service clearly isn’t the way to do this. What is?

    For a client to connect to all pods, it needs to figure out the IP of each individual pod. One option is to have the client call the Kubernetes API server and get the list of pods and their IP addresses through an API call, but because you should always strive to keep your apps Kubernetes-agnostic, using the API server isn’t ideal

    Luckily, Kubernetes allows clients to discover pod IPs through DNS lookups. Usually, when you perform a DNS lookup for a service, the DNS server returns a single IP — the service’s cluster IP. But if you tell Kubernetes you don’t need a cluster IP for your service (you do this by setting the clusterIP field to None in the service specification ), the DNS server will return the pod IPs instead of the single service IP. Instead of returning a single DNS A record, the DNS server will return multiple A records for the service, each pointing to the IP of an individual pod backing the service at that moment. Clients can therefore do a simple DNS A record lookup and get the IPs of all the pods that are part of the service. The client can then use that information to connect to one, many, or all of them.

    Setting the clusterIP field in a service spec to None makes the service headless, as Kubernetes won’t assign it a cluster IP through which clients could connect to the pods backing it.

    "Kubernetes in Action" by Marco Luksa

    From Stack Overflow: asked by John Lexus, answered by Konstantin Vustin (CC BY-SA 4.0)

  • What’s a negative index?Python

    Python sequences are indexed with positive numbers and negative numbers. For positive numbers 0 is the first index 1 is the second index and so forth. For negative indices -1 is the last index and -2 is the penultimate (next to last) index and so forth. Think of seq[-n] as the same as seq[len(seq)-n].

    Using negative indices can be very convenient. For example S[:-1] is all of the string except for its last character, which is useful for removing the trailing newline from a string.

    From Python Frequently Asked Questions (PSF License Version 2)

  • Explain: Default method in kotlin interfaceKotlin

    Default method in kotlin interface

    Before getting into Kotlin default method in interface ,lets go through the default interface mthod in Java which was introduced in Java 8 and @JvmDefault annotaion in Kotlin

    default interface in Java

    Why default method is introduced in Java 8

    • In a typical abstraction based design where an interface has one or more implementation if any new method is to be added to the interface then all the implementations will be forced to implement it.
    • default interface method is introduced to deal with this issue which allow us to add new methods to the interface that are automatically available to implementations. In this way backward compatibility is neatly preserved without having to refactor the implementers.
    • The most typical use of default methods in interfaces is to incrementally provide additional functionality to a given type without breaking down the implementing classes.

    @JvmDefault annotation in Kotlin

    • @JvmDefault is an annotation + compiler flag in Kotlin to enable using Java 8 default interface methods.

    • @JvmDefault was introduced in Kotlin 1.2 which will be deprecated in nfavor of generating all the method bodies in interfaces directly when the code is compiled in a special mode.

    A basic interface in Kotlin looks like following

     interface Car {  
        fun getNoOfWheels()  
    }
    

    The java equvalent of the above Kotlin code is as follows

    interface Car {  
        void getNoOfWheels();  
    }
    

    Now lets add default implementation to the Kotlin code

    interface Car {  
        fun getNoOfWheels() {}  
    }
    

    The java equivalent code will be as following

      interface Car {  
        void getNoOfWheels();  
        final class DefaultImpls {  
            public static void getNoOfWheels(Car instance) { }  
        }  
    }
    
    • DefaultImpls is a compiler-generated construct for holding default implementations.In this case - the default getNoOfWheels() implementation. It's implemented as a static method by the same name, return type, an instance parameter (this references in the function body are modified to refer to the instance parameter), and finally any other parameters.

    • This is how Kotlin supports default methods even on Java 6 or 7.

    • Now lets consider adding @JvmDefault by adding configuration -Xjvm-default=enable

      interface Car {  
            @JvmDefault fun getNoOfWheels() {}  
        }
      

    Now in bytecode, It will use the native default interface method support and no longer uses DefaultImpls.

    public interface Car {  
        @JvmDefault default void getNoOfWheels() { }  
    }
    

    If we use -Xjvm-default=compatibility, it will use both the native default support while also still generating the DefaultImpls API. This is important for backward binary compatibility.

    interface Car {  
        @JvmDefault default void getNoOfWheels() { }  
        final class DefaultImpls {  
            @JvmDefault public static void load(Car instance) {  
                instance.getNoOfWheels();  
            }  
        }  
    }
    

    From Android Interview Questions (Apache 2.0)

  • Explain: Exception. Checked and Unchecked.Java

    Exception. Checked vs Unchecked.

    An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions.

    In Java, there are two types of exceptions: Checked and Unchecked.

    Checked

    Checked are the exceptions that are checked at compile time. If some code within a method throws a checked exception, then the method must either handle the exception or it must specify the exception using throws keyword.

    Example:

    private static void checkedExceptionWithThrows() throws FileNotFoundException {
        File file = new File("not_existing_file.txt");  
        FileInputStream stream = new FileInputStream(file);  
    }
    

    We can also use a try-catch block to handle a checked exception:

    private static void checkedExceptionWithTryCatch() {
        File file = new File("not_existing_file.txt");
        try {
            FileInputStream stream = new FileInputStream(file);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
    }
    

    Unchecked

    An unchecked exception is an exception that occurs at the time of execution. These are also called as Runtime Exceptions. These include programming bugs, such as logic errors or improper use of an API. Runtime exceptions are ignored at the time of compilation.

    Example:

    private static void divideByZero() {
        int numerator = 1;
        int denominator = 0;
        int result = numerator / denominator;
    }
    

    Here code will throw ArithmeticException at runtime, cause divide by 0.

    Exception hierarchy

    All exception classes are subtypes of the java.lang.Exception class. The exception class is a subclass of the Throwable class. Other than the exception class there is another subclass called Error which is derived from the Throwable class.

    Errors are abnormal conditions that happen in case of severe failures, these are not handled by the Java programs. Errors are generated to indicate errors generated by the runtime environment. Example: JVM is out of memory. Normally, programs cannot recover from errors.

    The Exception class has two main subclasses: IOException class and RuntimeException Class.

    Errors − These are not exceptions at all, but problems that arise beyond the control of the user or the programmer. Errors are typically ignored in your code because you can rarely do anything about an error. For example, if a stack overflow occurs, an error will arise. They are also ignored at the time of compilation.

    Links

    https://docs.oracle.com/javase/tutorial/essential/exceptions/definition.html
    https://www.geeksforgeeks.org/checked-vs-unchecked-exceptions-in-java/
    https://www.baeldung.com/java-checked-unchecked-exceptions
    https://www.tutorialspoint.com/java/java_exceptions.htm
    https://www.javamex.com/tutorials/exceptions/exceptions_hierarchy.shtml

    From Android Interview Questions (Apache 2.0)

  • 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 the USA (692) and Remote Backend developer jobs in the USA (369)