< 返回版块

Jancd 发表于 2020-01-09 22:19

Tags:rust,news

在 Rust 实现的内核中实现协作调度器

背景:OxidizedOS 是用 Rust 编写的多核 x86-64 内核。有关更多信息,请参见简介:https://ryan-jacobs1.github.io/2019/12/30/an-introduction.html。

在本文中,我们将实现协作式多任务处理。为简单起见,我们将使用循环调度器,其中每个线程将以 FIFO 顺序运行。更多请看原文:https://ryan-jacobs1.github.io/2020/01/06/scheduler.html

reddit 参与讨论:https://www.reddit.com/r/rust/comments/elzh3x/blog_post_implementing_a_cooperative_scheduler_in/

canduma

该仓库包含样板 Rust 代码,用于通过 JWT 启动并快速运行 GraphQL 原型。

它使用 actix-webJuniperDieseljsonwebtoken

Benchmarks with insert into PostgreSQL:

▶ ./bombardier -c 125 -n 10000000 http://localhost:3000/graphql -k -f body --method=POST -H "Content-Type: application/json" -s
Bombarding http://localhost:3000/graphql with 10000000 request(s) using 125 connection(s)

10000000 / 10000000 [===========================================================================] 100.00% 28777/s 5m47s
Done!
Statistics        Avg      Stdev        Max
  Reqs/sec     28788.66    2183.47   34605.95
  Latency        4.32ms   543.07us   110.95ms
  HTTP codes:
    1xx - 0, 2xx - 10000000, 3xx - 0, 4xx - 0, 5xx - 0
    others - 0
  Throughput:    20.75MB/s

项目地址:https://github.com/clifinger/canduma

reddit 参与讨论:https://www.reddit.com/r/rust/comments/em8bx9/update_of_our_rust_boilerplate_server_with/

RustZone: Writing Trusted Applications in Rust (Black Hat Asia 2018)

演讲中将探索使用 Rust 语言编写受信任的应用程序。 Rust 允许开发人员编写系统级代码,但提供安全性功能,包括内存安全性,类型安全性和错误处理。这些是开发受信任的应用程序的理想功能。油管地址:https://www.youtube.com/watch?v=5fxPuOrlE2I&feature=youtu.be

Rust Belt Rust 2019 的视频已发布

Rust Belt Rust(http://www.rust-belt-rust.com/)是在美国 Rust Belt 地区举行的关于 Rust 编程语言的会议。 Rust Belt Rust 2019 于 10 月 18 日星期五和 10 月 19 日星期六在俄亥俄州代顿举行。再次感谢我们所有的与会者,演讲者和赞助商!油管地址:https://t.co/DTFoG1dDyr?amp=1

编写 Web server 及其以外的技巧

油管地址:https://youtu.be/ZDy71QtAQgs?list=PLgC1L0fKd7UkVwjVlOySfMnn80Qs5TOLb


From 日报小组 @Jancd

日报订阅地址:

独立日报订阅地址:

社区学习交流平台订阅:

评论区

写评论

还没有评论

1 共 0 条评论, 1 页