Ask HN: Those making $0/month or less on side projects – Show and tell
934 pointsNot sure about anyone else, but I enjoy seeing the posts on side projects making money. Often while reading all of the comments I find new products or services I want, so I buy them and contribute further to that hustle's success. But for every hacker making $100 or more per month with their idea, there are hundreds more working hard, making nothing, struggling to get started. Does that describe you? Maybe the community just needs to hear about what you're offering, what you've been working on. If you've got something cool that has not yet gained traction, maybe it just needs to be seen by a gaggle of like-minded hackers and geeks. So share!
Comments (1,047) 487 threads
Show all comments
Showing thread 182 of 487
It achieves very promising performance (~1m writes/s, ~5m reads/s) for u64 sized types, which will eventually be an offset into a log. The core concept here is that it's O(1) for all inserts and queries with bounded database reads. The performance characteristics are not favorable for small datasets, but very favorable for large ones. However I have to use hash digests as pseudokeys for values, which will always have the potential for collisions. To get around this, I plan to use 128b or larger (256b) hash sizes. Right now it's just u64 for simplicity.
The other is a similar concept using modified B+Trees that have subtrees for all writes to a record: https://github.com/chiefnoah/hist-prototype
This one is implemented in Python for fast iteration, as I realized I wasn't happy with how fast I could iterate with Rust. This one is, IMO, a more complete approach towards full historical query-capable systems. I'm slowly chipping away at it, though I haven't had progress lately. I spend no real money to host them, just the code, though I'm certain I've shortened the life of my NVMe drives due to writing and rewriting large files for testing.
My ultimate goal with these is to build a general purpose KV store that can query the entire state of the system at a given point in time (either timestamp, or a TX increment) for the purposes of enhancing graph databases for temporal analysis.