I am load testing the async websocket, with emitting only one event and i am not able to connect even 1000 client to my server when i am emitting an event to all clients every 10 seconds. #964
              
                Unanswered
              
          
                  
                    
                      neerajdlh74
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 20 replies
-
| I'm sorry but I don't really know what do you need from me. Have you profiled your application? What is consuming so much CPU? The code that you pasted above doesn't do anything. It is even inconsistent with your description that it sends an event every 10 seconds. Also, please don't write issues on this package when all you have is questions. The issues board is for bugs only. Use this discussion board for questions. Thank you. | 
Beta Was this translation helpful? Give feedback.
                  
                    20 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
this is how my server code looks.....
I need to connect 5000 client with the server emitting messages to all every 10 seconds
Right now i am able to connect 200 connections, after that
clients are getting disconnected because of high cpu usage
I have 2 core machine with 3.7 gb ram
Beta Was this translation helpful? Give feedback.
All reactions