Tilon
Tilon
CDCloudflare Developers
Created by murzin on 6/27/2024 in #workers-help
what's the point of workers?
Also if you wanna do it client side, you could put that operation into a webworker which a) does not block the main UI while creating the watermarks and b) you can utilize several CPU cores. https://web.dev/articles/offscreen-canvas
109 replies
CDCloudflare Developers
Created by junteudjio on 3/30/2024 in #workers-help
Remix+Workers (not Pages) migration to Vite+Remix+Workers anyone?
Hyperdrive integration is another one
At least this one is somewhat working now with Pages - still some rough edges though, especially when running locally
2 replies
CDCloudflare Developers
Created by Tilon on 4/6/2024 in #workers-discussions
Hi, I am using the new RPC service
So far my theory is that this might be just a "bug" in the way how the logging is processed for the RPC worker. Maybe what we see are the logs for the "fetch" handler of the bound worker. Since we are not calling the fetch handler directly anymore, but the other class methods via RPC, the fetch handler might still be invoked as side effect (or looks like it's invoked) and then canceled, because it never returns a Response object, since we are getting our result via the RPC method, not the fetch call. If this theory is somewhat correct, then it might just looks bad in the logs, but it's not really an issue in terms of the functionality of the worker.
11 replies
DTDrizzle Team
Created by Tilon on 2/12/2024 in #help
Raw SQL much faster (200x) than Drizzle for some queries
Using Postgres 16, the raw query equivalent of above would even return under 10ms, just with Drizzle we see sometimes total query times of several seconds for some reason. Sometime the Drizzle queries are also "fast" and in the 100-400 ms range, however at least one out of 10 queries takes several seconds.
8 replies
DTDrizzle Team
Created by Tilon on 2/12/2024 in #help
Raw SQL much faster (200x) than Drizzle for some queries
At this point we have around 250K rows of "Variants" (CLIP embeddings), so not that much really.
8 replies
DTDrizzle Team
Created by Tilon on 2/12/2024 in #help
Raw SQL much faster (200x) than Drizzle for some queries
We are using the HSNW index for pgvector
8 replies