mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
websocket: from 1k to 100k on a simple raspeberry pi 3 model b by using a bit lower level of the new ws lib api and restore the previous sync.Map for server's live connections, relative: https://github.com/kataras/iris/issues/1178
Former-commit-id: 40da148afb66a42d47285efce324269d66ed3b0e
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/kataras/iris/websocket2"
|
||||
)
|
||||
|
||||
const totalClients = 1200
|
||||
const totalClients = 100000
|
||||
|
||||
func main() {
|
||||
app := iris.New()
|
||||
|
||||
Reference in New Issue
Block a user