課程目錄:Linux Network Programming培訓
4401 人關注
(78637/99817)
課程大綱:

  Linux Network Programming培訓

 

 

 

Sockets
Creating datagram sockets
Receiving and sending data
Creating and accepting TCP connections
Closing sockets
Handling errors
Handling more than one client in a simple way
Prefork model, as found in Apache
Forking a new process per client
Cleaning up after finished processes
Threads
Inetd, systemd units
Waiting for data
Blocking sockets
Non-blocking sockets and select
Select as a way to wait for "any of these sockets"
Organizing reads and writes
Dealing with short reads and writes
Reading up to a delimiter
Pipelined requests
Application-level buffers
Event-driven architecture
Using select for multiplexing all client connections in one thread
State machines
Callback hell
Event libraries
"Green" threads
Problem of 10000 connections
Problems with prefork model and select-based loop
poll as an alternative to select
Realtime signals and why you shouldn't use them
Epoll (linux) and kqueue (BSD)
Why and when epoll and kqueue are faster than poll/select
Timeouts and timers
SIGALARM
Timeout as a select argument
A simple case of all-equal timeouts
Priority queue as an abstract data stracture
Binary heap as a priority queue implementation
Timer wheel
timerfd
Integration with the operating system
Traditional daemons
Systemd socket activation
Logging
Handling signals
Performance and scalability optimizations
Choosing the right architecture
Setting socket options

主站蜘蛛池模板: 中文字幕欧美日韩在线不卡| 国产欧美精品一区二区色综合| 国产成人无码午夜视频在线观看| 亚洲精品在线免费观看| 久久免费小视频| 国产男女爽爽爽爽爽免费视频| 精品国精品无码自拍自在线| 欧美日本高清视频在线观看| 女人被狂c躁到高潮视频| 国产一区二区在线观看app| 久久波多野结衣| 日产精品一二三四区国产| 精品一区二区三区在线观看视频| 日本一道高清不卡免费| 国产成人无码一区二区三区| 免费无码又爽又高潮视频| 中文字幕日韩精品一区二区三区 | 亚洲成综合人影院在院播放| 99国产精品国产精品九九| 男人和女人做爽爽视频| 娇妻借朋友高h繁交h| 国产小视频你懂的| 亚洲熟妇无码av在线播放| 一区二区福利视频| 精品一区二区三区在线成人| 忘忧草日本在线播放www| 制服丝袜中文字幕在线观看| 一二三四视频社区在线| 精品久久中文字幕| 天美麻花视频大全| 亚洲高清资源在线观看| 中文字幕高清在线| 精品无码国产AV一区二区三区 | 欧美日韩视频免费播放| 国内精品久久久久久无码不卡| 国产亚洲真人做受在线观看| 久久久久国产精品免费免费搜索 | 亚洲一区二区三区国产精华液 | 91精品国产综合久| 网站视频大片www| 日本一本在线播放|