Commit Graph

118 Commits

Author SHA1 Message Date
Sebastian Jeltsch
9ca34f46f3 Further tune SQLite execution model.
Previously reader and writer channels were operating entirely
independently, which yields the lowest overhead for pure read and pure
write benchmarks.
In mixed workloads like prod, however, this is not ideal since we're
running into SQLite's own file-locking, which has more overhead than
in-process locking.

With this change, we use an RwLock to reduce congestion while still
allowing parallel reads.
Together with a low-overhead kanal channel, we see little to no
regression for pure read and pure write benchmarks, while seeing about a
3x improvement for mixed workloads.

We also move ACL checks for Create/Update queries to the writer SQLite
connection, to reduce thrashing.
2025-04-28 14:11:44 +02:00
Sebastian Jeltsch
03d2260737 Change Rust client's arguments to a builder approach (as opposed to leaking the struct) for better forward compatibility. 2025-04-28 11:16:50 +02:00
Sebastian Jeltsch
a7a931f51f Add offset pagination parameter to Rust client. 2025-04-27 23:28:31 +02:00
Sebastian Jeltsch
20799ca6a9 Add offset pagination parameter to JS/TS client and docs. 2025-04-27 23:25:53 +02:00
Sebastian Jeltsch
f1d84f5760 Update JS and Rust dependencies. 2025-04-25 17:08:26 +02:00
Sebastian Jeltsch
d79f8e0697 Doc: overhaul PocketBase comparison. 2025-04-25 11:41:27 +02:00
Sebastian Jeltsch
3729f70b7b Prepare new release v0.10.0. 2025-04-24 21:02:14 +02:00
Sebastian Jeltsch
f0e5570f96 Update website to Tailwind v4.
Everything else is still on Tailwind v3, since we depend on solid-ui,
which doesn't yet support v4:
https://github.com/stefan-karger/solid-ui/issues/166#issuecomment-2822360321,
however this way we can build some familiarity with the new system.

