Elena Varga, software engineer

I make payment systems faster, cheaper to run and boring to operate.

For eleven years I have worked on ledgers, payouts and the APIs merchants call when a customer pays. Most of it is Go, Postgres and migrations careful enough that nobody notices them.

Role
Staff engineer, Hollis Payments
Based in
Copenhagen, CET
Working on
Splitting the ledger across three regions
Open to
Staff and principal roles from February 2027

One change, start to finish

Batching the nightly settlement reads

Every night Hollis settles about 1.2 million payouts. The job loaded ledger entries one payout at a time, so a merchant with 4,000 payouts meant 4,000 round trips to Postgres.

One query per merchant fixed it. The pull request was 16 lines.

settlement/settle.go −10 +6
41 41 // settle posts every payout for one merchant in a single pass.
42 42 func (s *Settler) settle(ctx context.Context, m Merchant) error {
43 - for _, p := range m.Payouts {
44 - entries, err := s.ledger.Entries(ctx, p.ID)
45 - if err != nil {
46 - return err
47 - }
48 - if err := s.post(ctx, p, entries); err != nil {
49 - return err
50 - }
51 - }
52 - return nil
43 + ids := payoutIDs(m.Payouts)
44 + entries, err := s.ledger.EntriesFor(ctx, ids)
45 + if err != nil {
46 + return fmt.Errorf("load entries for %s: %w", m.ID, err)
47 + }
48 + return s.postBatch(ctx, m.Payouts, entries)
53 49 }

840 ms to 120 ms

p99 settle time per merchant, first week after release

3 h 10 min to 41 min

Full nightly run, on the same database

Selected work

Five projects from the last seven years, each with the number we watched to know it had worked.

Elena Varga by a window in her apartment in Copenhagen

About

I grew up in Budapest and moved to Copenhagen for a master's in distributed systems at DTU. I stayed for the bikes and a job at a freight company, where I learned that most outages start in a migration somebody thought was small.

At Hollis I lead a group of nine engineers across the ledger and payouts teams. I still write code most days, review most of the schema changes and take my turn on call. Outside work I teach a Postgres evening course at Copenhagen Tech School.

  • 2022 to now Staff engineer Hollis Payments
  • 2018 to 2022 Senior engineer, card platform Lindgren Bank
  • 2015 to 2018 Backend engineer Tern Freight

Writing

A few times a year, mostly about databases and the ways payments fail.

  • Sep 2026

    Your ledger is a log, so treat it like one

    Hollis engineering blog

    12 min read
  • May 2026

    What we got wrong about idempotency keys

    Personal notes

    9 min read
  • Jan 2026

    Moving 400 million rows without a maintenance window

    Hollis engineering blog

    15 min read
  • Aug 2025

    Advisory locks in a payout scheduler

    Personal notes

    7 min read
  • Mar 2025

    On call for a system that moves money

    Personal notes

    10 min read
Elena speaking about Postgres at PGConf.EU in Prague
PGConf.EU, Prague, October 2025

Talks

  • GopherCon EU, Berlin2026

    A ledger in Go: the boring parts

  • PGConf.EU, Prague2025

    Splitting a Postgres primary without stopping the money

  • Copenhagen Go meetup2024

    Payout scheduling with advisory locks

Happy to speak at meetups in the Nordics. Ask me

Open source

  • pgoutboxMaintainer

    Transactional outbox for Go and Postgres. Used in production at Hollis and a handful of other payment companies.

  • moneyfmtMaintainer

    Formats and parses amounts in 160 currencies with the right minor units. No floats anywhere.

  • pgxContributor

    Batch query fixes and the copy-from benchmarks in the Go Postgres driver.

Contact

If you are building something where money has to arrive exactly once, I would like to hear about it.

hello@elenavarga.dev

I reply within two working days.

Open to staff and principal roles from February 2027, in Copenhagen or remote within Europe. I also take two advisory calls a month with payments teams, free for open source maintainers.