missphyr
04/08/2023, 3:50 PMmissphyr
04/08/2023, 3:50 PMion
04/08/2023, 11:35 PMUnsmart | Tech debt
04/08/2023, 11:39 PMion
04/08/2023, 11:39 PMJacob Wright
04/10/2023, 9:46 PMLarry
04/10/2023, 11:03 PMallowConcurrency: true
, you can use explicit transactions for writes but you'll still need to worry about in-memory state. The only other thing I can think of that might be a gotcha is that you could start a write operation that uses transactions, then one or more read-only requests come in, those read-only operations won't see the pending write operations. Do you have some evidence that it will make a big difference in performance? The more I think about it, the less I believe it would help much if any. Remember, there is only ever one instance of a particular DO. You get more throughput by having more DOs... or is that what you are thinking?Jacob Wright
04/11/2023, 7:57 AMLarry
04/11/2023, 4:39 PMallowConcurrency: true
if the cache hit rate is high, I don't think you'll see a big throughput gain. One more thought, you might also play with allowUnconfirmed: true
for writes if you can live with the risk of a failure effecting later reads. I say "effecting later reads" because I believe you will get an error for the write that fails. Regarless, if you create any benchmarks on the potential throughput increase, I suspect many folks here would like to hear about it.Crazy Rabbit
04/11/2023, 9:05 PMCrazy Rabbit
04/11/2023, 9:05 PMCrazy Rabbit
04/11/2023, 9:06 PMCrazy Rabbit
04/11/2023, 9:06 PMCrazy Rabbit
04/11/2023, 9:07 PMCrazy Rabbit
04/11/2023, 9:11 PMCrazy Rabbit
04/11/2023, 9:15 PMCrazy Rabbit
04/11/2023, 9:24 PMCrazy Rabbit
04/11/2023, 9:24 PMtoml
[[migrations]]
tag = "v1"
new_classes = ["MinecraftVoteDO"]
[[migrations]]
tag = "v2"
new_classes = ["DiscordVoteDO"]
this fixed the issue.Dio
04/12/2023, 6:17 AMickerio
04/12/2023, 8:34 AMHardAtWork
04/12/2023, 8:35 AMDio
04/12/2023, 10:54 AMDio
04/12/2023, 10:55 AMDio
04/12/2023, 10:57 AMHardAtWork
04/12/2023, 11:06 AMDio
04/12/2023, 11:10 AMHardAtWork
04/12/2023, 11:10 AMDio
04/12/2023, 11:11 AMDio
04/12/2023, 11:12 AMHardAtWork
04/12/2023, 11:13 AM