You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm one of the maintainers of Photon, a modern coroutine library that is deployed in production at scale in Alibaba. And I also have past experiences of using state-threads in a major project, during which I even reported an issue to SRS's fork of ST.
I have recently written a compatibility layer for Photon to emulate ST. It passed all UTs of ST. The layer aims to be 100% compatible to ST in compilation, and possibly in linking (simply replace libst.a/so with libphoton.a/so);
So I'd like to propose Photon as an alternative coroutine implementation for SRS for the following reasons:
Photon supports multi-core CPU in a single process, and modern I/O features like io_uring, zero-copy TCP, RDMA, DPDK + user-space TCP (via f-stack), libaio, etc.
Photon has a built-in HTTP server that is more performant than boost.beast or nginx;
EnglishNativeThis issue is conveyed exclusively in English.
1 participant
Converted from issue
This discussion was converted from issue #4179 on September 18, 2024 11:02.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm one of the maintainers of Photon, a modern coroutine library that is deployed in production at scale in Alibaba. And I also have past experiences of using state-threads in a major project, during which I even reported an issue to SRS's fork of ST.
I have recently written a compatibility layer for Photon to emulate ST. It passed all UTs of ST. The layer aims to be 100% compatible to ST in compilation, and possibly in linking (simply replace libst.a/so with libphoton.a/so);
So I'd like to propose Photon as an alternative coroutine implementation for SRS for the following reasons:
Beta Was this translation helpful? Give feedback.
All reactions