5 ms·
Note sure, but I like how you think. there is this: https://ma.rkusa.st/store-sqlite-in-cloudflare-durable-objects https://ma.rkusa.st/store-sqlite-in-cloudfla
by miahwilde 3y ago
Note sure, but I like how you think.
there is this: https://ma.rkusa.st/store-sqlite-in-cloudflare-durable-objects https://ma.rkusa.st/store-sqlite-in-cloudflare-durable-objec...
and this: https://developers.cloudflare.com/d1/ https://developers.cloudflare.com/d1/
So I'm thinking it could (be made to) work.
- orkj 3y agoI did know of those, I'm just assuming its going to cause some sort of problem with network calls and sockets and what not (they mention this specifically as part of the caveats)
- orkj 3y agoReplying to myself. I guess I read that a bit too quickly: > In Node.js, the answer involves a WebSocket to TCP socket proxy, Asyncify, and patching deep PHP internals like php_select. It's complex, but there's a reward. The Node.js-targeted PHP build can request web APIs, install composer packages, and even connect to a MySQL server. Hm, that sounds very interesting and promising