Show HN: Design to Code with good performance
https://youtube.com/playlist?list=PL3vzYfOMUcIkd_1CzICEkH1IR...
https://youtube.com/playlist?list=PL3vzYfOMUcIkd_1CzICEkH1IR...
I am building free Figma alternative with focus on performance. Sharing for early feedback.https://www.absl.design/home.html
https://github.com/asheshvidyut/zds
A collection of high-performance data structures for Zig.
Hi HN,I wanted to share an exciting update about Treds, the high-performance prefix search server I introduced earlier. After running a new series of benchmarks, the results continue to confirm Treds' edge over etcd for prefix-based queries:Latest Benchmark Highlights: 10x Faster Prefix Queries: Treds consistently outperforms etcd in scenarios with 100k+ keys sharing a...
Keys at root level having a common prefix can be queried optimally
SCANKEYS/SCANKVS/KEYS/KVS commands returns the results in sorted order
Unlike Redis SCAN(opens in a new tab), Treds SCAN always returns count number of data if data is there
Unlike Redis ZRANGEBYLEX(opens in a new tab), Treds ZRANGELEX always returns data irrespective of score, basically data across different scores are returned
It has Sorted Maps instead of Sorted Sets. So we can create a Sorted Key/Value pair with associated with a score
New command - DELPREFIX - Deletes all keys having a common prefix and returns number of keys deleted
Currently, it only has Key/Value store, Sorted Maps store, List store, Set store and Hash store and only supports strings/number as values
Hi Everybody,I found it hard to get keys in Redis with common prefix in sorted order.So, I am working on implementing a modified data structure using which we can get sorted keys with a common prefix very fast. The command takes a start index and count as well. Here's how fast it is - I have put 10 ^ 7 keys in Redis and the new tcp server built on top of the data structure which I have...