#epoll

百万 Go TCP 连接的思考: epoll方式减少资源占用

Published at March 11, 2019 ·  1 min read

百万 TCP 链接的文章,通过 epoll 减少资源开销,在设计思路上与 redis 类似,虽然单线程,但并不是瓶颈。 百万 Go TCP 连接的思考: epoll方式减少资源占用...


Why is Redis So Fast

Published at February 23, 2019 ·  1 min read

redis 为何如此之快,除了将数据存储到内存外,其充分利用了Linux 中的 epoll/kqueue ,通过 i/o 上的多路复用以及事件驱动,达到了很高的并发 Why is Redis So Fast...


Async IO on Linux: select, poll, and epoll - Julia Evans

Published at February 23, 2019 ·  1 min read

作者在阅读 「The Linux Programming Interface」这本书后给出的在 Linux 中异步 IO 方案选择上的判断,对 select,poll, epoll 做对比,其中 epoll 为一种事件驱动的更为高效节省资源的方案 Async IO on Linux: select, poll, and epoll - Julia Evans...


Tags

abcs accept acid activemq affinity algorithm allocation android array async aws b+tree b-tree backoff benchmark best-practices bfs big-o bigquery bind bitcount blog break broker bubble buffer cache cap cert cgroups channel citus class classmethod cluster concurrency config consumer container cookie cors crawler cronjob csrf ctr data-science data-structure database datadog dataflow datascience decorator defer dfs distributed django dns docker double-shipping drf ecosia elastic-search enumerate epoll extra fabric2 facebook-pixel financial-report flask flutter forward-proxy freelance frontend frp garbage-collector gc gcp generator get gil git golang goroutine graphql ha handbook haproxy hash hash-slot hashring hashtable hpa http http-auth http-proxy http_proxy https index init innodb instagram intergration interview ios javascript jinja2 jobboard jwt k8s kafka kibana kqueue label lambda layer4 layer7 lean levels.io linked-list linux list listen loadbalancer logs long-tail lru marketing master matplotlib memory merge metaclass metaprogramming metrics metrics-server microservices mitm model mq myisam mysql namespace nat netflix network-extension nginx nodejs nomad nosql npm oodesign openssl optimization orm pandas parallelism paramiko parkinglot patroni permission pg pipeline pixelme post postgresql postresql prefetch_related prerender private-key process proxy proxycommand put pvm python queue rabbitmq rbac react-native reactjs rebase redis redis-cluster replication resource rest restfulapi retargeting retry revenue reverse-proxy rocketmq rsa saas scaleable search-engine security select seo serverless service session set shadosocks shadowsocks shard sharding shell shopify sigint signal sigterm slack slave slow-query sniper sns socket socks5 source-code spa sql sqlalchemy sqs ssh ssl ssl-pinning stack startup state stateful stateless staticmethod string struct swift switch syscall system-design systemctl tcp tcp-proxy thread tmpreaper token traefik trustkit tunning type typeform udp variable vc vpn vuejs web web-development where yarn zset 削峰 宽索引 异步 窄索引 解耦 跨域 跳板机


Archives

2019 (141)