Hebilicious
Hebilicious
CDCloudflare Developers
Created by Hebilicious on 4/17/2024 in #workers-discussions
Hello is anyone else getting 202 status
if anyones wondering, some domain requires more than what the docs recommends https://www.answeroverflow.com/m/1131060418337579128
1 replies
CDCloudflare Developers
Created by Hebilicious on 4/8/2024 in #vitest-integration-beta
Hey, does anyone know how to use `export
6 replies
CDCloudflare Developers
Created by Hebilicious on 4/8/2024 in #vitest-integration-beta
Hey, does anyone know how to use `export
that PR looks great, thanks a lot !
6 replies
CDCloudflare Developers
Created by Hebilicious on 4/8/2024 in #vitest-integration-beta
Hey, does anyone know how to use `export
@MrBBot sorry for the ping but do you have any example/guidance to use the vitest integration with the new RPC features (WorkerEntrypoints) ?
6 replies
CDCloudflare Developers
Created by Hebilicious on 4/8/2024 in #vitest-integration-beta
Hey, does anyone know how to use `export
fails with the following error:
FAIL test/index.spec.ts > RPC worker
PrettyFormatPluginError: Illegal invocation
❯ Object.test Users/hebilicious/GitHub/Zeno/zeno-learning/node_modules/.pnpm/[email protected]/node_modules/pretty-format/build/plugins/ReactTestComponent.js?mf_vitest_no_cjs_esm_shim:59:32
❯ findPlugin Users/hebilicious/GitHub/Zeno/zeno-learning/node_modules/.pnpm/[email protected]/node_modules/pretty-format/build/index.js?mf_vitest_no_cjs_esm_shim:302:22
❯ format Users/hebilicious/GitHub/Zeno/zeno-learning/node_modules/.pnpm/[email protected]/node_modules/pretty-format/build/index.js?mf_vitest_no_cjs_esm_shim:451:22
FAIL test/index.spec.ts > RPC worker
PrettyFormatPluginError: Illegal invocation
❯ Object.test Users/hebilicious/GitHub/Zeno/zeno-learning/node_modules/.pnpm/[email protected]/node_modules/pretty-format/build/plugins/ReactTestComponent.js?mf_vitest_no_cjs_esm_shim:59:32
❯ findPlugin Users/hebilicious/GitHub/Zeno/zeno-learning/node_modules/.pnpm/[email protected]/node_modules/pretty-format/build/index.js?mf_vitest_no_cjs_esm_shim:302:22
❯ format Users/hebilicious/GitHub/Zeno/zeno-learning/node_modules/.pnpm/[email protected]/node_modules/pretty-format/build/index.js?mf_vitest_no_cjs_esm_shim:451:22
6 replies
CDCloudflare Developers
Created by elithrar on 3/22/2024 in #hyperdrive
Postgres-js Distributed Performance
Sorry I missed your message: accountId : e32ef9fa893998106c15705a6de29139 hyperdriveId: b381ec9a8f284249b85d2a414fa2e347
7 replies
CDCloudflare Developers
Created by elithrar on 3/22/2024 in #hyperdrive
Postgres-js Distributed Performance
And this is with a Berlin VPN (with prepared false and the connection settings)
POST my-url - Ok @ 3/22/2024, 9:35:32 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 70ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:33 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 13ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:35 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 10ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:35 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 19ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:36 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 15ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:32 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 70ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:33 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 13ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:35 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 10ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:35 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 19ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:35:36 PM
(log) Request received from DE
(log) HELLO THERE
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 15ms
(log) Terminating database client.
7 replies
CDCloudflare Developers
Created by elithrar on 3/22/2024 in #hyperdrive
Postgres-js Distributed Performance
POST my-url - Ok @ 3/22/2024, 9:32:00 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 3564ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:06 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 2532ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:09 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1249ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:11 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1511ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:13 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1827ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:16 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1268ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:00 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 3564ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:06 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 2532ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:09 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1249ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:11 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1511ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:13 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1827ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:32:16 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 1268ms
(log) Terminating database client.
This is with prepared: true and no connection settings
7 replies
CDCloudflare Developers
Created by elithrar on 3/22/2024 in #hyperdrive
Postgres-js Distributed Performance
POST my-url - Ok @ 3/22/2024, 9:27:47 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 2571ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:27:50 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 516ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:27:59 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 555ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:28:00 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 500ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:27:47 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 2571ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:27:50 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 516ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:27:59 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 555ms
(log) Terminating database client.
POST my-url - Ok @ 3/22/2024, 9:28:00 PM
(log) Request received from TH
(log) getUserFromRequest executed in 0ms
(log) Initialized database client
(log) Query: select "id" from "User" "user" limit $1 -- params: [10]
(log) Executed resolver in 500ms
(log) Terminating database client.
Here is an example log
7 replies
CDCloudflare Developers
Created by elithrar on 3/22/2024 in #hyperdrive
Postgres-js Distributed Performance
Also I'm not sure if the 2nd request is supposed to get a cache hit, but sometimes I'm seeing it as slow as the first one
7 replies