https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • x

    Xyo

    07/27/2021, 1:54 PM
    Supabase if fast
  • x

    Xyo

    07/27/2021, 1:54 PM
    So is firebase.
  • x

    Xyo

    07/27/2021, 1:55 PM
    The difference is, firebase is amazing to prototype on and get an MVP out.
  • s

    Scott P

    07/27/2021, 1:55 PM
    I have a table with around 40 million rows in it. With some sensible table partitions, indexes, and well-written queries as stored functions inside the DB, I have a latency of around 100-200ms on lookup (it might even be faster now, I've not tested it for a few months). It's plenty fast enough as long as you approach it correctly.
  • x

    Xyo

    07/27/2021, 1:55 PM
    Then you gotta find a bank to take out a loan to pay for the bandwidth and over usage
  • x

    Xyo

    07/27/2021, 1:55 PM
    Meanwhile, Supabase actually has predictable costs.
  • a

    a d

    07/27/2021, 1:56 PM
    omg wow thanks for this
  • x

    Xyo

    07/27/2021, 1:56 PM
    Note: don’t be me and fetch 4MB of data through PostgREST 😂
  • x

    Xyo

    07/27/2021, 1:56 PM
    Kong is gonna cause some serious disk buffering and probably fail on the aws disk credits quota
  • a

    a d

    07/27/2021, 1:57 PM
    isee
  • w

    wiesson

    07/27/2021, 1:57 PM
    Are the docs for
    Storage v2
    already online? 😱
  • a

    a d

    07/27/2021, 1:58 PM
    yea that happens with firebase too imean response time is pretty slow at first query idk why
  • a

    a d

    07/27/2021, 1:58 PM
    sometimes*
  • s

    Scott P

    07/27/2021, 1:59 PM
    I'd say this is one of the biggest deciding factors for many projects. Costs can be mostly ignored for smaller projects, but a good mindset to have is "What if I choose to scale this up to thousands of users?". That's where Firebase and such will start to catch you out, and you don't even have the option of self-hosting those, so the costs are unavoidable. I'd much rather pay $25 a month and know what I'm getting, than have to predict a bunch of unknowns, put them into a calculator form that's not exactly straightforward, and then hope I don't exceed my predictions.
  • x

    Xyo

    07/27/2021, 1:59 PM
    Oh I was talking about actual failure with Supabase on large responses, not just delays.
  • x

    Xyo

    07/27/2021, 2:00 PM
    Funny, the calculators for the big 3 never actually gave me any real value, ever lol
  • x

    Xyo

    07/27/2021, 2:01 PM
    And that was for when I could actually estimate all the usages, which won’t be the case for a lot of projects.
  • a

    a d

    07/27/2021, 2:01 PM
    ohisee is that issue solvable i mean with future updates
  • s

    Scott P

    07/27/2021, 2:01 PM
    The Azure Cosmos one was the easiest, but it was still like 10x what I would pay for Supabase. My entire architecture costs less than just DB would on most other platforms
  • x

    Xyo

    07/27/2021, 2:01 PM
    I mean, that issue isn’t really much of an issue. You shouldn’t be piping that much data through an API to begin with
  • h

    Hal

    07/27/2021, 2:02 PM
    Not sure if you want to extend auth.user table field. It's not possible for now. Had a discussion here. https://github.com/supabase/supabase/discussions/2345#discussioncomment-1015880
  • x

    Xyo

    07/27/2021, 2:03 PM
    But yeah, Supabase is definitely a worthy alternative to Firebase - some would argue is much better.
  • a

    a d

    07/27/2021, 2:03 PM
    mhm okay
  • x

    Xyo

    07/27/2021, 2:03 PM
    It all depends on what you need. I need a database and I don't want to deal with devops/infrastructure. That's where Supabase comes in
  • a

    a d

    07/27/2021, 2:03 PM
    yeah and self hostable
  • s

    Scott P

    07/27/2021, 2:05 PM
    If you're needing to pipe large amounts of data, I believe the storage endpoint is the way to go. For example, if you've got a 'user uploads' section, create a bucket for that user, and then store the URL to the bucket in the user record (as opposed to storing blobs in the database)
  • u

    user

    07/27/2021, 2:07 PM
    @Lio wouldn't it theoretically be slow? cause it's a two-step process to hit the db
  • u

    user

    07/27/2021, 2:08 PM
    your app - ur backend - supabase - postgres db
  • x

    Xyo

    07/27/2021, 2:09 PM
    Supabase -> pgsql is super fast
  • x

    Xyo

    07/27/2021, 2:09 PM
    backend -> supabase can also be extremely fast depending on how you set up your thing region wise and infrastructure wise.
1...121314...392Latest