Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It feels the CDN edge functions are the new Jamstack. It's fast but comes at a high cost and the excitement shifted from static pages to literally data distributed near the user.


edge functions was an obvious complement for us. we already have database functions [0] which can be executed through a REST api (database co-location is great for data-intensive operations).

Edge Functions are deployed to 29 regions globally, which means that you can use them for low-cost, low-latency operations.

[0] Postgres Functions: https://supabase.com/docs/guides/database/functions


Static pages relied on the client being able to run JS to populate user-specific data. Also, a lot of data is fine with being eventually consistent, which is a good fit for edge functions. An example is rendering the account icon and username on the top write, without hitting a central database/static file server.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: