Live data from Hacker News

Show HN: On-disk B+ tree for Python 3

github.com

11–20 of 22 posts

Re: Show HN: On-disk B+ tree for Python 3

#14
This is pretty cool. As I was reading the code I really wished for an explanation or simple ASCII diagram of the serialization formats for the various node/record types, as well as for the frames/wal format. Given that the poster is the author of the project, I hope you'll consider filling in these kinds of details, as they'd presumably be of interest to the people you're "Show"-ing this to.

Re: Show HN: On-disk B+ tree for Python 3

#16
post #2

Cannot delete items yet

Yes, it's a work in progress, see the `remove` branch.

Why is this not mentioned very clearly in the README? Seems like willful misrepresentation.

You might also mention that, if replacing large values that use overflow pages, the file has the potential to grow without bounds as it looks like overflow pages are not collected?

Re: Show HN: On-disk B+ tree for Python 3

#18
post #15

Are there any production data stores recommended for low memory usage? What should I use to stream data to disk and back with minimal overhead, preferably with indexed lookups?

An SSD with the highest random-read/write IOPS you can afford. Something like this:

https://www.computerworld.com/article/2987956/solid-state-dr...

Or FusionIO ioDrive2 Duo, which is above 900K IOPS for both reads and writes.

Post reply on HN