4 ms·
I wonder this too, given ultimately, 99% of non-static sites will need to reach out to a central database. So to render a dynamic page, your worker then has to
by silviogutierrez 6y ago
I wonder this too, given ultimately, 99% of non-static sites will need to reach out to a central database. So to render a dynamic page, your worker then has to go to the DB, no?
Curious what is the use case. You can cache stuff, as detailed in the post, but assuming you have huge variance in page contents per user, I can't see too much use. I must be missing something.
- zizee 6y agoA lot of applications are read heavy on their database. When this is the case, you can make reads to a read only slave closer to the edge. There are other options, but depending on your applications architecture this might be a relatively easy way to reduce latency on a large portion of your traffic.
- sssilver 6y agoWhy not use a database with a worker? https://www.cloudflare.com/products/workers-kv/ https://www.cloudflare.com/products/workers-kv/
- MuffinFlavored 6y agoKey/value store doesn't really have joins, aggregation, tables, references, etc.