doteur
sqlite-readers-writers
doteur | sqlite-readers-writers | |
---|---|---|
8 | 1 | |
99 | 1 | |
- | - | |
5.3 | 10.0 | |
4 months ago | over 1 year ago | |
Rust | Rust | |
MIT 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.
doteur
-
Generate diagrams programmatically with D2
If you are interested it's https://github.com/nag763/doteur with a live demo here https://nag763.github.io/doteur/live/
-
A tool to render graphicly SQL schemas + my feedback on using Rust for over a year now
Firslty, as you have probably noticed,I am not a native english speaker and sometimes I struggle with the spelling or phrasing of some sentences. I wish someone could at least read and maybe correct the mispelling of my GitHub pages that are completely written in english. GitHub pages can be found here, their source here
-
I made a project to vizualise quickly the relations for a MySQL DBMS : doteur , a CLI tool that uses GraphViz
Here are some useful links : - Official website : https://doteur.net - Github : https://github.com/nag763/doteur - crates.io : https://crates.io/crates/doteur - Docker image, continuous delivery : https://hub.docker.com/r/nag763/doteur
- I am delighted to present you my very first and my most complete rust project : doteur , a SQL diagram generator !
- I made a tool to render automaticly sql exports in most graphical formats
sqlite-readers-writers
-
In pursuit of the best value US cloud provider
This has been posted and reposted continuously for a year and I still don’t understand the comparisons in the article. Either use SQLite across the board or use MySQL/Postgres across the board. Or do both. You can even model a self-managed rdbms install on the clouds that don’t have that turnkey offering. But mixing and matching makes no sense.
I’m a huge fan of SQLite and have open sourced some .NET stuff around it (eg https://github.com/neosmart/AspSqliteCache ) but learned a very expensive mistake in using it for an ASP.NET Core Project with the default pattern (i.e. with EF Core).
SQLite locks (tables or the entire db depending on configuration) upon write. If you use shared cache mode and WAL you can get very far with one write thread and many competing reads - depending on shared cache mode, WAL, and other options. I benchmarked the different configurations with one or more writing threads here to show how it scales: https://github.com/mqudsi/sqlite-readers-writers
But this approach is hard to model with EF Core. If you use the default request-scoped DI injected connection, you risk any writes upgrading the read lock to a write lock for the duration of the request. The better approach is to use the default request-scoped connection for RO operations and then request a scoped/transient DI connection for any write ops, but copying internal EF entity tracking state from one EF instance to another is tedious and fraught with issues. You’re at least able to work around this if you try to always keep in mind write transaction lifetimes, though.
The problem comes as soon as you need a “background service” in the sense of “an operation running independently of requests and parallel to them.” If that service needs a write lock for any amount of time, you’re suddenly going to be seeing write timeouts (since default behavior is to poll repeatedly until a write lock is obtained) and that is pretty much impossible to fix.
As one of the biggest advantages of using a resident executor like .NET or Java vs a per-request stateless option like PHP is that you can do stuff independent of requests, SQLite is tricky to use correctly in prod in this model.
The good news is that if you use the SQLite EF provider and run into this, it’s usually not too hard to switch to a real DB provider as a lot of the work is abstracted.
What are some alternatives?
lxp-bridge - A bridge to MQTT/InfluxDB/Postgres for communications with LuxPower inverters
vfsstat.rs - Example sqlite3 Dynamic Loadable Extension in Rust - vfs and vtab modules - port of vfsstat.c
mycelite - Mycelite is a SQLite extension that allows you to synchronize changes from one instance of SQLite to another.
rsqlite3 - sqlite3 Rewritten in RiiR Rust 🦀🦀🦀 /s
sea-orm - 🐚 An async & dynamic ORM for Rust
SqliteCache for ASP.NET Core - An ASP.NET Core IDistributedCache provider backed by SQLite
hawq-engine - Database engine for ModDB (Hardware Accelerated Writes/Query)
rusqlite-model - Model trait and derive implementation for rusqlite
rust-mysql-simple - Mysql client library implemented in rust.
sea-query - 🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite
odbc-rs - Rust ODBC FFI binding
cube.js - 📊 Cube — The Semantic Layer for Building Data Applications