You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* perf: switch plaintext and json to one runtime per thread, improving performance.
* perf: remove need for additional vec
* perf: reduce length of query parameter
* perf: increase strength of inlining hint
* perf: reduce query length
* perf: shorten path and use references
* bug: increased length of route in line with requirements
* build: upgraded dependencies
* bug: increased mongodb pool size
* perf: replacement of moka with quick_cache
* perf: simplification of mass update query
* perf: improvements to random number generation
* build: upgrade rust version
* fix: re-added ordering to remove deadlocks
* perf: use of mimalloc
Copy file name to clipboardExpand all lines: frameworks/Rust/axum/README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,11 @@ built with Tokio, Tower, and Hyper.
27
27
## Notable Points (both performance and build)
28
28
29
29
- Use of `async`.
30
-
- Use of most recent versions of Rust, `axum` and dependencies.
30
+
- Use of the most recent versions of Rust, `axum` and dependencies.
31
31
- (Disabled by default) Compile-time swap-in of `simd-json` instead of `serde_json` for faster JSON serialization.
32
32
- Release binaries are stripped and compiled with CPU native.
33
-
- Sockets configured with TCP_NODELAY and to support an increased number of pending connections.
33
+
- Sockets configured with `TCP_NODELAY` and to support an increased number of pending connections.
34
+
- For very simple benchmarks, use of a separate, single-threaded Tokio runtime for each thread.
34
35
- Server configured to serve HTTP/1 only, with no need for websockets.
35
36
- Separation of build and deployment containers using multi-stage builds.
36
37
- Deployment into Google's minimal `distroless-cc` container.
@@ -39,8 +40,5 @@ built with Tokio, Tower, and Hyper.
39
40
- Use of PostgreSQL prepared statements cache (where supported).
40
41
- Use of PostgreSQL arrays to execute multi-row database updates with a single `UPDATE` query.
41
42
- This is permitted by the [test requirements](https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Project-Information-Framework-Tests-Overview#database-updates), step (ix).
42
-
- In version 0.7.6 (as yet unreleased), a native API to set TCP_NODELAY will be included.
43
-
-https://github.com/tokio-rs/axum/pull/2653/
44
-
-https://github.com/tokio-rs/axum/issues/2521
45
43
- More performance improvements are to be expected in version 0.8:
0 commit comments