Notion101 open jobs

Software Engineer, User Database Infrastructure

DevOps and SREPosted over 2 months agofrom Notion's own hiring page

Work type
RemoteIn the US
Experience
10+ years
Pay
$234k–352k a year
Posted
Over 2 months agoOpen 2 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 PostgreSQL, Go, TypeScript and 3 more

About the job

Who We Are

Notion is the collaborative AI workspace where teams and agents think together. We're building one place where your knowledge, projects, meetings, and AI tools live side by side, so work is faster, clearer, and less fragmented. Millions of individuals, small teams, and large companies run their work on Notion.

Notinos (our employees) are customer zero in bringing this future of work to life. We care about craft, building things that last, and the belief that great work is still fundamentally human. Our goal isn’t to ship the next feature. Each and every team of Notinos is working to set the standard for how humans work together in the AI era. From building a business’s system of record to making and managing AI agents to automating away the busy work, we care deeply about giving our customers more time for their life’s work.

About the Role:

This role will be based in San Francisco. We work from our offices on Mondays, Tuesdays and Thursdays (our Anchor Days) because we do our best thinking and building together in person. We’re looking for someone who’s excited to work alongside the team during those days.

You’ll build the systems that let any knowledge worker leverage fast, scalable databases without having to become a DBA.

You’ll be a hands-on technical leader, helping set the architectural direction and roadmap as we take a new product from early alpha to general availability. You’ll work directly with early customers to shape foundational technical and product decisions. Then, together, we’ll work on scaling as adoption and workloads grow.

This is a backend-leaning role with work spanning the stack. You might build the systems that provision and manage a fleet of customer Postgres instances, design how user-defined schemas evolve safely, or make complex queries execute efficiently. You’ll also follow those systems into the product: improving how a table loads, how users understand a slow operation, or how an agent safely works with their data.

You’ll help shape the architecture and the product together. Some problems call for a better abstraction, others for a better default, and others for rethinking what we ask the user to do in the first place. You’ll work with teammates and customers to find those answers, ship practical solutions, and evolve them as usage grows.

Our stack includes Postgres, Go, TypeScript, Node.js, and React.

About the Team:

The people who understand a business best aren’t always the people who can build its software. A support lead knows how tickets should be triaged. An operations manager knows how inventory should move. But turning that knowledge into a reliable system often means finding an engineer, provisioning a database, and building an application.

We’re building database infrastructure for everyone else. We want everyday knowledge workers to bring their data into Notion, connect it, and build workflows around it. And do so with the power of a real database (Postgres!) and the approachability of a tool they already know.

AI agents make that opportunity even bigger: helping people build and operate systems they couldn’t have created on their own.

For our team, this is much more than putting a friendly interface on Postgres. It means making hard database problems disappear from the user’s workflow without sacrificing correctness, performance, or flexibility. How do you let someone reshape a live database as easily as editing a document? Make the right indexes exist without asking someone to become a DBA? Let a weekend experiment grow into a company’s system of record without anyone having to rearchitect it?

What You'll Achieve:
  • Take a new product from alpha to general availability. Work with early customers to understand what matters, iterate on feedback, and help shape what we ship.

  • Make real customer workloads fast. Improve query execution, indexing, and client data loading so performance holds up as datasets grow and workflows become more demanding.

  • Build systems businesses can trust with their data. Make schema changes, concurrent writes, permissions, and recovery reliable enough for customers to build essential workflows on top.

  • Make powerful capabilities approachable. Turn database provisioning, migrations, and indexes into a reliable, easy-to-use product experience that gives people the power of a database without the burden of managing one.

  • Build for the customers who come next. Automate database provisioning and fleet operations, strengthen observability, and evolve the architecture so we can serve many, many customers.

Skills You'll Need to Bring:
  • Production relational database experience (e.g., Postgres or MySQL). You’ve made decisions about schemas and indexes, analyzed database performance, and debugged issues involving transactions, locking, or concurrency. Your experience goes beyond accessing a database through an ORM.

  • Engineering experience and technical leadership. You bring 10+ years of experience building and operating production software, with a track record of setting technical direction and leading complex, cross-team initiatives from concept through delivery. You identify the most important problems to solve, turn ambiguous goals into a technical strategy, and align engineers and partner teams around a practical plan. You stay hands-on while helping others make better decisions through design reviews, mentorship, and clear technical guidance.

  • Strong backend engineering fundamentals. You’ve built services that need to remain correct under concurrency and failure. You can reason about retries, partial failures, consistency, and the trade-offs involved in reliable reads and writes.

  • A systematic approach to performance. You use query plans, traces, profiles, and experiments to find bottlenecks and verify improvements. You’re willing to follow a problem across storage, services, and client code rather than stopping at a team boundary.

  • Product judgment. You’re interested in who will use what you build, not just how it works. You can turn a customer’s problem into a technical approach and recognize when a better default or simpler workflow would solve it more effectively.

  • Willingness to work across the stack. You bring backend depth, but you’re comfortable learning unfamiliar systems and working in client code when that’s what delivering a good experience requires.

  • Fluency with AI-assisted engineering. You use AI to accelerate exploration, implementation, and testing while taking responsibility for understanding and validating the result.

