Isaac Whitfield e7e89eb733 Align all stable Rust versions on 1.29.1 (#4079) 7 lat temu
..
src f86dee7927 optimize fortunes benchmark (#4043) 7 lat temu
templates ef202bb6ef Add Rust web framework Actix (#3159) 7 lat temu
Cargo.lock f86dee7927 optimize fortunes benchmark (#4043) 7 lat temu
Cargo.toml f86dee7927 optimize fortunes benchmark (#4043) 7 lat temu
README.md c203171b5c use different template engine (#3655) 7 lat temu
actix-diesel.dockerfile e7e89eb733 Align all stable Rust versions on 1.29.1 (#4079) 7 lat temu
actix-pg.dockerfile e7e89eb733 Align all stable Rust versions on 1.29.1 (#4079) 7 lat temu
actix-raw.dockerfile e7e89eb733 Align all stable Rust versions on 1.29.1 (#4079) 7 lat temu
actix.dockerfile e7e89eb733 Align all stable Rust versions on 1.29.1 (#4079) 7 lat temu
benchmark_config.json 724a773096 Actix: unify and optimize platform benchmarks (#3806) 7 lat temu
build.rs 09413cb258 Update actix to latest stable version (#3752) 7 lat temu
rustfmt.toml c203171b5c use different template engine (#3655) 7 lat temu

README.md

Actix web framework

Description

Actix web is a small, fast, pragmatic, open source rust web framework.

Features

  • Supported HTTP/1.x and HTTP/2.0 protocols
  • Streaming and pipelining
  • Keep-alive and slow requests handling
  • Client/Server WebSockets
  • Transparent content compression/decompression (br, gzip, deflate)
  • Configurable request routing
  • Graceful server shutdown
  • Multipart streams
  • Middlewares (Logger, Session, DefaultHeaders, CORS)

Database

PostgreSQL.

Test URLs

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?q=20

Test 4: Fortunes (Template rendering)

http://localhost:8080/fortunes

Test 5: Update Query

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

Test 6: Plaintext

http://localhost:8080/plaintext