@CherryJimbo@CloudflareDev@DrizzleORM I tested it with a bunch of calls to `db.execute(sql`SELECT clock_timestamp() AS started, pg_sleep(1)`)`. They look parallel in the traces but pg seems to hold the query until the previous one returns. The only thing that worked was multiple Clients.
@CherryJimbo@CloudflareDev@DrizzleORM Does anyone know the best way to run parallel queries with pg and Hyperdrive? Should I create a new Client for each query and run the query in a Promise.all?
Iβm trying to avoid running three queries sequentially, like in the image.
58agents designs, builds, and scales digital products and services β turning ideas into impactful solutions with an interdisciplinary team of experts
https://t.co/HsdebpQt4I
@swyxio@mscccc UUID v4 is longer (36 characters) vs others (ULID has 26 characters)
UUID v4 are not sortable by creation time resulting in worse data locality for a b-tree index.
@bgurley Cookies are regulated by the ePrivacy Directive, not GDPR, but yes. It's an utter disaster. Millions of hours are wasted for users and companies.