I am an architect, developer and server administrator, team leader with more than 20 years of experience and dozens of large projects from analysis, through frontend/backend, to database, network and hardware.
I am considering whether to use the PostgreSQL database directly for the project and program all my own backend, or to use self-hosted Supabase with row-level security, which would eliminate approx. 70-80% backend for GraphQL/REST API. The time saved on backend programming could be spent on other useful functions for end users - integrating AI into some processes, etc.
The entire solution will be run on our own powerful servers (AMD EPYC 9554, Intel Optane NVME drives, 768GB DDR5 RAM)
Does anyone have any current experience (not more than 6 months old) on the basis of which you would recommend or not recommend Supabase for such a project? I've read a couple of negative experiences from 2023, but I wonder if it has improved over the last year. If you answer, please provide specific experience and why YES/NO.
Thank you very much for any advice.
Supabase works best with single page apps. However a lot of the frameworks are moving towards server side react, so the need for having a rest API is going away.
So I would actually say use nextjs and get an AI such as bolt to generate an MVP.
If you are running AI such as LLM's you need GPU's. LLM's are constrained by memory bandwidth not CPU and GPUS have a ton of memory bandwidth.
Postgres is always a sold choice and RLS is defence in depth anyway.
The number 1 feature of your project should be security. Supabase is just Postgres + tools - it will be as secure as you decide to make it.