Nice to Haves:
  • Experience managing fleets of databases or building database platforms, including provisioning, upgrades, backups, and recovery.

  • Deep Postgres expertise, such as advanced query optimization, performance tuning, or workload isolation for large datasets and high-concurrency workloads.

  • Experience building query layers, sync engines, change-data-capture pipelines, permission systems, or other reusable data abstractions.

Notion is committed to providing highly competitive cash compensation, equity, and benefits. The compensation offered for this role will be based on multiple factors such as location, the role’s scope and complexity, and the candidate’s experience and expertise, and may vary from the range provided below. For roles based in San Francisco, the estimated base salary range for this role is $234,000 – $352,000 per year.

By clicking “Submit Application”, I understand and agree that Notion and its affiliates and subsidiaries will collect and process my information in accordance with Notion’s Global Recruiting Privacy Policy.

#LI-Onsite

A Note on AI

You don’t need deep AI expertise for every role, but we do expect every Notino to be intellectually curious, drawn to tinkering and discovery, and excited to use AI as a real collaborator in their work. For some roles, AI fluency is a core requirement — when that’s the case, we'll say so explicitly in the qualifications. People who thrive here don’t treat AI as a novelty. They use it to think better, and make their work easier for others to build on.

Equal Opportunity & Accommodations

We hire talented people from a wide range of backgrounds. If you’re excited about this role but don’t meet every bullet, we still encourage you to apply. Notion is an equal opportunity employer and does not discriminate on the basis of any legally protected characteristic. Consistent with applicable law, we will consider for employment qualified applicants with arrest and conviction records. Notion provides reasonable accommodations during the application process; if you need one, please let your recruiter know.

Notion is proud to be an equal opportunity employer. We do not discriminate in hiring or any employment decision based on race, color, religion, national origin, age, sex (including pregnancy, childbirth, or related medical conditions), marital status, ancestry, physical or mental disability, genetic information, veteran status, gender identity or expression, sexual orientation, or other applicable legally protected characteristic. Notion considers qualified applicants with criminal histories, consistent with applicable federal, state and local law. Notion is also committed to providing reasonable accommodations for qualified individuals with disabilities and disabled veterans in our job application procedures. If you need assistance or an accommodation due to a disability, please let your recruiter know.

Interested?Software Engineer, User Database Infrastructure at Notion

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on PostgreSQL, Go, TypeScript and 3 more

Interview questions for this job

For the skills the ad mentions: PostgreSQL, Go, TypeScript, Node.js, React and MySQL.

