Live data from Hacker News

Viewing profile — krenoten

krenoten

HN member
Joined
Thu, Nov 10, 2011, 3:14 PM UTC
HN karma
999
Public activity
316 items

About krenoten

https://github.com/spacejam

Recent public activity

  1. comment
  2. comment
    Comment #26122850

    In practice this is the source of a tremendous number of bugs when async tasks don't actually clean up shared state in their Drop impls.

  3. comment
    Comment #26122841

    I haven't mentioned async Rust on HN since 2015.

  4. comment
  5. comment
    Comment #22381898

    The best solution is to use a 0-copy format like flatbuffers, google's zerocopy library, or serde's borrow attributes https://serde.rs/lifetimes.html#borrowing-data-in-a-derived-..…

  6. comment
    Comment #22381805

    only narcs use windows for database workloads :P

  7. comment
    Comment #22381663

    yeah, le-be conversions are not generally measurable above noise compared to other database-related work. sled stores arbitrary bytes. endianness is the concern of the person who w…

  8. comment
    Comment #22381625

    On sled 0.31 the memory growth does not run away as with the earlier version. Note that some in-memory metadata tracking does accrue as nodes split and sled tracks where to find th…

  9. comment
    Comment #21138099

    Just use a hashmap. Hashmaps in some cases can be like 8 orders of magnitude faster than Redis.

  10. comment
    Comment #19738476

    I make a lot of money fixing problems in storage layers that these kinds of ideas create. Thanks :]

  11. comment
    Comment #17173818

    There is zero reason behind this assumption.

  12. comment
    Comment #17172958

    It means pay more attention to reliability than pop infrastructure and internet companies (who can offset poor reliability with human attention or intentionally deprioritize it to …

  13. comment
    Comment #17172022

    This was my interpretation as well. I'm going to compare a disk-backed bwtree with a disk-backed ART, both backed by the same pagecache, and maybe end up with an ART that scatters …

  14. comment
    Comment #17171687

    Users can rely on sequential recovery. At some point I'll probably write a partial recovery tool that gives you all versions of all keys that are at all present anywhere in the rea…

  15. comment
    Comment #17171536

    Indeed. This is why I aggressively checksum everything and pay particular attention to throwing away all data that was written after any detected corruption during recovery. This i…

  16. comment
    Comment #17171508

    Yeah, I'm curious about using sled as a more ssd friendly storage engine for mentat. I'm just starting to experiment with datalog implementations, but I think by having harmony bet…

  17. comment
    Comment #17171429

    It might not. But the critiques of bw trees in terms of performance that I've seen have not had compelling data in terms of things that matter outside of academia or benchmarking s…

  18. comment
    Comment #17171277

    This is honestly a use case I'm experimenting with using a mix of CRDTs and OT. Our systems are becoming more and more location agnostic and I don't feel that our current data infr…

  19. comment
    Comment #17171253

    Use it for large scale HTAP! It's great for its flexible use cases at high scales :)

  20. comment
    Comment #17171249

    I am a total devotee to their approach to building simulable systems, although I seek to push it even farther and integrate lineage driven fault injection from an early stage. I se…

  21. comment
    Comment #17171235

    It's not needed for the single-key atomic record store, which is the sled bwtree index that is the current highest level module. MVCC is implemented in most popular embedded DBs be…

  22. comment
    Comment #17171186

    It's modular, and there is a paxos implementation, but it has been built totally in simulation so far and I haven't plugged it into an io layer yet. But this is trivial. That said,…

  23. comment
    Comment #17171172

    Currently it's even more basic. The current usable parts are a pagecache following the llama approach, some great testing utility libraries, and an index (that you can use as a kv)…

  24. comment
    Comment #17171153

    ALICE showed that's not always true with sqlite. Sled is being built with an extreme bias toward reliability over features, but as the readme says, it has some time to go before re…

  25. comment
    Comment #15436341

    SPIN is a nice tool for modeling them. You can extract code from a coq model. You can go into the world of dynamic instrumentation to try to verify invariants in implementations.