hse
go-sstables
hse | go-sstables | |
---|---|---|
5 | 4 | |
673 | 255 | |
0.4% | - | |
3.6 | 4.0 | |
8 months ago | about 2 months ago | |
C | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hse
- Please add licenses to your projects, rust DS emulator Dust now dead.
-
What's the big deal about key-value databases like FoundationDB ands RocksDB?
HSE[0] is another storage engine to throw on the pile.
[0]: https://github.com/hse-project/hse
-
What projects need C?
We use C on our storage engine. https://github.com/hse-project/hse. C is a good language if you want to be usable from other languages because all languages speak the C ABI.
-
Announcing tz-rs, a reimplementation of libc functions localtime, gmtime and mktime in pure Rust with no dependencies
I can tell you have never compiled libcurl from source: https://github.com/hse-project/hse/blob/master/subprojects/packagefiles/curl/meson.build.
- HSE: Heterogeneous-Memory Storage Engine
go-sstables
- GitHub - thomasjungblut/go-sstables: Go library for protobuf compatible sstables, a skiplist, a recordio format and other database building blocks like a write-ahead log. Ships now with an embedded key-value store.
-
I want to dive into how to make search engines
I've never worked on a project that encompasses as many computer science algorithms as a search engine. There are a lot of topics you can lookup in "Information Storage and Retrieval":
- Tries (patricia, radix, etc...)
- Trees (b-trees, b+trees, merkle trees, log-structured merge-tree, etc..)
- Consensus (raft, paxos, etc..)
- Block storage (disk block size optimizations, mmap files, delta storage, etc..)
- Probabilistic filters (hyperloloog, bloom filters, etc...)
- Binary Search (sstables, sorted inverted indexes, roaring bitmaps)
- Ranking (pagerank, tf/idf, bm25, etc...)
- NLP (stemming, POS tagging, subject identification, sentiment analysis etc...)
- HTML (document parsing/lexing)
- Images (exif extraction, removal, resizing / proxying, etc...)
- Queues (SQS, NATS, Apollo, etc...)
- Clustering (k-means, density, hierarchical, gaussian distributions, etc...)
- Rate limiting (leaky bucket, windowed, etc...)
- Compression
- Applied linear algebra
- Text processing (unicode-normalization, slugify, sanitation, lossless and lossy hashing like metaphone and document fingerprinting)
- etc...
I'm sure there is plenty more I've missed. There are lots of generic structures involved like hashes, linked-lists, skip-lists, heaps and priority queues and this is just to get 2000's level basic tech.
- https://github.com/quickwit-oss/tantivy
- https://github.com/valeriansaliou/sonic
- https://github.com/mosuka/phalanx
- https://github.com/meilisearch/MeiliSearch
- https://github.com/blevesearch/bleve
- https://github.com/thomasjungblut/go-sstables
A lot of people new to this space mistakenly think you can just throw elastic search or postgres fulltext search in front of terabytes of records and have something decent. The problem is that search with good rankings often requires custom storage so calculations can be sharded among multiple nodes and you can do layered ranking without passing huge blobs of results between systems.
-
What's the big deal about key-value databases like FoundationDB ands RocksDB?
I highly recommend people comfortable with Go checkout the building blocks at https://github.com/thomasjungblut/go-sstables
This codebase shows how SSTables, WAL, memtables, skiplists, segment files, and plenty of other storage engine components work in a digestible way. Includes a demo database showing how it all comes together.
- Understanding LSM Trees: What Powers Write-Heavy Databases
What are some alternatives?
dust - A Nintendo DS emulator written in Rust
search-engines - Reviewing alternative search engines
tz-rs - A pure Rust reimplementation of libc functions localtime, gmtime and mktime.
phalanx - Phalanx is a cloud-native distributed search engine that provides endpoints through gRPC and traditional RESTful API.
dust - A Nintendo DS emulator written in Rust for desktop devices and the web, with debugging features and a focus on accuracy
pytai - Kaitai Struct: Visualizer and Hex Viewer GUI in Python
IncludeDB - Tiny key/value-store in a single, embeddable C file. For games, small servers, sbc, etc...
mitta-screenshot - Mitta's Chrome extension for saving the current view of a website.
RethinkDB - The open-source database for the realtime web.
search-lib - A library of classes which can be used to build a search engine.
dynomite - A generic dynamo implementation for different k-v storage engines
jina - ☁️ Build multimodal AI applications with cloud-native stack