number7evennumber7even
  • About
  • Services
  • Products
  • Projects
  • Journal
  • Configure
  • Animate your logo
Configure your projectConfigure your project
number7evennumber7even
  • About
  • Services
  • Products
  • Projects
  • Journal
  • Configure
  • Animate your logo
  • +49 89 318 37437

Menu

← Journal

Architecture

Supabase at Scale: Lessons from 10M Rows

1 min read

Everything was fine at 1M rows. At 5M, some queries slowed. At 10M, three critical paths exceeded 500ms.

section

What We Learned

  • Index your RLS predicates: If your policy checks auth.uid() = user_id, index user_id
  • Use PgBouncer: Tune pool_size and server_idle_timeout
  • Partition early: Time-series data should be partitioned by month from day one
  • Materialized views: For complex aggregations, materialize and refresh on schedule
section

After Optimization

  • Average query: 520ms → 12ms
  • Connection overhead: 180ms → 3ms
  • RLS evaluation: 340ms → 0.8ms

More on this

Architecture

Real-Time WebSocket Orchestration

Building a fault-tolerant WebSocket mesh that handles 50K concurrent voice sessions.

1 min read

Architecture

Architecture of a Voice Agent

How we designed VoiceComOS to handle sub-200ms response times across three continents.

1 min read

number7even

Want this built for you?

We architect and ship AI-native products, and move websites onto a modern platform.

Talk to usTalk to us
number7even

We build AI-native products.

Contact

  • Eisolzriederstraße 12
  • 80999 München
  • Tel. +49 89 318 37437
  • connect@number7even.com

Navigation

  • About
  • Services
  • Products
  • Projects
  • Journal
  • Configure
  • Animate your logo

Legal

  • Imprint
  • Privacy

© 2026 number7even