dependabot[bot] 19580460e8 Bump diesel from 1.4.6 to 2.2.3 in /frameworks/Rust/tide 1 年之前
..
src 031cda5c87 tide: initial implementation for Rust/tide (#6412) 4 年之前
templates 031cda5c87 tide: initial implementation for Rust/tide (#6412) 4 年之前
Cargo.lock 19580460e8 Bump diesel from 1.4.6 to 2.2.3 in /frameworks/Rust/tide 1 年之前
Cargo.toml 19580460e8 Bump diesel from 1.4.6 to 2.2.3 in /frameworks/Rust/tide 1 年之前
README.md 031cda5c87 tide: initial implementation for Rust/tide (#6412) 4 年之前
benchmark_config.json f4b141265b [ci skip] Update the set of broken implementations (#7969) 2 年之前
config.toml 031cda5c87 tide: initial implementation for Rust/tide (#6412) 4 年之前
tide.dockerfile 031cda5c87 tide: initial implementation for Rust/tide (#6412) 4 年之前

README.md

tide

Tide is a minimal and pragmatic Rust web application framework built for rapid development. It comes with a robust set of features that make building async web applications and APIs easier and more fun.

Benchmark Implementation

This implementation is largely based on the actix and warp implementation. Thanks to everyone who worked on them.

Database

PostgreSQL, ORM using diesel, the de facto standard for Rust ORM.

Routes

Benchmark Name URL
Test 1 JSON Encoding http://localhost:8080/json
Test 2 Single Row Query http://localhost:8080/db
Test 3 Multi Row Query http://localhost:8080/queries/:count
Test 4 Fortunes (Template rendering) http://localhost:8080/fortune
Test 5 Update Query http://localhost:8080/updates/:count
Test 6 Plaintext http://localhost:8080/plaintext

Implementation

Routing is defined in main.rs. Top level request handling is defined in handlers.rs.