Skip to content

Commit e66f599

Browse files
committed
...
1 parent 646e5d2 commit e66f599

File tree

4 files changed

+109
-72
lines changed

4 files changed

+109
-72
lines changed

misc/content/2020/07/comparison-of-embedded-databases/comparison-of-embedded-databases.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ Slug: comparison-of-embedded-databases
55
Title: Comparison of Embedded Databases
66
Category: Computer Science
77
Tags: Computer Science, database, embedded, in-memory, H2, SQLite, Apache Derby, HSQLDB
8-
Modified: 2020-08-22 18:40:36
8+
Modified: 2025-06-03 00:58:59
99

1010
**Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!**
1111

1212
## [SQLite](https://www.sqlite.org/index.html)
1313

14+
## DuckDB
15+
16+
## [PoloDB](https://github.com/PoloDB/PoloDB)
17+
1418
## [Apache Derby](https://db.apache.org/derby/)
1519

1620
## [H2](http://www.h2database.com/html/main.html)

misc/content/2021/06/popular-databases/popular-databases.md

Lines changed: 57 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Slug: popular-databases
55
Title: Popular Databases
66
Category: Computer Science
77
Tags: Computer Science, programming, database, MySQL, ClickHouse, TiDB, neo4j, Elasticsearch, TiDB, TDengine, Redis
8-
Modified: 2022-10-09 17:16:54
8+
Modified: 2025-06-03 00:35:19
99

1010
**Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!**
1111

@@ -55,43 +55,55 @@ columnar storage is good for analytical operations
5555
</tr>
5656
<tr>
5757
<td>
58-
<a href="https://github.com/mysql"> MySQL </a>
59-
<a href="#footnote7">[1]</a>
58+
<a href="https://github.com/mysql">SQLite</a>
6059
</td>
6160
<th> SQL </th>
6261
<td> Opensource </td>
63-
<th> PC/EC </th>
62+
<th> -/ELC </th>
6463
<td> </td>
6564
<td> </td>
66-
<td> the most popular opensource RDBMS </td>
65+
<td> the most popular embedded database </td>
6766
</tr>
6867
<tr>
6968
<td>
70-
<a href=""> Cassandra </a>
71-
<a href="#footnote7">[1]</a>
69+
<a href="https://github.com/mysql">DuckDB</a>
7270
</td>
73-
<th> CQL (Cassandra <br> Query Language) </th>
71+
<th> SQL </th>
7472
<td> Opensource </td>
75-
<th> PA/EL </th>
76-
<td> real-time </td>
77-
<td> no join </td>
73+
<th> -/ELC </th>
74+
<td> </td>
7875
<td> </td>
76+
<td>
77+
- embedded OLAP
78+
- a good raising alternative to SQLite
79+
</td>
7980
</tr>
8081
<tr>
8182
<td>
82-
<a href=""> HBase </a>
83+
<a href="https://github.com/mysql">PostgreSQL</a>
84+
</td>
85+
<th> SQL </th>
86+
<td> Opensource </td>
87+
<th> PC/EC </th>
88+
<td> </td>
89+
<td> </td>
90+
<td> a better alternative to MySQL </td>
91+
</tr>
92+
<tr>
93+
<td>
94+
<a href="https://github.com/mysql">MySQL</a>
8395
<a href="#footnote7">[1]</a>
8496
</td>
85-
<th> </th>
97+
<th> SQL </th>
8698
<td> Opensource </td>
8799
<th> PC/EC </th>
88-
<td> real-time </td>
89-
<td> no join </td>
90100
<td> </td>
101+
<td> </td>
102+
<td> the most popular opensource RDBMS </td>
91103
</tr>
92104
<tr>
93105
<td>
94-
<a href="https://github.com/ClickHouse/ClickHouse"> ClickHouse </a>
106+
<a href="https://github.com/ClickHouse/ClickHouse">ClickHouse</a>
95107
<a href="#footnote7">[2]</a>
96108
</td>
97109
<th> SQL </th>
@@ -103,7 +115,7 @@ columnar storage is good for analytical operations
103115
</tr>
104116
<tr>
105117
<td>
106-
<a href="https://github.com/pingcap/tidb"> TiDB </a>
118+
<a href="https://github.com/pingcap/tidb">TiDB</a>
107119
<a href="#footnote7">[3]</a>
108120
</td>
109121
<th> SQL </th>
@@ -115,7 +127,31 @@ columnar storage is good for analytical operations
115127
</tr>
116128
<tr>
117129
<td>
118-
<a href="https://github.com/redis"> Redis </a>
130+
<a href="">Cassandra</a>
131+
<a href="#footnote7">[1]</a>
132+
</td>
133+
<th> CQL (Cassandra <br> Query Language) </th>
134+
<td> Opensource </td>
135+
<th> PA/EL </th>
136+
<td> real-time </td>
137+
<td> no join </td>
138+
<td> </td>
139+
</tr>
140+
<tr>
141+
<td>
142+
<a href="">HBase</a>
143+
<a href="#footnote7">[1]</a>
144+
</td>
145+
<th> </th>
146+
<td> Opensource </td>
147+
<th> PC/EC </th>
148+
<td> real-time </td>
149+
<td> no join </td>
150+
<td> </td>
151+
</tr>
152+
<tr>
153+
<td>
154+
<a href="https://github.com/redis">Redis</a>
119155
<a href="#footnote7">[4]</a>
120156
</td>
121157
<th> DSL (hashmap <br> API-like) </th>
@@ -127,7 +163,7 @@ columnar storage is good for analytical operations
127163
</tr>
128164
<tr>
129165
<td>
130-
<a href="https://github.com/neo4j"> neo4j </a>
166+
<a href="https://github.com/neo4j">neo4j</a>
131167
<a href="#footnote7">[5]</a>
132168
</td>
133169
<th> Cypher (Graph <br> Query Language) </th>
@@ -139,7 +175,7 @@ columnar storage is good for analytical operations
139175
</tr>
140176
<tr>
141177
<td>
142-
<a href="https://github.com/elastic"> Elasticsearch </a>
178+
<a href="https://github.com/elastic">Elasticsearch</a>
143179
<a href="#footnote7">[6]</a>
144180
</td>
145181
<td> DSL, SQL </td>
@@ -151,7 +187,7 @@ columnar storage is good for analytical operations
151187
</tr>
152188
<tr>
153189
<td>
154-
<a href="https://github.com/taosdata/TDengine"> TDengine </a>
190+
<a href="https://github.com/taosdata/TDengine">TDengine</a>
155191
<a href="#footnote7">[7]</a>
156192
</td>
157193
<td> SQL </td>