680 questions
  • Understanding "bitmap heap scan" and "bitmap index scan"PostgreSQL

    How does PostgreSQL knows by just a bitmap anything about rows' physical order?

    The bitmap is one bit per heap page. The bitmap index scan sets the bits based on the heap page address that the index entry points to.

    So when it goes to do the bitmap heap scan, it just does a linear table scan, reading the bitmap to see whether it should bother with a particular page or seek over it.

    Or generates the bitmap so that any element of it can be mapped to the pointer to a page easily?

    No, the bitmap corresponds 1:1 to heap pages.

    I wrote some more on this here.

    OK, it looks like you might be misunderstanding what "bitmap" means in this context.

    It's not a bit string like "101011" that's created for each heap page, or each index read, or whatever.

    The whole bitmap is a single bit array, with as many bits as there are heap pages in the relation being scanned.

    One bitmap is created by the first index scan, starting off with all entries 0 (false). Whenever an index entry that matches the search condition is found, the heap address pointed to by that index entry is looked up as an offset into the bitmap, and that bit is set to 1 (true). So rather than looking up the heap page directly, the bitmap index scan looks up the corresponding bit position in the bitmap.

    The second and further bitmap index scans do the same thing with the other indexes and the search conditions on them.

    Then each bitmap is ANDed together. The resulting bitmap has one bit for each heap page, where the bits are true only if they were true in all the individual bitmap index scans, i.e. the search condition matched for every index scan. These are the only heap pages we need to bother to load and examine. Since each heap page might contain multiple rows, we then have to examine each row to see if it matches all the conditions - that's what the "recheck cond" part is about.

    One crucial thing to understand with all this is that the tuple address in an index entry points to the row's ctid, which is a combination of the heap page number and the offset within the heap page. A bitmap index scan ignores the offsets, since it'll check the whole page anyway, and sets the bit if any row on that page matches the condition.

    Graphical example

    Heap, one square = one page:
    +---------------------------------------------+
    |c____u_____X___u___X_________u___cXcc______u_|
    +---------------------------------------------+
    Rows marked c match customers pkey condition.
    Rows marked u match username condition.
    Rows marked X match both conditions.
    Bitmap scan from customers_pkey:
    +---------------------------------------------+
    |100000000001000000010000000000000111100000000| bitmap 1
    +---------------------------------------------+
    One bit per heap page, in the same order as the heap
    Bits 1 when condition matches, 0 if not
    Bitmap scan from ix_cust_username:
    +---------------------------------------------+
    |000001000001000100010000000001000010000000010| bitmap 2
    +---------------------------------------------+
    

    Once the bitmaps are created a bitwise AND is performed on them:

    +---------------------------------------------+
    |100000000001000000010000000000000111100000000| bitmap 1
    |000001000001000100010000000001000010000000010| bitmap 2
     &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    |000000000001000000010000000000000010000000000| Combined bitmap
    +-----------+-------+--------------+----------+
                |       |              |
                v       v              v
    Used to scan the heap only for matching pages:
    +---------------------------------------------+
    |___________X_______X______________X__________|
    +---------------------------------------------+
    

    The bitmap heap scan then seeks to the start of each page and reads the page:

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by St.Antario, answered by Craig Ringer (CC BY-SA 3.0)

  • Why goroutines instead of threads?Go

    Goroutines are part of making concurrency easy to use. The idea, which has been around for a while, is to multiplex independently executing functions—coroutines—onto a set of threads. When a coroutine blocks, such as by calling a blocking system call, the run-time automatically moves other coroutines on the same operating system thread to a different, runnable thread so they won't be blocked. The programmer sees none of this, which is the point. The result, which we call goroutines, can be very cheap: they have little overhead beyond the memory for the stack, which is just a few kilobytes.

    To make the stacks small, Go's run-time uses resizable, bounded stacks. A newly minted goroutine is given a few kilobytes, which is almost always enough. When it isn't, the run-time grows (and shrinks) the memory for storing the stack automatically, allowing many goroutines to live in a modest amount of memory. The CPU overhead averages about three cheap instructions per function call. It is practical to create hundreds of thousands of goroutines in the same address space. If goroutines were just threads, system resources would run out at a much smaller number.

    From Go Frequently Asked Questions (CC BY 4.0)

  • 'unknown' vs. 'any'TypeScript

    You can read more about unknown in 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 variable
    

    The 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)

  • How to decide when to use Node.js?Node.js

    You did a great job of summarizing what's awesome about Node.js. My feeling is that Node.js is especially suited for applications where you'd like to maintain a persistent connection from the browser back to the server. Using a technique known as "long-polling", you can write an application that sends updates to the user in real time. Doing long polling on many of the web's giants, like Ruby on Rails or Django, would create immense load on the server, because each active client eats up one server process. This situation amounts to a tarpit attack. When you use something like Node.js, the server has no need of maintaining separate threads for each open connection.

    This means you can create a browser-based chat application in Node.js that takes almost no system resources to serve a great many clients. Any time you want to do this sort of long-polling, Node.js is a great option.

    It's worth mentioning that Ruby and Python both have tools to do this sort of thing (eventmachine and twisted, respectively), but that Node.js does it exceptionally well, and from the ground up. JavaScript is exceptionally well situated to a callback-based concurrency model, and it excels here. Also, being able to serialize and deserialize with JSON native to both the client and the server is pretty nifty.

    I look forward to reading other answers here, this is a fantastic question.

    It's worth pointing out that Node.js is also great for situations in which you'll be reusing a lot of code across the client/server gap. The Meteor framework makes this really easy, and a lot of folks are suggesting this might be the future of web development. I can say from experience that it's a whole lot of fun to write code in Meteor, and a big part of this is spending less time thinking about how you're going to restructure your data, so the code that runs in the browser can easily manipulate it and pass it back.

    Here's an article on Pyramid and long-polling, which turns out to be very easy to set up with a little help from gevent: TicTacToe and Long Polling with Pyramid.

    From Stack Overflow: asked by Legend, answered by Benson (CC BY-SA 3.0)

  • What are the different lifecycle methods?React
    • componentWillMount (deprecated) - this is most commonly used for App configuration in your root component.
    • componentDidMount - here you want to do all the setup you couldn’t do without a DOM, and start getting all the data you need. Also if you want to set up eventListeners etc. this lifecycle hook is a good place to do that.
    • componentWillReceiveProps (deprecated) - this lifecyclye acts on particular prop changes to trigger state transitions.
    • shouldComponentUpdate - if you’re worried about wasted renders shouldComponentUpdate is a great place to improve performance as it allows you to prevent a rerender if component receives new prop. shouldComponentUpdate should always return a boolean and based on what this is will determine if the component is rerendered or not.
    • componentWillUpdate (deprecated) - rarely used. It can be used instead of componentWillReceiveProps on a component that also has shouldComponentUpdate (but no access to previous props).
    • componentDidUpdate - also commonly used to update the DOM in response to prop or state changes.
    • componentWillUnmount - enables you can cancel any outgoing network requests, or remove all event listeners associated with the component.

    From React Interview Questions (MIT)

  • 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 San Francisco Bay Area (258), Jobs in San Francisco Bay Area (9,193), DevOps and SRE jobs in the USA (738) and Remote DevOps and SRE jobs in the USA (362)