欧美色欧美亚洲另类七区,惠美惠精品网,五月婷婷一区,国产亚洲午夜

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

  Linux Network Programming培訓(xùn)

 

 

 

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

主站蜘蛛池模板: 新绛县| 南康市| 宜阳县| 长武县| 许昌县| 茶陵县| 来凤县| 恩平市| 凤翔县| 唐海县| 阆中市| 石首市| 松阳县| 怀化市| 临沂市| 武冈市| 高平市| 广汉市| 丹东市| 万载县| 黔江区| 溆浦县| 河北区| 乌什县| 长治县| 陵川县| 呼伦贝尔市| 和田县| 枝江市| 弥勒县| 沅江市| 四会市| 盘锦市| 卢龙县| 大足县| 忻城县| 康保县| 汝阳县| 澜沧| 桑植县| 达尔|