malvag / blog-rocksdb-notes-on-src

notes on papers/books/codes

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

建议看html版本

个人技术博客

Contents

读书笔记

Design Data Intensive Application

Specifying System

代码阅读笔记

Tengine

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

Draft

About

notes on papers/books/codes

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


Languages

Language:Python 42.1%Language:C 25.0%Language:Handlebars 18.8%Language:JavaScript 7.0%Language:CSS 3.1%Language:TLA 1.9%Language:C++ 1.8%Language:Shell 0.2%