Software Engineer - Functions (Compute)
Software engineeringPosted over 2 months agofrom Supabase's own hiring page
- Work type
- RemoteOpen worldwide
- Experience
- 5+ years
- Pay
- Not listed
- Posted
- Over 2 months agoOpen 6 months
From the ad
On-call rotation
Participating in an on-call rotation to keep Compute healthy in production
Skills it mentions
Add your skills to see which ones you have.
About the job
About Supabase
Supabase is the Postgres development platform, built by developers for developers. We provide a complete backend solution including Database, Auth, Storage, Edge Functions, Realtime, and Vector Search. All services are deeply integrated and designed for growth.
Compute is our newly launched microVM architecture for running agentic workloads, operating alongside our existing Edge Functions service for server-side TypeScript functions distributed globally at the edge.
We want developers to be able to build truly global applications by distributing both compute and data globally. Infrastructure concerns like regions, cold starts, CPU and memory provisioning should fade into the background so developers can focus on iterating on business logic, and fast, flexible runtimes a growing range of agent-driven code.
We are looking for experienced and passionate engineers to help us go further in this vision.
What You’ll Own
Help build & architect the Supabase Compute platform, built on Firecracker microVMs.
Implementing monitoring, alerting, and OpenTelemetry tracing across the runtime, then using that visibility to drive optimizations that improve latency and reliability of the service.
Working closely with the Firecracker, Deno, and other open-source teams, contributing to upstream and relaying our users' requirements.
Participating in an on-call rotation to keep Compute healthy in production.
Help manage and improve features like scheduled functions, background tasks, WebSockets streaming, ephemeral file storage, and custom routing.
Integrating Compute more tightly with the rest of the Supabase stack — Auth, Postgres, Storage, and Realtime.
Expanding the Compute runtime to support more use cases (AI inference, MCP servers, hosting simple websites, URL shorteners).
Improving the DX of developing and debugging Compute locally through the Supabase CLI, including DevTools integration, logging, and production parity.
What You’ll Bring
At least 5 years of backend or systems engineering experience, with strong fluency in Rust and TypeScript.
Experience with Firecracker, V8 Isolates, Deno, and related runtime isolation technologies .
Experience operating infrastructure at scale — Kubernetes, AWS (EC2/Lambda/MicroVM), Cloudflare Workers, Redis, or comparable systems.
A strong vision for how compute and data can be pushed to the edge.
Bonus: experience building developer-facing CLIs or front-end tooling that sits on top of an infrastructure product.
What We Offer
Fully Remote
We hire globally. We believe you can do your best work from anywhere. There are no Supabase offices, but we provide a WeWork membership or co-working allowance you can use anywhere in the world.
ESOP
Every team member receives ESOP (equity ownership) in the company. We want everyone to share in the upside of what we’re building together.
Tech Allowance
Use this budget to set up your ideal work environment—laptop, monitor, headphones, or whatever helps you do your best work.
Health Benefits
Supabase covers 100% of health insurance for employees and 80% for dependents, wherever you are. Your wellbeing and your family’s health are important to us.
Annual Off-Sites
Once a year, the entire company gathers in a new city for a week of connection, collaboration, and fun. It’s a highlight of our year.
Flexible Work
We operate asynchronously and trust you to manage your own time. You know what needs to be done and when.
Professional Development
Every team member receives an annual education allowance to spend on learning—courses, books, conferences, or anything that supports your growth.
About the Team
Supabase was born-remote and open-source-first. We believe our globally distributed team is our secret weapon in building tools developers love.
~400 team members
60+ countries
20+ languages spoken
Over $1B raised (including our $500M Series F)
540,000+ community members
We move fast, build in public, and use what we ship. If it’s in your project, we probably use it in ours too. We believe deeply in the open-source ecosystem and strive to support—not replace—existing tools and communities.
Interested?Software Engineer - Functions (Compute) at Supabase
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on AWS, PostgreSQL, Rust and 3 more
Interview questions for this job
For the skills the ad mentions: AWS, PostgreSQL, Rust, TypeScript, Kubernetes and Redis.
When to use Amazon Cloudfront or S3?AWS
Amazon S3 is designed for large-capacity, low-cost file storage in one specific geographical region.* The storage and bandwidth costs are quite low.
Amazon CloudFront is a Content Delivery Network (CDN) which proxies and caches web data at edge locations as close to users as possible.
When end users request an object using this domain name, they are automatically routed to the nearest edge location for high performance delivery of your content. (Amazon)
The data served by CloudFront may or may not come from S3. Since it is more optimized for delivery speed, the bandwidth costs a little more.
If your user base is localized, you won't see too much difference working with S3 or CloudFront (but you have to choose the right location for your S3 bucket: US, EU, APAC). If your user base is spread globally and speed is important, CloudFront may be a better option.
Both S3 and CloudFront allow domain aliases, however CloudFront allows multiple aliases so that
d1.mystatics.com,d2.mystatics.comandd3.mystatics.comcould all point to the same location increasing the capacity for parallel downloads (this used to be recommended by Google but with the introduction of SPDY and HTTP/2 is of lesser importance).CloudFront also supports CORS as of 2014 (thanks sergiopantoja).
* Note: S3 can now automatically replicate to additional regions as of 2015.
From Stack Overflow: asked by Kamo, answered by eillarra (CC BY-SA 3.0)
What is faster, one big query or many small queries?PostgreSQL
What would address your question is the subject JOIN DECOMPOSITION.
According to Page 209 of the Book
You can decompose a join by running multiple single-table queries instead of a multitable join, and then performing the join in the application. For example, instead of this single query:
SELECT * FROM tag JOIN tag_post ON tag_post.tag_id = tag.id JOIN post ON tag_post.post_id = post.id WHERE tag.tag = 'mysql';You might run these queries:
SELECT * FROM tag WHERE tag = 'mysql'; SELECT * FROM tag_post WHERE tag_id=1234; SELECT * FROM post WHERE post.id IN (123,456,567,9098,8904);Why on earth would you do this ? It looks wasteful at first glance, because you've increased the number of queries without getting anything in return. However, such restructuring can actually give significant performance advantages:
- Caching can be more efficient. Many applications cache "objects" that map directly to tables. In this example, if the object with the tag
mysqlis already cached, the application will skip the first query. If you find posts with an ID of 123, 567, or 908 in the cache, you can remove them from theIN()list. The query cache might also benefit from this strategy. If only one of the tables changes frequently, decomposing a join can reduce the number of cache invalidations. - Executing the queries individually can sometimes reduce lock contention
- Doing joins in the application makes it easier to scale the database by placing tables on different servers.
- The queries themselves can be more efficient. In this example, using an
IN()list instead of a join lets MySQL sort row IDs and retrieve rows more optimally than might be possible with a join. - You can reduce redundant row accesses. Doing a join in the application means retrieving each row only once., whereas a join in the query is essentially a denormalization that might repeatedly access the same data. For the same reason, such restructuring might also reduce the total network traffic and memory usage.
- To some extent, you can view this technique as manually implementing a hash join instead of the nested loops algorithm MySQL uses to execute a join. A hash join might be more efficient.
As a result, doings joins in the application can be more efficient when you cache and reuse a lot of data from earlier queries, you distribute data across multiple servers, you replace joins with
IN()lists, or a join refers to the same table multiple times.OBSERVATION
I like the first bulletpoint because InnoDB is a little heavy-handed when it crosschecks the query cache.
Sep 05, 2012: Is the overhead of frequent query cache invalidation ever worth it?Jun 07, 2014: Why query_cache_type is disabled by default start from MySQL 5.6?
As for the last bulletpoint, I wrote a post back on Mar 11, 2013 (Is there an execution difference between a JOIN condition and a WHERE condition?) that describes the nested loop algorithm. After reading it, you will see how good join decomposition may be.
Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by sudo.ie, answered by RolandoMySQLDBA (CC BY-SA 4.0)
- Caching can be more efficient. Many applications cache "objects" that map directly to tables. In this example, if the object with the tag
What are Rust's exact auto-dereferencing rules?Rust
Your pseudo-code is pretty much correct. For this example, suppose we had a method call
foo.bar()wherefoo: T. I'm going to use the fully qualified syntax (FQS) to be unambiguous about what type the method is being called with, e.g.A::bar(foo)orA::bar(&***foo). I'm just going to write a pile of random capital letters, each one is just some arbitrary type/trait, exceptTis always the type of the original variablefoothat the method is called on.The core of the algorithm is:
- For each "dereference step"
U(that is, setU = Tand thenU = *T, ...)- if there's a method
barwhere the receiver type (the type ofselfin the method) matchesUexactly , use it (a "by value method") - otherwise, add one auto-ref (take
&or&mutof the receiver), and, if some method's receiver matches&U, use it (an "autorefd method")
- if there's a method
Notably, everything considers the "receiver type" of the method, not the
Selftype of the trait, i.e.impl ... for Foo { fn method(&self) {} }thinks about&Foowhen matching the method, andfn method2(&mut self)would think about&mut Foowhen matching.It is an error if there's ever multiple trait methods valid in the inner steps (that is, there can be only be zero or one trait methods valid in each of 1. or 2., but there can be one valid for each: the one from 1 will be taken first), and inherent methods take precedence over trait ones. It's also an error if we get to the end of the loop without finding anything that matches. It is also an error to have recursive
Derefimplementations, which make the loop infinite (they'll hit the "recursion limit").These rules seem to do-what-I-mean in most circumstances, although having the ability to write the unambiguous FQS form is very useful in some edge cases, and for sensible error messages for macro-generated code.
Only one auto-reference is added because
- if there was no bound, things get bad/slow, since every type can have an arbitrary number of references taken
- taking one reference
&fooretains a strong connection tofoo(it is the address offooitself), but taking more starts to lose it:&&foois the address of some temporary variable on the stack that stores&foo.
Examples
Suppose we have a call
foo.refm(), iffoohas type:Read the rest at the sourceFrom Stack Overflow: asked by kFYatek, answered by huon (CC BY-SA 4.0)
- For each "dereference step"
When to use JSX.Element vs ReactNode vs ReactElement?TypeScript
What is the difference between
JSX.Element,ReactNode, andReactElement?A
ReactElementis an object withtype,props, andkeyproperties:interface ReactElement< P = any, T extends | string | JSXElementConstructor<any> = string | JSXElementConstructor<any>, > { type: T; props: P; key: string | null; }A
JSX.Elementis aReactElement<any, any>. It exists as various libraries can implementJSXin their own way:declare global { // … namespace JSX { // … interface Element extends React.ReactElement<any, any> {} // … } // … }A
ReactPortalis aReactElementwith achildrenproperty:interface ReactPortal extends ReactElement { children: ReactNode; }A
ReactNodeis aReactElement,string,number,Iterable<ReactNode>,ReactPortal,boolean,null, orundefined:type ReactNode = | ReactElement | string | number | Iterable<ReactNode> | ReactPortal | boolean | null | undefined;Example:
<div> // <- ReactElement <Component> // <- ReactElement {condition && 'text'} // <- ReactNode </Component> </div>Why do the render methods of class components return ReactNode, but function components return ReactElement?
This is due to historical reasons.
A
Component.renderreturns aReactNode:class Component<P, S> { // … render(): ReactNode; // … }A
FunctionComponentreturns aReactElement<any, any> | null:interface FunctionComponent<P = {}> { (props: PropsWithChildren<P>, context?: any): ReactElement<any, any> | null; propTypes?: WeakValidationMap<P> | undefined; contextTypes?: ValidationMap<any> | undefined; defaultProps?: Partial<P> | undefined; displayName?: string | undefined; }How do I solve this with respect to null?
Type it as
ReactElement | nulljust as React does. Or let TypeScript infer the type.From Stack Overflow: asked by Golo Roden, answered by Jonas Wilms (CC BY-SA 4.0)
how to check running containers with containerd?Kubernetes
Try to namespace to list command
ctr -n k8s.io containers listTo list available namespaces run
ctr ns lsFor microk8s you have to prefix command with microk8s
eg:
microk8s ctr ns lsFrom DevOps Stack Exchange: asked by Serve Laurijssen, answered by fsp (CC BY-SA 4.0)
Have you ever taken the initiative?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
