当前位置:网站首页>[rust daily] January 23, 2022 webapi benchmarking
[rust daily] January 23, 2022 webapi benchmarking
2022-06-22 06:38:00 【51CTO】
analysis API platform cube.js
Cube.js It's an open source analysis API platform . It is mainly used to build internal business intelligence tools or add customer-oriented analysis to existing applications .
Cube.js Designed to work with serverless data warehouses and query engines ( Such as Google BigQuery and AWS Athena) Use it together . The multi-stage query method makes it suitable for processing trillions of data points . Most modern RDBMS with Cube.js Use it together , And can further adjust performance .

GitHub:https://github.com/cube-js/cube.js
Document:https://cube.dev/docs/
WebAPI Benchmarking
Mainly aimed at tide and actix-web:
========== Rust (tide) oha ==========
Success rate: 1.0000
Total: 52.4111 secs
Slowest: 7.2684 secs
Fastest: 0.0005 secs
Average: 0.0518 secs
Requests/sec: 19079.9386
Total data: 94.70 GiB
Size/request: 99.30 KiB
Size/sec: 1.81 GiB
Response time histogram:
0.014 [790046] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
0.028 [147431] |■■■■■
0.042 [18943] |
0.056 [3856] |
0.070 [1394] |
0.085 [391] |
0.099 [165] |
0.113 [46] |
0.127 [1] |
0.141 [0] |
0.155 [37727] |■
Latency distribution:
10%in 0.0035 secs
25%in 0.0055 secs
50%in 0.0086 secs
75%in 0.0133 secs
90%in 0.0212 secs
95%in 0.0350 secs
99%in 1.0409 secs
========== Rust (actix-web) oha ==========
Success rate: 1.0000
Total: 78.6992 secs
Slowest: 15.3911 secs
Fastest: 0.0003 secs
Average: 0.0767 secs
Requests/sec: 12706.6082
Total data: 99.35 GiB
Size/request: 104.18 KiB
Size/sec: 1.26 GiB
Response time histogram:
0.021 [571453] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
0.042 [144019] |■■■■■■■■
0.063 [106616] |■■■■■
0.084 [53172] |■■
0.104 [22118] |■
0.125 [14140] |
0.146 [10648] |
0.167 [6473] |
0.188 [5518] |
0.209 [2872] |
0.230 [62971] |■■■
Latency distribution:
10%in 0.0021 secs
25%in 0.0052 secs
50%in 0.0145 secs
75%in 0.0484 secs
90%in 0.1082 secs
95%in 0.3382 secs
99%in 1.0657 secs
========== Rust (tide) wrk ==========
Thread Stats Avg Stdev Max +/- Stdev
Latency 44.52ms 35.65ms 324.00ms 67.55%
Req/Sec 4.00k 613.36 10.05k 70.29%
716042 requests in 30.09s, 67.90GB read
Requests/sec: 23794.67
Transfer/sec: 2.26GB
========== Rust (actix-web) wrk ==========
Thread Stats Avg Stdev Max +/- Stdev
Latency 50.33ms 7.94ms 118.28ms 69.65%
Req/Sec 3.26k 221.62 3.74k 71.50%
583704 requests in 30.07s, 58.05GB read
Requests/sec: 19410.66
Transfer/sec: 1.93GB
Video:https://www.youtube.com/watch?v=3iA1G0l4PEw
Thread priority control thread-priority
A library used to control thread scheduling policy and thread priority . Currently, it supports mainstream operating systems .
Minimum instance —— Set the current thread priority to the lowest :
use thread_priority::*;
fn main() {
assert!(set_current_thread_priority(ThreadPriority::Min).is_ok());
}
GitHub:https://github.com/vityafx/thread-priority
Simple audio control daemon sacand
A simple audio control and notification daemon , adopt libnotify Send report pulseaudio Notification of status .
GitHub:https://github.com/ZenTauro/sacand
Decentralized operating system snarkOS
snarkOS Is a decentralized operating system for private applications . It constitutes Aleo The backbone of , Enable applications to validate and store state in a publicly verifiable way .
GitHub:https://github.com/AleoHQ/snarkOS
Double board game Uisge

cargo run --release
GitHub:https://github.com/golmman/uisge
Tutorial article
- Binary tree insertion :https://dawchihliou.github.io/articles/binary-tree-insertion-in-rust
- by Web Write a Tiny Rust The game engine :https://dev.to/stevepryde/create-a-desktop-app-in-rust-using-tauri-and-yew-2bhe
- Use Tauri and Yew Create a desktop application :https://dev.to/stevepryde/create-a-desktop-app-in-rust-using-tauri-and-yew-2bhe
Community learning exchange platform subscription :
- Rustcc Forum : Support rss
- WeChat official account :Rust Language Chinese community
边栏推荐
- Inserting a classdiagram into markdown
- [5g NR] ng setup of ngap protocol
- KV260的PMOD接口介绍
- MiniGUl 1.1.0版本引入的新GDI功能和函数(二)
- 5g terminal identification Supi, suci and IMSI analysis
- 【M32】单片机 Code、RO Data、RW Data、ZI Data 简单解读
- Blog add mailbox private message shortcut
- Chrome 安装 driver
- 《数据安全实践指南》- 数据采集安全实践-数据分类分级
- SQL 注入漏洞(十四)xff 注入攻击
猜你喜欢

SQL injection vulnerability (XI) wide byte injection

Databricks from open source to commercialization

【Rust 日报】2022-01-23 WebAPI Benchmarking
![[PHP]TP6 CLI模式下创建tp6和多应用配置以及常见问题](/img/19/0a3319b04fe6449c90ade6f27fca4a.png)
[PHP]TP6 CLI模式下创建tp6和多应用配置以及常见问题

MiniGUl 1.1.0版本引入的新GDI功能和函数(二)

Oracle之trim,ltrim,rtrim三个函数的用法

博客添加邮箱私信 快捷

Expert system clips from introduction to mastery (I) introduction and overview of clips

In depth analysis of 20million OP events stolen by optimization (including code)
![[openairinterface5g] rrcsetuprequest for RRC NR resolution](/img/de/34e71154941f977546362f10a19929.jpg)
[openairinterface5g] rrcsetuprequest for RRC NR resolution
随机推荐
[5g NR] mobile phone ID number IMEI and imeisv
[openairinterface5g] rrcsetuprequest for RRC NR resolution
ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let‘s Encrypt/CN=R3”,wget报错
[PHP]TP6 CLI模式下创建tp6和多应用配置以及常见问题
In the PostgreSQL database, if a field is judged to exist, the update operation is performed. If it does not exist, the insert operation is performed
【5G NR】UE注册管理状态
Dynamically create object execution methods
Single cell paper record (part6) -- space: spatial gene enhancement using scrna seq
[5g NR] UE registration management status
《数据安全实践指南》- 数据采集安全实践-数据分类分级
The song of cactus - marching into to C live broadcast (2)
Languo technology helps the ecological prosperity of openharmony
Don't throw away the electric kettle. It's easy to fix!
深度解析Optimism被盗2000万个OP事件(含代码)
The tidb community offline exchange meeting was seen by the partners from Tianjin and Shijiazhuang~
【OpenAirInterface5g】ITTI消息收发机制
-Bash: telnet: command not found solution
Cactus Song - online operation (5)
Callable
Event preview edgex developer summit @ Nanjing station is coming!