Oa

OasysDB, Storing vectors for RAG in Rust simplified

Hacker News

OasysDB, Storing vectors for RAG in Rust simplified

Hi hackers, this is Edwin and I'm building OasysDB, a SQLite-inspired embedded vector database in Rust. My goal is to simplify the process of storing vector embeddings while still having high performance with simple APIs. Currently, it's only available in Rust via "cargo add oasysdb" command. But, I'm working to make it interoperable with Python ASAP. If you want to test it out, simply head to the GitHub repository ( https://github.com/oasysai/oasysdb ) and refer to the Quickstart section. Performance-wise, I have some quick results that I can show you. I got this result locally using my machine of Apple M2 chip and 16GB of memory. - For 10,000 vectors with 128 dimensions + usize metadata > Search time: 0.15 ms > Memory usage: 6 MB - For 1,000,000 vectors with 128 dimensions + usize metadata > Search time: 1.5 ms > Memory usage: 600 MB I'd love to hear some feedback from the community to help make OasysDB better.

Share card

Actual performance

3points
4comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, apple, using · Missing: agents, macos, agent
77%77% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: 000, io · Missing: https docs, excited, just released
65%65% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
56%56% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
46%46% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
31%31% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

St
StatsD in Rust51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

StatsD in Rust

Hacker News1
TF
TF-IDF in Rust51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TF-IDF in Rust

Hacker News1
Ru
Rust FFI in a Wireshark C dissector51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rust FFI in a Wireshark C dissector

Hacker News1
Ru
Rust-wasm-webpack50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rust-wasm-webpack

Hacker News6
Ri
Risp – Lisp in Rust68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Risp – Lisp in Rust

Hacker News314
Cl
Classical Ciphers in Rust51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Classical Ciphers in Rust

Hacker News2
A
A Sorted Array in Rust with O(√N) Inserts/Deletes53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Sorted Array in Rust with O(√N) Inserts/Deletes

Hacker News1
Sc
Screencast: An Introduction to Rust57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Screencast: An Introduction to Rust

Hacker News3
Ha
Handlebars for Rust51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Handlebars for Rust

Hacker News2
Ox
Oxischeme – A Scheme implementation in Rust56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Oxischeme – A Scheme implementation in Rust

Hacker News18