Skip to content

raymondshe/kanban

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Code for RESTful API in Sync & Async Rust article

This is the companion code repository for the article RESTful API in Sync & Async Rust on my Rust blog.

Servers

Each server implementation is in its own directory.

Server #1: Diesel + Rocket

  • Directory: diesel-rocket
  • Nickname: DR
  • Connection pool: r2d2
  • SQL executor: Diesel
  • HTTP routing: Rocket
  • Compiled with: Rust v1.53 (Nightly)

Server #2: sqlx + actix-web

  • Directory: sqlx-actix-web
  • Nickname: SA
  • Connection pool: sqlx
  • SQL executor: sqlx
  • HTTP Routing: actix-web
  • Compiled with: Rust v1.53 (Nightly)

Server #3: pg-promise + express.js (single-process)

  • Directory: pgp-express
  • Nickname: PES
  • Connection pool: pg-promise
  • SQL executor: pg-promise
  • HTTP Routing: express.js
  • Interpreted with: node.js v16.0.0
  • Mode: single-process

Server #4: pg-promise + express.js (multi-process)

  • Directory: pgp-express-multi
  • Nickname: PEM
  • Connection pool: pg-promise
  • SQL executor: pg-promise
  • HTTP Routing: express.js
  • Interpreted with: node.js v16.0.0
  • Mode: multi-process

Benchmarks

Source code for the benchmarks, and instructions on how to execute them, can be found in the benchmarks directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 52.2%
  • JavaScript 33.3%
  • Shell 7.3%
  • Python 4.8%
  • PLpgSQL 2.4%