logoalt Hacker News

ilumanty • today at 1:48 PM • 3 replies • view on HN

It would be so awesome if SQLite supported anything along these lines.


Replies

vikrantrathore • today at 2:13 PM

You can check two projects on top of sqlite using paxos and implement reciprocal rank fusion (RRF) and distribution-based fusion score (DBSF) on top of sqlite with sqlite's FTS and sqlite-vec extensions.

Project zaxonlite: https://github.com/insanai/zaxonlite

Project sqlodin: https://github.com/insanai/sqlodin

Just you need to remember sqlite support single writer at a time so both needs to work with that limitation. PostgreSQL uses MVCC, so performance for concurrent writes from multiple clients might be better. Did not do benchmark against it so cannot say.

ethagnawl • today at 2:17 PM

For what it's worth, DuckDB does. See: https://duckdb.org/docs/current/core_extensions/vss

veonik • today at 2:39 PM

There's a few, even an official extension called Vec1.