Live data from Hacker News

Introducing Workers KV

blog.cloudflare.com

21–30 of 103 posts

Re: Introducing Workers KV

#22
post #5
post #2

Are you planning on releasing any of the architectural details behind this service? If you’re truly replicating to every PoP that’s quite a fan-out and I can see why you’re limited to 1 write per second per key!

Yes, we will. This is something we built internally and we'll talk about architecture at some point.

Thank you! Lots of super cool stuff coming out of CF these days, the pace is hard to keep up! Not that it's a bad thing necessarily :)

Re: Introducing Workers KV

#25
Are there any plans to provide browser detection in the worker API? I imagine it's possible to implement as a user now, but may be clunky to provide a dataset to work from. This seems like a killer feature to have on edge workers to allow serving optimized builds for based on browser feature support without paying the overhead of client side detection.

Re: Introducing Workers KV

#26
post #25

Are there any plans to provide browser detection in the worker API? I imagine it's possible to implement as a user now, but may be clunky to provide a dataset to work from. This seems like a killer feature to have on edge workers to allow serving optimized builds for based on browser feature support without paying the overhead of client side detection.

If you can find a good Javascript library for doing it you can build it into your Worker with Webpack.

Re: Introducing Workers KV

#27

This is really cool. Webapps are basically programs that are executed across the network; having fine-grained control over what happens at each layer (client, client service worker, edge nodes, proxy server, origin server) means more choices and complexity, but also so much more power.

The question I would ask is: once you have the ability to run code and store data on the network itself (which Cloudflare effectively is), why do you need an origin at all?

Reduncy, avoid vendor lockdown, Worker KV is amazing. On the billion scale it is expensive.

Re: Introducing Workers KV

#28

Holy return of tuple spaces! Are there any features for controlling consistency, or is it just YOLO last write wins?

Last write wins. There are several features for controlling consistency that we have been prototyping. Based on how storage is used we will enable those as the product matures.

Re: Introducing Workers KV

#29

Holy return of tuple spaces! Are there any features for controlling consistency, or is it just YOLO last write wins?

Last write wins. There are several features for controlling consistency that we have been prototyping. Based on how storage is used we will enable those as the product matures.

So why not strong eventual consistency and CRDTs? As they fit perfectly for such functions running on edge nodes and no silly limitations of 1 write per second necessary.

Re: Introducing Workers KV

#30
post #29

Earlier quoted context omitted.

Last write wins. There are several features for controlling consistency that we have been prototyping. Based on how storage is used we will enable those as the product matures.

So why not strong eventual consistency and CRDTs? As they fit perfectly for such functions running on edge nodes and no silly limitations of 1 write per second necessary.

Indeed. This is just stage 1 of our storage plans. We have some really cool stuff in the works but we wanted to get basic KV functionality out there for people to start using ASAP.
Post reply on HN