sqlite3vfshttp
ws4sqlite
sqlite3vfshttp | ws4sqlite | |
---|---|---|
5 | 7 | |
173 | 390 | |
- | - | |
1.8 | 7.3 | |
about 1 year ago | 7 days ago | |
Go | Go | |
MIT License | ISC License |
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.
sqlite3vfshttp
-
SQLite FTS5 Faster Than Redis Full-Text Search
I'm a big fan of FTS5 as a cheap/easy way of adding full text search to datasets.
Recently I've been storing these datasets in S3 and been querying them directly via a VFS[0]. Its a simple way to have FTS available to lambda functions without the cost of using an online database.
[0]: https://github.com/psanford/sqlite3vfshttp
- Deploying Strapi to AWS with AppPack
-
Ws4sqlite: Query SQLite via HTTP
You can also access sqlite databases directly from an http server that supports range requests (like s3). There are a bunch of implementations of this in different languages including Go[0] and Javascript[1].
[0]: https://github.com/psanford/sqlite3vfshttp
[1]: https://github.com/phiresky/sql.js-httpvfs
-
Ask HN: What could a modern database do that PostgreSQL and MySQL can't
There's a bunch of projects that have implemented this. I wrote a SQLite VFS in Go that lets you query a read-only SQLite db over http (including from s3) [0].
The VFS API offers the possibility for weirder storage solutions, if thats the type of thing you're into. Recently I've been moving some of my personal websites hosted on AWS Lambda over to use a read/write sqlite db backed by DynamoDB[1]. There are a bunch of limitations to this type of thing (like it uses a global write lock), but it works nicely for DBs that have low write frequency.
[0]: https://github.com/psanford/sqlite3vfshttp
[1]: https://github.com/psanford/donutdb
-
Show HN: SQLite-S3-query – Python function to query a SQLite database on S3
I just implemented something similar in Go[0]. Just yesterday I added the ability to compile it as a loadable sqlite3 extension, so you can use the normal sqlite3 cli tool to query databases hosted on an http(s) connection.
[0]: https://github.com/psanford/sqlite3vfshttp
ws4sqlite
-
ws4sqlite v0.12.1 released - connect to sqlite via HTTP/"REST"
If you are interested, feel free to browse the git repo, read the documentation (with a tutorial) or connect to the discord channel.
-
Ask HN: Have you used SQLite as a primary database?
I am using sqlite where a simple persistence layer is needed, both as the sole in the project or along with a full-fledged database. There are many such projects, once you realize that a database is just an abstraction; for example, for caching in a larger project, or to store results for a subsection of the project. But of course also for smaller, standalone projects.
Also, take a look at ws4sqlite (https://germ.gitbook.io/ws4sqlite/) for a middle ground between SQLite (embedded) and rqlite/dqlite: it's "normal" sqlite addressable via web services. May be useful in some scenarios.
-
Hacker News top posts: Mar 11, 2022
Ws4sqlite: Query SQLite via HTTP\ (30 comments)
- Ws4sqlite: Query SQLite via HTTP
-
A remote JSON interface for SQLite, in Go
ws4sqlite is a web service layer on one (or more) SQLite databases. It’s written in Go, over mattn's go-sqlite3, and allows to use HTTP POST requests to submit SQL statements to a database, in a transaction. It can “serve” multiple databases at once, supports authentication, “stored queries”, in-memory databases, maintenance (vacuum/backups), batching and several other security features and configurations.
What are some alternatives?
sqlite-s3-query - Python functions to query SQLite files stored on S3
tuql - Automatically create a GraphQL server from a SQLite database or a SQL file
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
dashera - DasherA is a Data General DASHER D200/D210 terminal emulator
sql.js-httpvfs - Hosting read-only SQLite databases on static file hosters like Github Pages
Sqinn-Go - Golang SQLite without cgo
donutdb - Store and query a sqlite db directly backed by DynamoDB.
barrier - Open-source KVM software
meteor-mysql - Reactive MySQL for Meteor
go-sqlite3 - sqlite3 driver for go using database/sql