TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lowstorage: JSON-based database for Cloudflare Workers and R2 buckets

89 pointsby neon_meover 1 year ago

4 comments

vlakreehover 1 year ago
I <i>highly</i> recommend anyone using this to use a Durable Object <a href="https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;durable-objects&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;durable-objects&#x2F;</a> for writes as this project doesn&#x27;t seem to have consistency guarantees. If the Worker that writes to a collection happens to both do a write at the same time the data will be whatever the last Worker to write set it to.<p>Very cool library for read-centric use cases but I&#x27;d be very careful using this for use cases with frequent writes.
评论 #38509568 未加载
评论 #38510494 未加载
epolanskiover 1 year ago
Slightly OT but I found the experience of maintaining and deploying workers to be terrible and so monorepo-unfriendly due to wrangler forced usage for deploys (or at least I haven&#x27;t found better ways) which has implications on how the project gets bundled and deployed.<p>I wish there was a simple stupid &quot;just drop an artifact with a main.js&quot; file and that&#x27;s it.<p>Cloudflare is one of those companies I really want to like, but as a developer I just don&#x27;t think they care. They want to chase big guys with big contracts that can get the love and support average Joe does not.<p>They seem to strongly underestimate the traction and money they could get by giving engineers rather than sales and accounts some more love.<p>And thus we have moved our stack, initially built around Cloudflare, to Azure. It also helps Microsoft throws lots of credits at startups and Cloudflare does not. But DX rather than money has been the biggest reason we moved off CF offerings.
评论 #38509664 未加载
评论 #38510207 未加载
评论 #38509512 未加载
评论 #38515970 未加载
geekodourover 1 year ago
interesting. I can see how this differs from D1 and kv store, but what usecase for doing it this way? was there something kv store and D1 was not enough for?
评论 #38508845 未加载
Flamover 1 year ago
Is there a design reason why the example does “new lowstorage” on each hono endpoint?
评论 #38508934 未加载