赞
踩
Cube.js 是一个开源的分析 API 平台。它主要用于构建内部商业智能工具或将面向客户的分析添加到现有应用程序中。
Cube.js 旨在与无服务器数据仓库和查询引擎(如 Google BigQuery 和 AWS Athena)一起使用。多阶段查询方法使其适用于处理数万亿个数据点。大多数现代 RDBMS 也可以与 Cube.js 一起使用,并且可以进一步调整性能。
GitHub:https://github.com/cube-js/cube.js
Document:https://cube.dev/docs/
主要针对 tide 和 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
一个用来控制线程调度策略和线程优先级的库。目前支持主流操作系统。
最小实例——将当前线程优先级调至最低:
- use thread_priority::*;
-
- fn main() {
- assert!(set_current_thread_priority(ThreadPriority::Min).is_ok());
- }
GitHub:https://github.com/vityafx/thread-priority
一个简单的音频控制和通知守护进程,通过 libnotify 发送报告 pulseaudio 状态的通知。
GitHub:https://github.com/ZenTauro/sacand
snarkOS 是一个用于私有应用程序的去中心化操作系统。它构成了 Aleo 的主干,使应用程序能够以可公开验证的方式验证和存储状态。
GitHub:https://github.com/AleoHQ/snarkOS
cargo run --release
GitHub:https://github.com/golmman/uisge
二叉树插入:https://dawchihliou.github.io/articles/binary-tree-insertion-in-rust
为 Web 编写一个 Tiny Rust 游戏引擎:https://dev.to/stevepryde/create-a-desktop-app-in-rust-using-tauri-and-yew-2bhe
使用 Tauri 和 Yew 创建一个桌面应用:https://dev.to/stevepryde/create-a-desktop-app-in-rust-using-tauri-and-yew-2bhe
From 日报小组 长琴
社区学习交流平台订阅:
Rustcc 论坛:支持 rss
微信公众号:Rust 语言中文社区
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。