Does a worker has access to bulk KV writes?
I want to create a worker that serves as a proxy to KV, specifically for the bulk writes.
Can I use the bulk operations within the KV bindings?
8 Replies
Bulk operations are only supported via the HTTP API at the moment, unfortunately. You are able to run KV ops via the Bindings in parallel, but not quite at the same scale. You could also use a Worker to proxy requests to the HTTP API, depending on your needs
Will the worker be able to handle 100mb of bulk writes request?
I thought the worker has a limit of 10mb
Where is the data coming from?
Is it being passed in via an HTTP request?
We are passing it via http
Then the limit you need to worry about is the Zone Upload Size Limit, not the Worker Size Limit
Why is that?
The Worker Size Limit is just the size of the code used to run your Worker. It has no effect on the size of uploads that can be run through the Worker
oh in that case its under the 10mb limit