lambrospetrou / tiddlyflare

Hosting platform for TIddlyWikis.
https://tiddly.lambros.dev
MIT License
4 stars 1 forks source link

The WikiDO heartbeats to the TenantDO after PUTs #3

Open lambrospetrou opened 2 days ago

lambrospetrou commented 2 days ago

To avoid leaking WikiDOs that are created but somehow failed before they were written into the tenant DO, we want to make the Wiki DO call back to the Tenant DO once successfully some time after its creation.

Once it succeeds once, it never has to do it again. We can use alarms for this.

lambrospetrou commented 2 days ago

Another option is to "heartbeat" back to the TenantDO after PUTs on the wiki content, so that the tenant always knows last update and also database size, and last wiki size.