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 trying to write an event loop that either accepts a TcpListener connection or performs business logic. The business logic needs to be done on every loop iteration, but incoming connections will be relatively infrequent. This loop is in the hot path and is performance sensitive, so I'd like to avoid accepting the connections in another thread and sharing them over something like an SPSC queue to prevent CPU context switches and cache complications. I believe #533 solves my problem, but is there another way to do this with the Glommio API within a single thread?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to write an event loop that either accepts a TcpListener connection or performs business logic. The business logic needs to be done on every loop iteration, but incoming connections will be relatively infrequent. This loop is in the hot path and is performance sensitive, so I'd like to avoid accepting the connections in another thread and sharing them over something like an SPSC queue to prevent CPU context switches and cache complications. I believe #533 solves my problem, but is there another way to do this with the Glommio API within a single thread?
Thank you!
The text was updated successfully, but these errors were encountered: