← All projects
Project record1 mention
Originally shared on Hacker News

Marginalia search

This search engine's backend is being migrated from docker-compose to systemd, using an exotic setup with network namespacing, NUMA awareness, and multiple public IPs so nginx can point straight at services, cutting about 10ms off response times by removing docker's networking layer. It also sequesters wide domains (those with tens of thousands of subdomains) into a separate crawler and index partition.

Last shared
01 / The problem

What it addresses

Per top-domain rate limits on wide domains (tens of thousands of subdomains) make crawls slow for the main crawler, and docker's janky ipvlan management prevented reliably restarting such services without spare IPs.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Marginalia search

    This search engine's backend is being migrated from docker-compose to systemd, using an exotic setup with network namespacing, NUMA awareness, and multiple public IPs so nginx can point straight at services, cutting about 10ms off response times by removing docker's networking layer. It also sequesters wide domains (those with tens of thousands of subdomains) into a separate crawler and index partition.

    Problem: Per top-domain rate limits on wide domains (tens of thousands of subdomains) make crawls slow for the main crawler, and docker's janky ipvlan management prevented reliably restarting such services without spare IPs.

    Posted by @marginalia_nu · Original source ↗

    Source text · @marginalia_nu · · Source ↗

    I've been migrating marginalia search off docker-compose and onto systemd.