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

你可能感兴趣的文章
Nacos 与 Eureka、Zookeeper 和 Consul 等其他注册中心的区别
查看>>
Nacos 单机集群搭建及常用生产环境配置 | Spring Cloud 3
查看>>
Nacos 启动报错[db-load-error]load jdbc.properties error
查看>>
Nacos 报Statement cancelled due to timeout or client request
查看>>
Nacos 注册服务源码分析
查看>>
Nacos 融合 Spring Cloud,成为注册配置中心
查看>>
Nacos-注册中心
查看>>
Nacos-配置中心
查看>>
Nacos2.X 源码分析:为订阅方推送、服务健康检查、集群数据同步、grpc客户端服务端初始化
查看>>
Nacos2.X 配置中心源码分析:客户端如何拉取配置、服务端配置发布客户端监听机制
查看>>
Nacos2.X源码分析:服务注册、服务发现流程
查看>>
NacosClient客户端搭建,微服务注册进nacos
查看>>
Nacos中使用ribbon
查看>>
Nacos使用OpenFeign
查看>>
Nacos使用Ribbon
查看>>
Nacos做注册中心使用
查看>>
Nacos做配置中心使用
查看>>
Nacos入门过程的坑--获取不到配置的值
查看>>
Nacos原理
查看>>
Nacos发布0.5.0版本,轻松玩转动态 DNS 服务
查看>>