pootify
02/25/2021, 7:22 PMKevin W - Itty
02/25/2021, 7:51 PMjayphelps
02/25/2021, 8:08 PMKevin W - Itty
02/25/2021, 8:20 PMjayphelps
02/25/2021, 8:30 PMkenton
02/25/2021, 10:17 PMidFromName()
resulted in objects placed randomly around the world, resulting in poor latency, while newUniqueId()
placed the object closer to you (with the caveat you mentioned that the overall number of pops supporting durable objects was still small). Since then, we've improved idFromName()
considerably, so that it will also create objects close to you -- although there is still an unavoidable latency hit the very first time an object using idFromName()
is created since we have to verify that the same object hasn't been created anywhere else in the world. I still recommend newUniqueId()
whenever possible as it never needs to communicate around the world (unless the object is actually being used from multiple places around the world).jayphelps
02/26/2021, 12:39 AMandrew | 1003
02/26/2021, 4:13 AMMurray
02/26/2021, 5:35 AMGreg Brimble | Cloudflare Pages
02/26/2021, 12:07 PMdeleteAll()
storage method count as a single write, or does each individual key-value count as a write (w.r.t. billing)?kenton
02/26/2021, 5:42 PMhaneefmubarak
02/26/2021, 7:16 PMjayphelps
02/26/2021, 7:24 PMjayphelps
02/26/2021, 7:26 PMhaneefmubarak
02/26/2021, 7:28 PMhaneefmubarak
02/26/2021, 7:30 PMjayphelps
02/26/2021, 7:33 PMhaneefmubarak
02/26/2021, 7:34 PMjayphelps
02/26/2021, 7:35 PMMurray
02/27/2021, 10:53 AMironman
02/27/2021, 8:07 PMeidam | SuperSaaS
02/27/2021, 8:48 PMironman
02/27/2021, 8:51 PMeidam | SuperSaaS
02/27/2021, 8:52 PMThe Freelancer ;)
03/01/2021, 9:16 AMcapauwels
03/01/2021, 5:52 PMTransaction failed due to conflict while processing a put() operation
I'm using DOs for storing analytics, and when two requests are (near) simultaneous, this error gets thrown. Has anyone had similar issues, or are there pointers to how I should make sure the transaction completes successfully?haneefmubarak
03/01/2021, 6:59 PMhaneefmubarak
03/01/2021, 7:00 PMAlexRobinson
03/01/2021, 8:38 PMAlexRobinson
03/01/2021, 8:40 PM