It's a little silly that we have a three-step deployment for what's essentially a simple database query.
- There's nothing dynamic about the frontend; it should be in a CDN, not a container.
- There's very little dynamic about the backend; it just connects to a database, and we can do that with DuckDB-WASM (npm).
- The database prep run needs to happen, but the result could in theory sit in S3/Cloudfront/any other CDN, since it doesn't contain private information. (And the process could be simplified with some drop site that we put updated SQL dump into, but that's outside of the scope of this issue.)
This could be an interesting research project for investigating the new Cloudflare functionalities (Durable objects etc.) - I'm not sure they fit in, though, since the end result really could be a simple S3 deployment.
To do:
It's a little silly that we have a three-step deployment for what's essentially a simple database query.
This could be an interesting research project for investigating the new Cloudflare functionalities (Durable objects etc.) - I'm not sure they fit in, though, since the end result really could be a simple S3 deployment.
To do:
adk-wrapped.duckdbobject deployed alongside the built frontend