博客
关于我
【Rust日报】2020-01-09 在 Rust 实现的内核中实现协作调度器
阅读量:691 次
发布时间:2019-03-17

本文共 1792 字,大约阅读时间需要 5 分钟。

在 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-web,Juniper,Diesel 和 jsonwebtoken。

Benchmarks with insert into PostgreSQL:

▶ ./bombardier -c 125 -n 10000000 http://localhost:3000/graphql -k -f body --method=POST -H "Content-Type: application/json" -sBombarding http://localhost:3000/graphql with 10000000 request(s) using 125 connection(s)10000000 / 10000000 [===========================================================================] 100.00% 28777/s 5m47sDone!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

转载地址:http://hrahz.baihongyu.com/

你可能感兴趣的文章
ms sql server 2008 sp2更新异常
查看>>
MS UC 2013-0-Prepare Tool
查看>>
MSBuild 教程(2)
查看>>
msbuild发布web应用程序
查看>>
MSB与LSB
查看>>
MSCRM调用外部JS文件
查看>>
MSCRM调用外部JS文件
查看>>
MSEdgeDriver (Chromium) 不适用于版本 >= 79.0.313 (Canary)
查看>>
MsEdgeTTS开源项目使用教程
查看>>
msf
查看>>
MSSQL数据库查询优化(一)
查看>>
MSSQL数据库迁移到Oracle(二)
查看>>
MSSQL日期格式转换函数(使用CONVERT)
查看>>
MSTP多生成树协议(第二课)
查看>>
MSTP是什么?有哪些专有名词?
查看>>
Mstsc 远程桌面链接 And 网络映射
查看>>
Myeclipse常用快捷键
查看>>
MyEclipse更改项目名web发布名字不改问题
查看>>
MyEclipse用(JDBC)连接SQL出现的问题~
查看>>
mt-datetime-picker type="date" 时间格式 bug
查看>>