Skip to content

Database Engineer

Tokyo, JP
Singapore
Palo Alto CA, US
Cambridge MA - US

Own the data layer behind one of the biggest crawlers on the web.

Ahrefs helps marketers get their brands found in search, in AI answers and on social. Under the product sits one of the largest datasets on the web, and someone has to keep it fast, correct and alive. 

The team

The Database team owns our databases and storage end to end, from the source code to production. We run ClickHouse, MooseFS, SeaweedFS, TiDB and Elasticsearch on about 1,200 servers holding hundreds of petabytes, in data centres in Singapore, the US and the UK.

We don’t file tickets with vendors and wait. When a system doesn’t do what we need, we change its source, prove the change on production data and roll it out ourselves.

The job

You’ll build and run our data layer: ClickHouse, the MooseFS and SeaweedFS storage under it, and the TiDB and Elasticsearch clusters beside it. You write the code, you ship it, and you’re there when it meets production. You’ll work with AI coding agents as a normal part of the job.

Examples of what you’ll work on

  • Build storage and query features in ClickHouse, such as replication over a shared file system, and storage policies that place data by its merge history.
  • Keep up with upstream ClickHouse LTS releases, keep CI green and ship our own releases regularly.
  • Make MooseFS and SeaweedFS highly available and durable: Raft-based metadata servers, follower reads, an intent log, automatic re-replication.
  • Find performance problems in production profiles and fix them in the code, from query plans to FUSE clients.
  • Trace data corruption to its root cause, even when it’s in compression, the memory allocator or the compiler, and repair the damaged data.
  • Roll out releases and storage migrations across about 1,200 servers in three regions, without downtime.
  • Run and tune TiDB, TiKV, TiCDC and Elasticsearch: scheduling, replication lag, backups, disk balance.
  • Check risky designs with TLA+ and fault injection, and automate whatever repeats with watchdogs, balancers and dashboards.
  • Build an SRE agent that watches our database clusters, diagnoses incidents and proposes fixes.

You’re probably right for this if

  • You write strong C++, C and Rust, can work in Go, and feel at home in codebases of millions of lines.
  • You know database storage engines deeply: merges or compaction, replication logs, query execution.
  • You understand distributed consensus (Raft or Paxos) and what happens when things fail.
  • You know Linux storage internals: page cache, fsync, FUSE, file systems, and how NVMe and HDDs really behave.
  • You’ve run databases or storage on hundreds of nodes, and led the recovery when an incident hit.
  • You debug with gdb, perf and sanitizers.
  • You measure a change on production data before you call it a win.

Good to have

  • Contributions to an open-source database or file system.
  • OCaml. Much of our backend is written in it.
  • Puppet or a similar configuration management tool.

Why Ahrefs?

We give smart people real ownership and don’t micromanage them. Here that means a few hundred petabytes and the source code of the systems that hold them. Small team, no layers of process, and the hardware to do the job properly. We value honesty, results and simple solutions over complicated ones.

Ahrefs does not engage with agencies or third-party recruitment providers for the roles we hire for. If we need help, we’ll let you know.

Location: Singapore, Tokyo, Palo Alto (CA) or Cambridge (MA). On-site; you’ll need the right to work in the office you choose.

Ahrefs does not engage with agencies or third party recruitment solutions for the roles we hire for. If at any point we need help, we'll let you know! 

Join Ahrefs. Make an impact with a team that ships and cares.

Apply for this Job

Who we are

We are a small team that strongly believes that better technology leads to better solutions for real-world problems. We worship functional languages and static typing, extensively employ code generation and meta-programming, value code clarity and predictability, and constantly seek to automate repetitive tasks and eliminate boilerplate.

We are guided by DRY and follow KISS. If there is new technology that will make our life easier, we'll give it a try. We rely heavily on open-source code (as the only viable way to build maintainable system) and contribute back. We occasionally blog on tech.ahrefs.com.

Our motto is first do it, then do it right, then do it better

Hear from our team

Frontend

Every day is a new day where I get to solve interesting problems, or make improvements that have a positive impact on thousands of users.

Bryan Chen,

Frontend Developer

Marketing

You have autonomy to make things happen. Despite the size of Ahrefs’ business, I’m part of a really lean team—cool things you see from our platform or events are the result of self-driven initiatives from each of us

Constance Tan,

Product Marketer

Marketing

Being a Data Scientist at Ahrefs isn’t just about crunching numbers — it’s about learning, collaborating, and making real impact. The supportive team, challenging projects, and dynamic environment make every day an exciting opportunity for growth.

Xibeijia Guan,

Data Scientist

Hiring process

Hear from our recruiter about how we hire engineers

Read the Story
1

You apply

Simply apply for the relevant role on our careers site.

2

Recruiter call

Find out more about Ahrefs, our teams, culture, and get some hints on the process ahead.

3

An assignment

Real work from the team you’d join.

4

Team interviews

One, sometimes two, where you meet your future colleagues. There’s no LeetCode, coding puzzles, or whiteboard exercises.

5

Offer

No further rounds, no committee. Just look forward to joining the team!

Related positions


Backend

OCaml Developer

Tokyo, Japan
Singapore
Palo Alto, CA, United States
Cambridge, MA, United States