Doing the Lord’s work in the Devil’s basement

  • 0 Posts
  • 54 Comments
Joined 1 year ago
cake
Cake day: May 8th, 2024

help-circle

  • Supabase unironically do exactly that. You’ve got your client, you login through OAuth, then use your JWT to connect directly to postgres.

    Your JWT contains your user id, which is used with row level security rules to determine which rows you can and cannot access. It’s pretty amazing what you can do with PG alone. The tooling is not quite there yet but that’s probably where we’re headed.










  • It’s very rare that the backend language significantly affects performance. In 99% of apps you could have the most optimized backend written directly in machine language, and you’d just shave off milliseconds.

    That’s because in web development most of the latency comes from i/o (network requests, database access, file access), not from computation being slow.