lindqvist.db

Distributed database & storage engineer

Data has to live somewhere.

See the shards →Booking database scaling projects

Freja Lindqvist·Storage engineer

nodes · click to add or remove

keys per node

work

Spread with care

Eight databases, caches and stores I helped grow past one machine. The tag is what changed after the move.

Session cache ring
−97% cold misses
Caching

Session cache ring

Streaming service

A consistent-hashing cache tier that adds nodes during peak without a cache stampede.

shard2025
Orders sharding
8 → 64 shards
Databases

Orders sharding

E-commerce group

Customer-keyed sharding for an orders database that outgrew its biggest server.

shard2024
Online resharding
0 downtime
Migration

Online resharding

Payments platform

Splitting live shards while they kept taking writes, with dual reads to verify.

shard2024
Geo-partitioning
EU stays in EU
Compliance

Geo-partitioning

Health-tech company

Rows pinned to regions so personal data never leaves the country it belongs to.

shard2023
Time-series store
40B points/day
Telemetry

Time-series store

Energy grid operator

Time-bucketed partitions with rollups that keep a decade of meter data queryable.

shard2023
Zone replication
RPO 0
Availability

Zone replication

Bank

Synchronous replication across three zones with automatic leader moves.

shard2022
Search index shards
p99 −60%
Search

Search index shards

Marketplace

Index shards rebalanced by query load instead of document count.

shard2022
Storage tiering
−54% cost
Cost

Storage tiering

Media archive

Hot, warm and cold tiers with objects moving automatically as they age.

shard2021
services

Room to grow

Databases that outgrew one machine — partitioning, replication and migrations planned so nobody notices the move.

Sharding design

From · 180 tkr — Shard keys, partition schemes and routing chosen for your queries.

Online migrations

From · 260 tkr — Resharding and database moves with zero downtime and verified data.

Replication & HA

From · 150 tkr — Replicas, failover and recovery targets you have actually tested.

Database review

Fixed · 60 tkr — Two weeks with your schema, queries and growth, and a scaling plan.

shard-key chooser

Pick the key, live with it

Twenty thousand orders from a growing shop, split across eight shards. The key you shard on decides how big each shard gets, where new writes pile up and how many shards every query has to ask. Try each one.

queryshards asked
how I work

Round the ring

  1. Measure

    Data sizes, growth, hottest keys and the queries that matter most.

  2. Choose the key

    Model the options on your real data before anything moves.

  3. Move safely

    Dual writes, backfills and verification, one shard at a time.

  4. Watch the balance

    Skew and hot-spot alerts so the next split is planned, not urgent.

Freja Lindqvist
Freja Lindqvist · Storage engineer
about

I decide where every row lives.

I'm Freja, a storage engineer in Stockholm. For eleven years I've built and scaled databases, caches and object stores for streaming, payments, energy and health-tech companies.

Most scaling pain comes from one early decision: the key you split on. I help teams choose it well, and move their data safely when they didn't.

PostgreSQL · CitusCassandra · ScyllaRedisRust · GoOnline migrations
11 yrsin storage systems
3 PBlargest dataset moved
0 mindowntime in my migrations
after the move

In their own words

We went from eight shards to sixty-four during business hours and nobody noticed.
Erik SandbergHead of data platform, e-commerce group
Freja's resharding plan had a verification step for everything. We slept well.
Amira SalehCTO, payments platform
She found our hot shard before our customers did.
Jonas BergSRE lead, marketplace
clients

Data that found a home

  • Streaming service
  • E-commerce group
  • Payments platform
  • Health-tech company
  • Energy grid operator
  • Bank
  • Marketplace
  • Media archive

talks & awards

2025Your shard key is a product decisionTalk · database conference
2023Resharding without fearTalk · Nordic PostgreSQL day
2022Engineering awardSwedish tech awards
2020ContributorOpen-source sharding extension
contact

Show me your biggest table

Tell me about your data, its growth and the query that worries you. I reply within a day.

Based in
Stockholm, Sweden · remote
Phone
+46 8 000 00 28
Local time
· local
Elsewhere
InstagramBehanceDribbbleLinkedIn
I'd like
Start

Made withSitesfareReport