misc/content/2023/01/useful-rust-crates-for-database/useful-rust-crates-for-database.md

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Status: published
22
Date: 2023-01-13 15:46:22
3-
Modified: 2023-08-29 11:18:01
3+
Modified: 2025-06-03 00:37:18
44
Author: Benjamin Du
55
Slug: useful-rust-crates-for-database
66
Title: Useful Rust Crates for Database
@@ -44,14 +44,6 @@ https://github.com/cberner/redb
4444

4545
https://github.com/quickwit-oss/tantivy
4646

47-
## [rusqlite](https://crates.io/crates/rusqlite)
48-
[rusqlite](https://crates.io/crates/rusqlite)
49-
is an ergonomic wrapper for SQLite.
50-
51-
## [sled](https://github.com/spacejam/sled)
52-
[sled](https://github.com/spacejam/sled)
53-
is an embedded key-value pair databases written in Rust.
54-
5547
## [indradb](https://github.com/indradb/indradb)
5648
[indradb](https://github.com/indradb/indradb)
5749
is a graph database written in rust.
@@ -93,6 +85,33 @@ to store, search, and manage points - vectors with an additional payload.
9385
Qdrant is tailored to extended filtering support.
9486
It makes it useful for all sorts of neural-network or semantic-based matching, faceted search, and other applications.
9587

88+
## Embedded Databases
89+
90+
https://github.com/tursodatabase/limbo
91+
Limbo is a project to build the modern evolution of SQLite.
92+
93+
### [rusqlite](https://crates.io/crates/rusqlite)
94+
[rusqlite](https://crates.io/crates/rusqlite)
95+
is an ergonomic wrapper for SQLite.
96+
97+
SurrealDB
98+
https://surrealdb.com/docs/surrealdb/embedding
99+
can be embedded.
100+
101+
https://github.com/PoloDB/PoloDB
102+
PoloDB is an embedded document database.
103+
104+
## [sled](https://github.com/spacejam/sled)
105+
[sled](https://github.com/spacejam/sled)
106+
is an embedded key-value pair databases written in Rust.
107+
108+
https://github.com/vincent-herlemont/native_db
109+
Drop-in embedded database in Rust
110+
111+
https://github.com/tonbo-io/tonbo
112+
A portable embedded database using Arrow.
113+
114+
96115
## OLAP Specific Databases
97116

98117
### [seafowl](https://github.com/splitgraph/seafowl)
@@ -216,7 +235,11 @@ A simply CLI to quickly view your data. Powered by DataFusion.
216235

217236
## Big Data
218237

219-
[Rust for Big Data and Parallel Processing Applications](https://www.xenonstack.com/blog/rust-big-data-applications)
238+
- [rewrite-bigdata-in-rust/RBIR](https://github.com/rewrite-bigdata-in-rust/RBIR)
239+
240+
A collection of RBIR projects and posts for anyone interested in joining this journey.
241+
242+
- [Rust for Big Data and Parallel Processing Applications](https://www.xenonstack.com/blog/rust-big-data-applications)
220243

221244
### [datafuse](https://github.com/datafuselabs/datafuse)
222245

misc/content/2025/04/manage-python-projects-using-uv/manage-python-projects-using-uv.md

Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Status: published
22
Date: 2025-04-30 06:16:38
3-
Modified: 2025-06-02 23:15:40
3+
Modified: 2025-06-03 00:38:24
44
Author: Benjamin Du
55
Slug: manage-python-projects-using-uv
66
Title: Manage Python Projects Using uv
@@ -29,25 +29,19 @@ curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin"
2929

3030
2. Initialize a uv managed Python script.
3131

32-
```
33-
uv init --python 3.13 --script example.py
34-
```
32+
uv init --python 3.13 --script example.py
3533

3634
Notice that if the script `example.py` already exists,
3735
uv will just append metadata lines into it.
3836

3937
3. You can add dependencies to a uv managed Python scripts
4038
using the following command.
4139

42-
```bash
43-
uv add --script example.py 'requests<3' 'rich'
44-
```
40+
uv add --script example.py 'requests<3' 'rich'
4541

4642
2. You can run a uv managed Python script using the following command.
4743

48-
```bash
49-
uv run /path/to/uv_init_pyscript
50-
```
44+
uv run /path/to/uv_init_pyscript
5145

5246
This can be simplified by add the shebang
5347
`#!/usr/bin/env -S uv run --script`
@@ -60,64 +54,44 @@ curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin"
6054

6155
1. Migrate from other Python projects to uv.
6256

63-
```bash
64-
uvx migrate-to-uv
65-
```
57+
uvx migrate-to-uv
6658

6759
2. Initialize a new uv project with the given name.
6860

69-
```bash
70-
uv init --package new_project_name
71-
```
61+
uv init --package new_project_name
7262

7363
3. Initialize the current project as a uv project.
7464

75-
```bash
76-
uv init --package
77-
```
65+
uv init --package
7866

7967
4. Update the lock file (changing as little as possible).
8068

81-
```bash
82-
uv lock
83-
```
69+
uv lock
8470

8571
5. Update the lock file ensuring that dependencies are the newest version allowed by the spec.
8672

87-
```bash
88-
uv lock --upgrade
89-
```
73+
uv lock --upgrade
9074

9175
6. Create a virtual environment if one doesn't already exist
9276
and install all dependencies.
9377

94-
```bash
95-
uv sync
96-
```
78+
uv sync
9779

9880
Install all dependencies including optional ones.
9981

100-
```bash
101-
uv sync --all-extras
102-
```
82+
uv sync --all-extras
10383

10484
Install all dependencies but not the current project.
10585

106-
```
107-
uv sync --no-install-project
108-
```
86+
uv sync --no-install-project
10987

11088
7. Build the project.
11189

112-
```bash
113-
uv build
114-
```
90+
uv build
11591

11692
8. Publish the project.
11793

118-
```bash
119-
uv publish
120-
```
94+
uv publish
12195

12296
## References
12397

0 commit comments

Comments
 (0)