Hey everyone! I have a C++ application, that creates its own sqlite database for its internals. I w
Hey everyone!
I have a C++ application, that creates its own sqlite database for its internals. I want to use it in a Cloudflare Durable Object. I recompiled to Webassembly, created Emscripten bindings, so now I can trigger the creation of the aforementioned database from JS, in a Durable Object class.
Question:
https://developers.cloudflare.com/durable-objects/api/storage-api/#sql-api
Thanks
I have a C++ application, that creates its own sqlite database for its internals. I want to use it in a Cloudflare Durable Object. I recompiled to Webassembly, created Emscripten bindings, so now I can trigger the creation of the aforementioned database from JS, in a Durable Object class.
Question:
- is this setup taking advantage of the Durable Object setup ?
- or in other words, do I have to feed my query strings to
this.sql.exec(...) - or is the db created by my C++/WASM code is just as fast?
https://developers.cloudflare.com/durable-objects/api/storage-api/#sql-api
Thanks
Cloudflare Docs
The Durable Object Storage API allows Durable Objects to access transactional and strongly consistent storage. A Durable Object's attached storage is private to its unique instance and cannot be accessed by other objects.

