Skip to content

Benchmark Supabase (fly.io) #6

Description

@kiwicopple

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions