博客
关于我
【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/

你可能感兴趣的文章
NFS安装配置
查看>>
NFS服务器配置-服务启动与停止
查看>>
NFS的安装以及windows/linux挂载linux网络文件系统NFS
查看>>
NFS的常用挂载参数
查看>>
NFS网络文件系统
查看>>
NFS远程目录挂载
查看>>
nft文件传输_利用remoting实现文件传输-.NET教程,远程及网络应用
查看>>
NFV商用可行新华三vBRAS方案实践验证
查看>>
ng build --aot --prod生成文件报错
查看>>
ng 指令的自定义、使用
查看>>
ng6.1 新特性:滚回到之前的位置
查看>>
nghttp3使用指南
查看>>
Nginx
查看>>
nginx + etcd 动态负载均衡实践(一)—— 组件介绍
查看>>
nginx + etcd 动态负载均衡实践(三)—— 基于nginx-upsync-module实现
查看>>
nginx + etcd 动态负载均衡实践(二)—— 组件安装
查看>>
nginx + etcd 动态负载均衡实践(四)—— 基于confd实现
查看>>
Nginx + Spring Boot 实现负载均衡
查看>>
Nginx + Tomcat + SpringBoot 部署项目
查看>>
Nginx + uWSGI + Flask + Vhost
查看>>