Samy
05/14/2023, 3:43 PMSkye
05/14/2023, 3:43 PMSamy
05/14/2023, 3:44 PMcharl
05/14/2023, 5:48 PMsathoro
05/14/2023, 5:48 PMkrondor
05/15/2023, 5:43 PMUnsmart | Tech debt
05/15/2023, 5:44 PMJacob Wright
05/15/2023, 9:03 PMJacob Wright
05/15/2023, 9:13 PMjesseditson
05/15/2023, 9:45 PMtype:guid
as keys and storing the data as blobs (I don’t need to query object values). If I do this, I’ll need some one-to-many indexes that wouldn’t be appropriate to store this way, so I’m wondering if I should put these in DO.
My questions:
Is this design incorrectly using KV or otherwise a bad idea?
Are indexes an appropriate use case for DO?
Outside of latency, is there a reason I should prefer density in a DO (e.g. putting multiple indexes in one DO) vs making a new DO per (object:relation) index?
I assume using D1 just for indexes would be inappropriate, but if not, where would it compete favorably (e.g. cost, ability to query multiple index “shards” from a single worker)?ckoeninger
05/15/2023, 9:55 PMckoeninger
05/15/2023, 9:56 PMjesseditson
05/15/2023, 11:02 PMguid:type
and values of lists of guids. They would change based on user-initiated actions, so would still be extremely read-dominant.jesseditson
05/15/2023, 11:04 PMjesseditson
05/15/2023, 11:08 PMLarry
05/16/2023, 1:32 AMsathoro
05/16/2023, 8:24 AMcannot access storage because object has moved to a different machine
this is happening quite a bit in our DO that we use as a queue, causing issues where it does a lot of work (that costs money in API costs) but we cannot save the result because the DO movedsathoro
05/16/2023, 8:27 AMsathoro
05/16/2023, 8:31 AMHardAtWork
05/16/2023, 8:41 AMHardAtWork
05/16/2023, 8:41 AMsathoro
05/16/2023, 8:58 AMarbfay
05/16/2023, 12:55 PMInvalid Durable Object ID. The ID does not match this Durable Object class.
I just bound a DO class to another worker, but now I get this error if I use the DO id created in another worker. (Worker A creates a DO, worker B tries to send requests to that DO)
I thought this would work?arbfay
05/16/2023, 12:58 PMmigration
in wrangler.toml
should be different. Any doc on that?arbfay
05/16/2023, 1:13 PMscript-name
in the configDani Foldi
05/16/2023, 1:13 PMDani Foldi
05/16/2023, 1:13 PMckoeninger
05/16/2023, 2:08 PMckoeninger
05/16/2023, 2:09 PMjesseditson
05/16/2023, 2:41 PM