▲ | kentonv 3 days ago | |
Well, if the server is a Cloudflare Durable Object running sqlite, then the round-trip to the database is free. https://www.sqlite.org/np1queryprob.html But you are right that this won't work great with traditional databases without significantly more magic on the server side, and in that sense the comparison with GraphQL is... aggressive :) It is still much better than making all the calls client-side, of course. And there are many use cases where you're not querying a database. And maybe there can be some fusion between GraphQL server infrastructure and this RPC-oriented syntax that gives people the best of both worlds? |