Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
bilalkhan #1
Member since Oct 2016 · 81 posts · Location: Pakistan
Group memberships: Members
Show profile · Link to this post
Subject: socket listen function
currently am doing load testing of the server, many of the login attempts get failed binding not offered, what is the responisbility of queue,
can i see the incoming request has been queued?

if i increase the value of incoming socket, the number of socket acceptance will be increased?

socket.Listen(int.MaxValue);
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
the backlog value is just a buffer which gets hold on the OS level.
It looks to me like you are trying to connect to many clients at the same time. This problem will always exist and there is nut much you can do to solve it.
When thousands of clients try to connect at the same time to your server then it responds slow, and the clients may time out.
There is nothing wrong with that.

Try to design your load test in a way so that not all clients try to connect at the same time. Connect them slowly over a period of time.
Avatar
bilalkhan #3
Member since Oct 2016 · 81 posts · Location: Pakistan
Group memberships: Members
Show profile · Link to this post
thanks alex you are right am using jmeter for  load testing and will make delay in the request.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS