From 829e06a4d00aa86b49c0e16d056d134dd616b0ae Mon Sep 17 00:00:00 2001 From: oDinZu WenKi Date: Mon, 22 Jan 2024 15:31:51 -0500 Subject: [PATCH 1/2] fix typos --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffef5a0..664bf29 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This is a Drogon Content Management System(CMS). ## Benchmarks -### A NodeJs Server Test with 2 IO threads +### A NodeJs Server Test on 2 IO threads ``` wrk -c200 -d5 -t2 http://localhost:3000 Running 5s test @ http://localhost:3000 @@ -36,7 +36,7 @@ Requests/sec: 15033.66 Transfer/sec: 2.31MB ``` -### Drogon Server with Web Sockets, Drogon Proxy with 2 IO threads +### A drogon server with web sockets and drogon proxy on 2 IO threads ``` wrk -c200 -d5 -t2 ws://localhost:8088/ Running 5s test @ ws://localhost:8088/ @@ -50,6 +50,19 @@ Requests/sec: 115151.94 Transfer/sec: 78.74MB ``` +### Getting a json token with web sockets and drogon proxy on 2 IO threads. +``` +wrk -c200 -d5 -t2 http://localhost:8088/get-token +Running 5s test @ http://localhost:8088/get-token + 2 threads and 200 connections + Thread Stats Avg Stdev Max +/- Stdev + Latency 3.82ms 7.41ms 49.62ms 92.65% + Req/Sec 48.85k 3.63k 58.66k 76.00% + 485916 requests in 5.01s, 102.41MB read +Requests/sec: 97027.43 +Transfer/sec: 20.45MB +``` + ## Development & Contributing ### Developer Dependency Requirements -- 2.25.1 From f6e897c3bfd52ce31ada7da6fe99b42fd3b1d889 Mon Sep 17 00:00:00 2001 From: oDinZu WenKi Date: Mon, 22 Jan 2024 15:46:59 -0500 Subject: [PATCH 2/2] more typos --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 664bf29..588a74a 100644 --- a/README.md +++ b/README.md @@ -52,15 +52,15 @@ Transfer/sec: 78.74MB ### Getting a json token with web sockets and drogon proxy on 2 IO threads. ``` -wrk -c200 -d5 -t2 http://localhost:8088/get-token -Running 5s test @ http://localhost:8088/get-token +wrk -c200 -d5 -t2 ws://localhost:8088/get-token +Running 5s test @ ws://localhost:8088/get-token 2 threads and 200 connections Thread Stats Avg Stdev Max +/- Stdev - Latency 3.82ms 7.41ms 49.62ms 92.65% - Req/Sec 48.85k 3.63k 58.66k 76.00% - 485916 requests in 5.01s, 102.41MB read -Requests/sec: 97027.43 -Transfer/sec: 20.45MB + Latency 1.91ms 402.84us 4.23ms 69.21% + Req/Sec 50.74k 3.58k 56.43k 61.00% + 504657 requests in 5.01s, 106.36MB read +Requests/sec: 100798.10 +Transfer/sec: 21.24MB ``` ## Development & Contributing -- 2.25.1