Live data from Hacker News

Supabase Edge Runtime: Self-Hosted Deno Functions

supabase.com

31–40 of 105 posts

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#31
Is there something about Deno that makes Edge functions good to be based on it - Netlify also has its Edge functions in Deno https://docs.netlify.com/edge-functions/overview/ maybe just coincidence, but seen two edge functions in Deno implementations in the last hour so makes me wonder.

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#32
post #4

Earlier quoted context omitted.

HIPAA support this week? :)

We got SOC2 Type 2 last week, HIPAA is next. We won't do much of an announcement about SOC2, so you can consider this comment the "official announcement" :)

Having been through the pain of SOC2 Type 2, I'll consider this a big announcement as well!

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#33
Request pre-processing using JavaScript is amazing! Will I be able to deploy an Astro app on supabase edge functions? I'm building a multi-tenant B2B2C product on supabase that's deployed on a customer's sub-domain, so writing reverse proxy logic in js would be a boon.

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#34
How is the real world WASM story for typical server side languages like python, ruby, etc. these days? Last I looked at it WASM seemed to have a lot of warts and complications (and limited real world language support) vs. just spinning up a native process in a container. Can you go from for example python flask API source file to serving requests in WASM with minimal fuss or loss of functionality vs. native CPython?

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#35

hey hn, supabase ceo here This is a webserver for Deno. It is MIT licensed, written in Rust, and based on the latest Deno Runtime (1.32+). It can serve TypeScript, JavaScript, and WASM functions. This one is important for local development and self-hosting. For local development, it ensures there is parity between development and production. For self-hosting, it means you can deploy and manage your Deno Functions on…

Great work!

I've been dabbling with deno for a couple years now, one of the most powerful features I'm excited about is BroadcastChannel[1] support, which works with --unstable in Deno Deploy.

One of the challenges I've run into is debugging timeouts in deno deploy, so I'm curious--

1. is BroadcastChannel supported in supabase self-hosted edge functions? 2. is there more tooling available to supabase edge functions to debug than currently in deno deploy?

[1]: https://deno.com/deploy/docs/runtime-broadcast-channel

--- if curious of specifics, this is my work in progress proof of concept, exploring using pathnames for channels, to get anyone on the same url path connected across regions through sockets and broadcast channel: https://github.com/tylerchilds/kickstart/blob/869506c9dae1e1...

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#36

Do you have feature parity with Firebase. The main thing I love is getting auth up and running. The Flutter integration is also top notch.

Supabase Auth is very similar to Firebase Auth. Both are easy to setup with just a couple lines of code. The advantage, imo, is that Supabase just stores your user data in a regular Postgres database so you can then set up relations with other tables.

I haven't used Flutter, but it looks like Supabase has a flutter library and documentation on how to use it: https://supabase.com/docs/guides/getting-started/tutorials/w...

I used Firebase for a long time, and Supabase more recently. I have no desire to go back to Firebase. No longer having to obsess over read/write count (like you do with Firestore), and being able to leverage full SQL when needed, is a game changer.

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#37

does any one have good practical experience running Supabase locally? Its against their business model to have this run well so I'm a bit scared of the growing lock-in. (P.S. if Supabase is listening some customers like myself would be willing to pay a significant amount for support in a kubernetes/docker deployment running on our servers. We currently pay $50k - $100k simply for enterprise support contracts for each…

Yes! `supabase init` and `supabase start` gets most of the way there! Customizing the ports in `supabase/config.toml` makes having multiple supabase instances running easy. This works great for all the Postgres, auth, and storage things, as well as real-time functionality. My engineers have a single package.json script to get everything up and running.

I work at an agency, and the dev teams run supabase locally. We use Prisma for migrations and maintaining our SQL functions and storage configurations. `supabase stop --backup` is our friend.

Not being able to run multiple edge functions at a time kept us leaning into Cloud Run and Cloudflare. I'm excited about today's announcement.

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#38

hey hn, supabase ceo here This is a webserver for Deno. It is MIT licensed, written in Rust, and based on the latest Deno Runtime (1.32+). It can serve TypeScript, JavaScript, and WASM functions. This one is important for local development and self-hosting. For local development, it ensures there is parity between development and production. For self-hosting, it means you can deploy and manage your Deno Functions on…

Is Supabase targeted towards webdev "apps" or mobile "apps"? As a mobile dev I got excited to check out a Firebase + serverless alternative, but the docs seem very targeted towards webdevs and non-native apps. I see there's a 1.0 Swift library that's available, would love if someone can chime in with their experience using that in an iOS app.

They seem to have Flutter support but the lack of React Native support is non starter for me.

Re: Supabase Edge Runtime: Self-Hosted Deno Functions

#40

hey hn, supabase ceo here This is a webserver for Deno. It is MIT licensed, written in Rust, and based on the latest Deno Runtime (1.32+). It can serve TypeScript, JavaScript, and WASM functions. This one is important for local development and self-hosting. For local development, it ensures there is parity between development and production. For self-hosting, it means you can deploy and manage your Deno Functions on…

Any details about the removing of Kong? What did you use it for and how will this help with removing it?
Post reply on HN