News for hackers. Stuff that matters.
Re:Introducing Workers KV by tracker1 on Friday September 28, 2018 @01:37PM (#18095277)
This is very cool, but how do you limit an end user to only being able to read a given set of values. It seems to me that this scheme puts all credentials for access in the browser, and they'll be able to just run roughshod all over your data without constraints in place.

Can you create data spaces/keys for ones that are read-write per-user and others that are read-only for a given user?

Re:Introducing Workers KV by zackbloom on Friday September 28, 2018 @01:47PM (#18095364)
You write the Worker code which runs on our infrastructure, not in a browser. You have complete control over who can access which piece of data, as it's your code doing the accessing.
Re:Introducing Workers KV by tracker1 on Friday September 28, 2018 @01:55PM (#18095457)
Thanks, I misunderstood that part... very cool indeed. What are the overhead limits for workers?

Aside, it seems like this could be really interesting combined to make an entire API with static delivery from S3 or Azure Blobs, with a backend on a cloud hosted database. With a lot of flexibility in between.

Re:Introducing Workers KV by zackbloom on Friday September 28, 2018 @01:56PM (#18095469)
The ultimate goal is to let you do all of that within our network!

When you say overhead limit, are you talking about latency? Our goal is to keep reads on the order of 5ms in the 90th percentile.

Re:Introducing Workers KV by tracker1 on Friday September 28, 2018 @03:23PM (#18096268)
I mean compute/memory for the workers... just a rough comparison of what that might look like. Will probably sign up for the early access and play around with it soon.
Re:Introducing Workers KV by zackbloom on Friday September 28, 2018 @05:18PM (#18097147)
We limit you to 50ms of CPU and 128 MB of memory now, but we're working on ways of raising those limits.
Re:Introducing Workers KV by jhgg on Friday September 28, 2018 @01:48PM (#18095369)
Access to these values are programmed in your cloudflare worker script. It's up to you to decide how they can be accessed.