Scales to very high numbers of connected clients, and is faster on the low end and faster on the high end. Beating both the default per-thread and the Enterprise Edition thread_pool connection handler. Enjoy!
Creator of Apache CouchDB here. Fireproof is a very clever system for building secure, collaborative apps. Your apps can work offline and when connected automatically sync changes to local storage and display them immediately to the UI. It has much of that same CouchDB magic with almost no complexity or headache on the backend.
User of Couchdb for similar use case...been keeping up to date on a parallel branch of my solution using fireproof instead of couch. Still early, but great potential...stumbled onto fireproof because I was about to write an adapter for couch (well Pouch actually, but same same) to replicate in a similar manner to fireproof.
Apparently I misremembered slightly: it's actually width + 2 x length + 2 x height.
That link doesn't seem to explain the why, but my understanding is that it's just a decent heuristic for the general difficulty of handling packages as they go through the system. Volume wouldn't be appropriate, because a really long, skinny box is harder to handle than a cube of the same volume.
How do you decide which dimension is the width versus the length? I assume height is often significant for packages containing things that shouldn't be turned upside down, but length versus width seems pretty arbitrary. Is width just assumed to be the shorter of the two dimensions?
Length is defined as the longest side. The other two sides are interchangeable so pick what you like. This measure doesn’t appear to account for packages that require a certain orientation.
My understanding is it’s from car racing. Putting sandbags in during qualifying to make min weight. Then removed during the race to make the car lighter and faster.
Anecdote: about 2-3 years ago I was using about 10g/day kratom and 1gm/day caffeine to deal with chronic fatigue and muscle pain.
I was dependent on both for about 12 months just to function (without them I had a hard time getting out of bed or anything done). But the combo helped to finally get regular exercise, which helped with sleep, which helped me to heal.
The caffeine was _much_ harder to kick than the kratom. A full week of headaches and fatigue due to caffeine withdrawal.
When people talk of kratom being bad because it produces dependency, why don’t they talk of caffeine in the same way? What real negative effects does the kratom have if used long term? My experience says there is none. And all this handwringing is simply due to lack of familiarity.
TIL Starbucks coffee has a ton of caffeine. This explains why I'm super jittery every time I get Starbucks even though I drink (non-Starbucks) coffee every day.
So yeah, two freaking massive 20oz pours of highly caffeinated coffee will get you to around 1 gram.
But FWIW the daily recommended dose is 400mg. 1g is a ton of caffeine and way beyond what you would get to by sipping on coffee throughout the day (it's 10+ cups of drip).
I cannot find where the number originates, but there is at least one study @ https://www.sciencedirect.com/science/article/pii/S027869151... which explicitly claims "vidence supported consumption of ≤400 mg/day in adults is not associated with overt, adverse effects."
1g of caffeine is high, but with tolerance it doesn't seem _that_ high. I currently use 600mg/day to help with OCD[1], and it doesn't really effect me - heart rate barely moves, and I don't feel noticeably different. I've tried 1g, and it made me feel _slightly_ jittery, but that was about it.
[1] Counter-intuitive I know, but it seems to help - it makes the intrusive thoughts easier to ignore
There's no real reason to go cold turkey from caffeine. I've gotten to over 600mg/day. Not quite 1000mg though. :) Even so, when I have cut back (which I've done, multiple times) I just reduce my usage over 1-2 weeks and it's fine.
It _is_ append only. But doesn’t use flat files. The main storage files have 2 different immutable btrees to find documents (by id and by sequence num). And it does have mvcc for both storage and secondary indexes. Internally it has transactions but they aren’t exposed to the user, as multi document transactions don’t make sense for the replicated document model.
Thanks for the clarification. Can I ask how the MVCC is implemented (e.g. WAL, MVTO, MVRC, etc.), or if there's documentation around that might give some additional insight?