Skip to content

v1_EN_Architecture

winlin edited this page Jan 6, 2022 · 14 revisions

HOME > EN > Something

SRS Architecture

SRS is a high performance server, single thread, async and none-blocking using epoll. Similar to NGINX, but without multiple process right now.

SRS use coroutine library state-threads, which use select, poll or epoll. ST(state-threads) is a server arch for internet application, see: StateThreads.

The information about setjmp/longjmp, and why st must alloc stack for each thread, read st(state-threads) coroutine and setjmp/longjmp

The information about stack of st, and how to switch between coroutines, and the cycle of coroutine, read st(state-threads) stack and coroutine cycle

ST mirror, see: ST

BTW: SRS multiple process arch is in plan, maybe support in 2015.

Winlin 2014.10

Welcome to SRS wiki!

SRS 5.0 wiki

Please select your language:

SRS 4.0 wiki

Please select your language:

SRS 3.0 wiki

Please select your language:

SRS 2.0 wiki

Please select your language:

SRS 1.0 wiki

Please select your language:

Clone this wiki locally