Sadly, the tailwind eslint plugin had to be disabled because it doesn't
support v4 and the v4 alpha is completely disfunct:
https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/325.
2025-04-24 10:40:51 +02:00
Sebastian Jeltsch
22bea3e6eb Add a better footer to website. 2025-04-23 23:04:46 +02:00
Sebastian Jeltsch
79e6244a19 Update JS deps. 2025-04-22 21:52:12 +02:00
Sebastian Jeltsch
d6b199587d Update to Rust edition 2024. 2025-04-20 07:36:26 +02:00
Sebastian Jeltsch
6999bafddd Update JS dependencies. 2025-04-15 22:17:12 +02:00
Sebastian Jeltsch
d9444147a0 Fix minor issues with documentation. 2025-04-15 15:33:31 +02:00
Sebastian Jeltsch
eecab32d39 Minor: consistent tokio and env_logger dependencies. 2025-04-14 09:25:44 +02:00
Sebastian Jeltsch
15bd04ec28 Update routing in docs to match new routing syntax in axum v0.8. Thanks @Newex. Fixes #43. 2025-04-07 22:24:47 +02:00
Sebastian Jeltsch
5f1702a560 Minor: fix link for Rust client on the website. 2025-04-05 17:58:00 +02:00
Sebastian Jeltsch
ff17f913fb Minor: fix drizzle name typo in benchmark graph. 2025-04-04 20:59:04 +02:00
Sebastian Jeltsch
fdfd363cfd Prepare new release v0.9.0. 2025-04-04 14:39:36 +02:00
Sebastian Jeltsch
ecad4d14ee Update benchmark results. 2025-04-04 01:39:37 +02:00
Sebastian Jeltsch
0e6886d5bf Update JS deps. 2025-04-03 10:04:23 +02:00
Sebastian Jeltsch
911f27abdc Add loginMessage?= to demo links. 2025-03-30 22:15:03 +02:00
Sebastian Jeltsch
8cef7d3a73 Update Rust and JS deps. 2025-03-26 11:16:16 +01:00
Sebastian Jeltsch
82290079cd Update Rust and JS deps. 2025-03-22 23:29:21 +01:00
Jean-Baptiste Muscat
774ade5cfb [Doc] Fix typos 2025-03-20 17:46:38 +01:00
Sebastian Jeltsch
9d63baccb0 Update JS dependencies. 2025-03-18 11:27:31 +01:00
Sebastian Jeltsch
3afa44f893 Update JS dependencies. 2025-03-10 13:47:24 +01:00
Sebastian Jeltsch
5bb9b15098 Minor: make doc shelve's background transparent to look less alien in dark mode. 2025-03-03 15:50:04 +01:00
Sebastian Jeltsch
b5442aef88 Update JS and Rust dependencies. 2025-03-03 15:23:08 +01:00
Sebastian Jeltsch
d9fe2b34d7 Update JS and Rust dependencies. 2025-03-02 21:27:35 +01:00
Sebastian Jeltsch
57fcb211e3 Add eslint to docs. 2025-03-02 21:12:23 +01:00
Sebastian Jeltsch
0bf3cea86f Update screenshots and tweak sales pitch. 2025-03-01 23:21:03 +01:00
Sebastian Jeltsch
527974284f Update Rust and JS deps. 2025-02-27 00:59:20 +01:00
Sebastian Jeltsch
2dd4ea6a05 Update dependencies. 2025-02-20 23:19:19 +01:00
Sebastian Jeltsch
8b3b005519 Add mention of ?count and ?expand query parameters to docs. 2025-02-16 15:46:57 +01:00
Sebastian Jeltsch
70fef61d16 Update Rust and JS dependencies. 2025-02-14 23:31:19 +01:00
Sebastian Jeltsch
ef447528c0 Add mention of foreign record expansion to documentation. 2025-02-14 22:54:40 +01:00
Sebastian Jeltsch
5e61afa56b Support foreign record expansion in RecordApi.read() calls for Rust client. 2025-02-14 21:06:55 +01:00
Sebastian Jeltsch
51afb0b721 Add count and expansions to RecordApi.list for rust client. Expansions are still missing from read. 2025-02-14 16:59:46 +01:00
Sebastian Jeltsch
ee03e413ca Update JS and Dart dependencies. 2025-02-12 23:12:18 +01:00
Sebastian Jeltsch
bdac00d00a Minor: simplify shared styling setup for admin and auth UI. 2025-02-09 10:27:30 +01:00
Sebastian Jeltsch
d4ba8a05bf Remove dangling doc. 2025-02-08 21:51:16 +01:00
Sebastian Jeltsch
ce1b382c46 Add support for bulk record creation using the same POST entry point and update all clients. 2025-02-07 20:11:21 +01:00
Sebastian Jeltsch
8b61a01af6 Update Rust and JS deps. 2025-02-07 11:20:41 +01:00
Sebastian Jeltsch
639b6ab272 Update benchmark results for PocketBase v0.25.0, which provided a lovely 30% performance increase. 2025-02-05 14:11:26 +01:00
Sebastian Jeltsch
18dfeee2df Some more word smithing regarding the new data modeling and relations documentation. 2025-02-04 21:54:02 +01:00
Sebastian Jeltsch
ea61aeab45 Add dedicated documentation on how to model data and relations with SQLite and TrailBase. 2025-02-04 12:39:34 +01:00
Sebastian Jeltsch
031e2a5032 Update Rust and JS deps. 2025-02-02 12:26:02 +01:00
Sebastian Jeltsch
81ccda25a9 Minor: fix graph legend on file system write latency benchmark. 2025-02-01 17:56:30 +01:00
Sebastian Jeltsch
0f4899bdeb Add file system benchmarks to the benchmark doc. 2025-02-01 11:21:47 +01:00
Sebastian Jeltsch
1b6bd47274 Overhaul FAQs documentation. 2025-01-30 11:57:55 +01:00