Re:Ask HN: The state of Firebase alternatives in 2020?
by kiwicopple on Tuesday October 20, 2020 @11:40PM
(#24844548)
> Does scaling a Supabase app basically just boil down to scaling a Postgres database?
Correct. We will soon add vertical/horizontal scaling (early next year). For concurrent connections, we use PostgREST[1] for RESTful calls, and an Elixir/Phoenix server [2] for realtime data. This reduces the number of connections to your DB, handling concurrency in the middleware. We are building the benchmarks now, but "enterprise scale" is top of mind with everything we are doing.
Correct. We will soon add vertical/horizontal scaling (early next year). For concurrent connections, we use PostgREST[1] for RESTful calls, and an Elixir/Phoenix server [2] for realtime data. This reduces the number of connections to your DB, handling concurrency in the middleware. We are building the benchmarks now, but "enterprise scale" is top of mind with everything we are doing.
> Do you have a built in authentication solution?
Yes, we use GoTrue [3] for authentication, and we use Postgres Row Level Security for authorization. You can read more about it here: https://supabase.io/blog/2020/08/05/supabase-auth
[1] http://postgrest.org/en/v7.0.0/
[2] https://github.com/supabase/realtime
[3] https://github.com/netlify/gotrue