4 ms·
Honestly, I cringe everytime I read about gundb. Db made in nodejs? Check. No mention of multiprocess? Check. No mention of persistence? Check.(lol @ s3 pers
by ddorian43 10y ago
Honestly, I cringe everytime I read about gundb.
Db made in nodejs? Check.
No mention of multiprocess? Check.
No mention of persistence? Check.(lol @ s3 persistence)
All tests failing ? Check.
Optimizing if/else? Check.
Faster than redis? Check.
Store non-optimized json in disk(not sure but looks liek it)? Check.
I cringe at every page on their docs(like sharding). It just feels like the templeos situation. Upvoted for discussion though.
- marknadal 10y agoActually, we turned S3 into a timeseries store that handled 100M+ messages for $10/day (over 100GB+ data, all costs for processing, storage, and backup), check out this screencast - https://www.youtube.com/watch?v=x_WqBuEA7s8 https://www.youtube.com/watch?v=x_WqBuEA7s8 . Master/stable branch is not failing, and we definitely don't recommend using the JSON dump in production (we have warnings about this everywhere) it is intended to make local development easier. NodeJS is single threaded, but because GUN has a P2P/decentralized architecture it can easily sync between machines or threads and handles concurrency and conflict resolution. Check out this demo - https://youtu.be/-i-11T5ZI9o https://youtu.be/-i-11T5ZI9o .
- fiatjaf 10y ago"Store non-optimized json in disk(not sure but looks liek it)? Check." How can you say "not sure" and "check" in the same line?
- ddorian43 10y agoBecause I read the docs but I didn't understand it so I wasn't sure, but had confidence that I was right based on the other points.
- atombender 10y agoOne might take the claims — and hubristic comparisons to production-ready systems like Redis, Cassandra, Firebase and Riak — more seriously if the code weren't such an inscrutable ball of spaghetti [1]. I commented on this a year ago [2], and the author's response was... not great. Anyone who considers using this project should definitely read the code first and make up their own mind. [1] https://github.com/amark/gun/blob/master/gun.js#L584 https://github.com/amark/gun/blob/master/gun.js#L584 [2] https://news.ycombinator.com/item?id=10683467 https://news.ycombinator.com/item?id=10683467
- yellowapple 10y ago"It just feels like the templeos situation." Huh? TempleOS is explicitly not meant to be one's primary OS or even really anything besides an educational environment. Gun appears to actually be trying to target production use. If anything, this is closer to a "MongoDB is web scale" situation.
- ddorian43 10y agoI was talking about the "mental issues" angle. But he is charging 500/hour for consultancy so he is doing something right. This thread has more juice: https://www.reddit.com/r/programming/comments/5k3367/50x_faster_than_redis_open_source_p2p_firebase/ https://www.reddit.com/r/programming/comments/5k3367/50x_fas...