Ultra fast and low latency asynchronous socket server & client C# .NET Core library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
Thread per WssSession or all WssSession using the same thread?
I intend use Queue to save buffer per Session for async handle packet but I dont know WssSession use one thread for all session or thread per session.
internal partial class PlayerSession : WssSession
public override void OnWsReceived(byte[] buffer, long offset, long size)
Thread per WssSession or all WssSession using the same thread? I intend use Queue to save buffer per Session for async handle packet but I dont know WssSession use one thread for all session or thread per session.
Thanks and have a good day.