Senior Backend Engineer, Platform & API
BackendPosted 3 days agofrom Stability AI's own hiring page
- Work type
- RemoteIn the US
- Experience
- Not stated
- Pay
- $161k–215k a year
- Posted
- 3 days ago
Skills it mentions
Add your skills to see which ones you have.
About the job
The Team
The Platform & API team builds the commercial systems that every Stability AI product runs on. That includes the Stability API that developers and enterprise customers call, platform.stability.ai, where they sign up, manage API keys and buy credits, and the shared services underneath: sign-in and identity, organizations and permissions, billing and credits, and the API documentation at docs.stability.ai.
The team is small and impactful. You'll partner with teams across the company including the audio product engineering and research teams, the integrity engineering team, and with finance on billing and revenue reporting.
The Work
Our platform services currently run on a combination of AWS services in Kubernetes along with Cloudflare Workers, utilizing a mix of Typescript, Go, and Python.
You'll keep the API and platform running and build what's next on the roadmap for our commercial inference and training platform, billing, and auth systems. You'll own large parts of the system end to end, from the data model through to production.
- Build out new core platform systems for both our consumer facing and internal APIs
- Rebuild and evolve our API layer to be more reliable and to scale with demand, from how requests enter the API to how they reach our models on GPUs.
- Partner with the audio and other commercial vertical engineering teams to integrate those products with the core API along with shared identity and billing.
- Keep production healthy: debug incidents, deal with abuse, and retire services we no longer need.
What You Bring
Experience
- You've built and run backend services that paying customers depend on, and you've been the one fixing them when they broke.
- You've owned features end to end: you designed the data model and API, shipped them and supported them afterward.
- Some of that work was in a public API used by outside developers, authentication and identity, or billing or payments.
Skills & Expertise
- Strong backend fundamentals: HTTP API design, relational data modeling and SQL. We work mostly in TypeScript and Postgres, but deep experience in another typed language works too.
- Sound security judgment around sessions, API keys, permissions and customer data.
- You can debug production systems from logs, traces and metrics, including in code you didn't write.
- You write clearly, in design docs and API documentation, and you can explain a tradeoff to finance or the audio team.
Additional Strengths
- Cloudflare Workers and Durable Objects, or another edge runtime.
- Usage-based billing platforms such as Stripe, or credit and ledger systems.
- Serving ML models or running GPU job queues in production.
Benefits & Compensation
- A remote-first company with teammates across multiple countries who bring diverse perspectives, and flexibility built into how we collaborate.
- Health coverage for you and your family. Choose from PPO and HMO plans, including select plans where Stability AI covers 100% of premiums for you and your eligible dependents.
- HSA and FSA accounts to set aside pre-tax dollars for healthcare and other eligible expenses.
- Company-paid life insurance, with the option to add voluntary coverage for yourself, your spouse, and your children.
- Short- and long-term disability coverage, to protect part of your income if illness or injury keeps you from working.
- 401(k) with company match of up to 4%.
- Paid parental leave to support you as your family grows.
- Flexible paid time off, plus paid company holidays.
- The equipment you need to do your best work, provided by Stability AI.
At Stability AI, we aim to pay fairly and competitively, and we believe you should know what a role pays before you invest time in getting to know us. The annual base salary range for this role is $161,000 to $215,000 USD. It reflects our good-faith expectation for the role as posted and applies to candidates hired within the United States.
Where you fall within that range depends on the depth and relevance of your experience, your skills, and how you perform in our interview process. Because great candidates don’t always map neatly to a single level, we may also consider someone for a level above or below the one posted. If we do, the range will be adjusted to match, and we’ll talk it through with you openly.
Base salary is also just one part of your total compensation. Eligible employees take part in our equity program and receive the benefits described above. We’d rather talk about all of this early than leave you guessing, so your recruiter is happy to walk you through the range, how offers come together, and anything else that matters to you, at any point in the process.
Privacy Policy
To learn how we collect, use, and protect your information during the hiring process, see our Privacy Policy.
Interested?Senior Backend Engineer, Platform & API at Stability AI
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on TypeScript, AWS, Kubernetes and 5 more
Interview questions for this job
For the skills the ad mentions: TypeScript, AWS, Kubernetes, Go, Python, SQL, PostgreSQL and Machine learning.
'unknown' vs. 'any'TypeScript
You can read more about
unknownin the PR or the RC announcement, but the gist of it is:[..] unknown which is the type-safe counterpart of any. Anything is assignable to unknown, but unknown isn't assignable to anything but itself and any without a type assertion or a control flow based narrowing. Likewise, no operations are permitted on an unknown without first asserting or narrowing to a more specific type.
A few examples:
let vAny: any = 10; // We can assign anything to any let vUnknown: unknown = 10; // We can assign anything to unknown just like any let s1: string = vAny; // Any is assignable to anything let s2: string = vUnknown; // Invalid; we can't assign vUnknown to any other type (without an explicit assertion) vAny.method(); // Ok; anything goes with any vUnknown.method(); // Not ok; we don't know anything about this variableThe suggested usage is:
There are often times where we want to describe the least-capable type in TypeScript. This is useful for APIs that want to signal “this can be any value, so you must perform some type of checking before you use it”. This forces users to safely introspect returned values.
From Stack Overflow: asked by Jac Mos, answered by Titian Cernicova-Dragomir (CC BY-SA 4.0)
What is an AMI?AWS
- An AMI (Amazon Machine Image) is a pre-configured and templated virtual machine image used to create virtual servers (EC2 instances) in Amazon Web Services (AWS). It contains an operating system, software applications, and any custom configurations needed for your cloud-based servers. AMIs enable you to quickly launch and replicate server instances, making it easier to scale your infrastructure and deploy consistent computing environments.
From Tech Vault (Apache 2.0)
Combine Docker Swarm and KubernetesKubernetes
Update: Docker just released support for Kubernetes as scheduler, which changes the situation and makes Kubernetes just an alternative scheduler to Docker Swarm.
TL;DR: DON'T DO IT. Engineers always try to create these dog-pigs. Every unnecessary technology you bring will bring another whole set of faults. If you can pick one, then pick one and be happy you don't have to do both. If you like to play with Kubernetes, just get a private account on Google Cloud and play with it as much as you like. But don't make everyone at your company suffer through unnecessary complications.
Those are two parallel and mostly equivalent technologies. If your business had legitimate business reason to deploy in multiple Cloud providers for reliability for example and wanted to deploy into both AWS ECS (Elastic Container Service - based on Docker) and Google GKE (Container Engine - based on Kubernetes) and you were asking how do you build a pipeline, which would build your software and package in containers for deployment in both, that would be something else, but doing it just because you want to play with a new technology is very irresponsible.
From DevOps Stack Exchange: asked by EvanM, answered by Jiri Klouda (CC BY-SA 3.0)
How do I get dynamic dispatch of methods?Go
The only way to have dynamically dispatched methods is through an interface. Methods on a struct or any other concrete type are always resolved statically.
From Go Frequently Asked Questions (CC BY 4.0)
What is the difference between __str__ and __repr__?Python
Alex Martelli summarized well but, surprisingly, was too succinct.
First, let me reiterate the main points in Alex’s post:
- The default implementation is useless (it’s hard to think of one which wouldn’t be, but yeah)
__repr__goal is to be unambiguous__str__goal is to be readable- Container’s
__str__uses contained objects’__repr__
Default implementation is useless
This is mostly a surprise because Python’s defaults tend to be fairly useful. However, in this case, having a default for
__repr__which would act like:return "%s(%r)" % (self.__class__, self.__dict__)Or in new f-string formatting:
return f"{self.__class__!s}({self.__dict__!r})"would have been too dangerous (for example, too easy to get into infinite recursion if objects reference each other). So Python cops out. Note that there is one default which is true: if
__repr__is defined, and__str__is not, the object will behave as though__str__=__repr__.This means, in simple terms: almost every object you implement should have a functional
__repr__that’s usable for understanding the object. Implementing__str__is optional: do that if you need a “pretty print” functionality (for example, used by a report generator).The goal of
__repr__is to be unambiguousLet me come right out and say it — I do not believe in debuggers. I don’t really know how to use any debugger, and have never used one seriously. Furthermore, I believe that the big fault in debuggers is their basic nature — most failures I debug happened a long long time ago, in a galaxy far far away. This means that I do believe, with religious fervor, in logging. Logging is the lifeblood of any decent fire-and-forget server system. Python makes it easy to log: with maybe some project specific wrappers, all you need is a
log(INFO, "I am in the weird function and a is", a, "and b is", b, "but I got a null C — using default", default_c)But you have to do the last step — make sure every object you implement has a useful repr, so code like that can just work. This is why the “eval” thing comes up: if you have enough information so
eval(repr(c))==c, that means you know everything there is to know aboutc. If that’s easy enough, at least in a fuzzy way, do it. If not, make sure you have enough information aboutcanyway. I usually use an eval-like format:"MyClass(this=%r,that=%r)" % (self.this,self.that). It does not mean that you can actually construct MyClass, or that those are the right constructor arguments — but it is a useful form to express “this is everything you need to know about this instance”.Note: I used
%rabove, not%s. You always want to userepr()[or%rformatting character, equivalently] inside__repr__implementation, or you’re defeating the goal of repr. You want to be able to differentiateMyClass(3)andMyClass("3").The goal of
__str__is to be readableSpecifically, it is not intended to be unambiguous — notice that
str(3)==str("3"). Likewise, if you implement an IP abstraction, having the str of it look like 192.168.1.1 is just fine. When implementing a date/time abstraction, the str can be "2010/4/12 15:35:22", etc. The goal is to represent it in a way that a user, not a programmer, would want to read it. Chop off useless digits, pretend to be some other class — as long is it supports readability, it is an improvement.Container’s
__str__uses contained objects’__repr__This seems surprising, doesn’t it? It is a little, but how readable would it be if it used their
__str__?[moshe is, 3, hello world, this is a list, oh I don't know, containing just 4 elements]Read the rest at the sourceFrom Stack Overflow: asked by Casebash, answered by moshez (CC BY-SA 4.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
- Software LeadClera, San Francisco Bay Area, on-siteToday
- Ruby API Senior Developer (Remote Opportunity)VetsEZ, Remote in the USToday
- Software Developer – Enterprise Microservices and API SystemsGeneral Dynamics Information Technology, Remote in the USToday
- Systems/Software Engineer - Interface DevelopmentCACI International Inc, Remote in the USToday
More like this: Backend developer jobs in the USA (630) and Remote Backend developer jobs in the USA (356)



