Vesa Kaihlavirta 232d006ef6 Set keep-alive to 0 for Rust/Rocket (#5296) 6 жил өмнө
..
src 232d006ef6 Set keep-alive to 0 for Rust/Rocket (#5296) 6 жил өмнө
templates 68fdd1a8ee Update Rocket for more performance (#5174) 6 жил өмнө
Cargo.toml 232d006ef6 Set keep-alive to 0 for Rust/Rocket (#5296) 6 жил өмнө
README.md b69e42d542 Add Rust Rocket framework (#3996) 7 жил өмнө
benchmark_config.json b69e42d542 Add Rust Rocket framework (#3996) 7 жил өмнө
rocket.dockerfile 232d006ef6 Set keep-alive to 0 for Rust/Rocket (#5296) 6 жил өмнө

README.md

Rocket - Simple, Fast, Type-Safe Web Framework for Rust

Description

Rocket is a web framework for Rust that makes it simple to write fast web applications without sacrificing flexibility or type safety. All with minimal code.

Database

PostgreSQL

Test URLs

Test 1: JSON Encoding

http://localhost:8000/json

Test 2: Single Row Query

http://localhost:8000/db

Test 3: Multi Row Query

http://localhost:8000/queries?q=20

Test 4: Fortunes (Template rendering)

http://localhost:8000/fortunes

Test 5: Update Query

http://localhost:8000/updates?q=20

Test 6: Plaintext

http://localhost:8000/plaintext