Hacker News new | ask | show | jobs
by cpursley 1469 days ago
Woah, I had the same idea not so long ago. Right now I'm using GraphCDN but would much rather cache at the database level. Looks like this could be a drop in for lots of people already on Postgres & MySQL (meaning no more dog-slow Rails apps).

There was a cool article about intercepting the Postgres connection with Elixir not long ago: https://docs.statetrace.com/blog/build-a-postgres-proxy/

2 comments

PM at ReadySet here - that's the idea! We think sub ms reads while still using SQL are pretty cool :)

If you want to dig-in more, hop into our community slack: https://readysetcommunity.slack.com/

As an alternative, you can use WunderGraph (oss) to compile GraphQL Queries to REST Endpoints so that you can use fastly or Cloudflare as a CDN (and the Browser Cache obviously): https://wundergraph.com/docs/overview/features/caching It supports configurable Cache-Control Headers per Operation and comes with ETags out of the box, so content can be invalidated easily.
That's pretty cool, thanks.