Benchmark Supabase (fly.io)

Open
#6 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
supabase

Research direction

The issue contains Fly configuration and read/write benchmark results but names no repository files, tests, or concrete change. Start by reviewing the benchmark setup and the Supabase/PostgREST run described here; done would require a clearly defined comparison or updated benchmark results.

Written by the indexing model from the issue text.

Description

Chore

  • Running Database on Supabase
  • Attached PostgREST directly to the Supabase database
  • Running benchmarks directly to the PostgREST (no kong)
Results
Instance vCPU RAM Price Read Write Comments
AWS t3a.micro 2 1 $6.80 303/s 307/s
Fly micro-1x shared 128MB $2.67 171/s 235/s Reached request duration threshold
Fly micro-2x shared 512MB $8 206/s 277/s
Fly config
app = "postgrest"

[build]
  image = "postgrest/postgrest"

[[services]]
  internal_port = 3000
  protocol = "tcp"

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20

  [[services.ports]]
    handlers = ["http"]
    port = "80"

  [[services.ports]]
    handlers = ["tls", "http"]
    port = "443"

  [[services.tcp_checks]]
    interval = 10000
    timeout = 2000
Read benchmarks

image

Write benchmarks

image

Dominant language
SCSS
Stars
58
Forks
8
Avg merge
6d 10h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/benchmarks

All issues in supabase/benchmarks

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.