https://docs.trafficserver.apache.org/en/6.2.x/developer-guide/plugins/introduction.en.html
Traffic Server provides special event-driven mechanisms for efficiently scheduling work: the event system and continuations.
The event system is used to schedule work to be done on threads. 事件系统是用来调度任务的
A continuation is a passive, event-driven state machine that can do some work until it reaches a waiting point; it then sleeps until it receives notification that conditions are right for doing more work.
continuation是一个被动的,事件驱动的状态机。 执行---等待----执行---等待。。。。
Plugins are typically implemented as continuations.
浙公网安备 33010602011771号