mylinyuzhi / blog

notes on papers/books/codes

Home Page:https://xieyu.github.io/blog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

建议看html版本

个人技术博客

读书笔记

Design Data Intensive Application

Specifying System

代码阅读笔记

Golang

Kafka

LevelDB

RocksDB

TiDB

TiKV

Tokio

  • Executor: 执行future Executor主要作用是spawn future,将future转换为相应的task,然后由runtime去执行task,不断的调用future的poll接口, 直到future complete 或者fail。
    • Park 线程block/unblock抽象 Park是对当前线程block和unblock操作的抽象, 和std的park/unpark操作来比,在线程被blocked的时候,可以去调用一些定制化的功能。
    • thread pool runtime tokio 使用了crossbeam中的Queue, Stealer, Worker等来实现线程池。采用work steal机制来保证任务均匀分配。
  • Driver: mio事件驱动 Driver 在io event事件触发后,唤醒等待的task。
  • Io: async read/write 等抽象

Tensorflow

About

notes on papers/books/codes

https://xieyu.github.io/blog/


Languages

Language:C 83.3%Language:TLA 6.5%Language:C++ 5.9%Language:Python 3.5%Language:Shell 0.8%