Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411469 Posts in 69368 Topics- by 58422 Members - Latest Member: daffodil_dev

April 23, 2024, 06:36:42 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperPlaytestingPlease spam my server
Pages: [1]
Print
Author Topic: Please spam my server  (Read 727 times)
quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« on: October 20, 2016, 02:20:19 PM »

http://162.243.65.72:3000/

Connecting will add a red circle
and all red circles will go to the right
will look at it later to see how many circles.. and if it's animating smoothly or jumpy
Logged

4ugui
Level 0
**


View Profile WWW
« Reply #1 on: October 21, 2016, 02:57:06 AM »

Hi there!
Looks like

After 5 min it stopped to draw circles, then resume.
Logged
Eigen
Level 10
*****


Brobdingnagian ding dong


View Profile WWW
« Reply #2 on: October 21, 2016, 03:15:54 AM »

Sorry, I killed it Sad

Code:
for (var i = 0; i < 1000; ++i) { window.portal.connectToServer(); } 
Logged

quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« Reply #3 on: October 21, 2016, 06:23:20 AM »

Hi there!
Looks like

After 5 min it stopped to draw circles, then resume.
Thanks! Animating smoothly? I tested last night and on a good connection they were animating smoothly..

Sorry, I killed it Sad

Code:
for (var i = 0; i < 1000; ++i) { window.portal.connectToServer(); } 

I checked my console.. "starting on port 3000\nKilled", yes you did. Thank you!

Well, under a thousand connections, hm..
Logged

4ugui
Level 0
**


View Profile WWW
« Reply #4 on: October 21, 2016, 08:12:54 AM »

Quote
Thanks! Animating smoothly? I tested last night and on a good connection they were animating smoothly..
Yes smoothly.
Logged
Eigen
Level 10
*****


Brobdingnagian ding dong


View Profile WWW
« Reply #5 on: October 21, 2016, 08:43:45 AM »

So the circles were updated and moved in the server and you were just sending them to clients to draw? This would probably work but not really how it should be done. What are you making exactly?
Logged

4ugui
Level 0
**


View Profile WWW
« Reply #6 on: October 21, 2016, 09:02:35 AM »

I think Eigen correct.
The best way to test server load write a little code and send to server packs of connection packets with some period 100-200 msecs. And during this load test look at CPU load at server machine in process view or top (if under linux).
Logged
quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« Reply #7 on: December 09, 2016, 01:50:06 PM »

So the circles were updated and moved in the server and you were just sending them to clients to draw? This would probably work but not really how it should be done. What are you making exactly?

Well, since you asked

http://162.243.65.72:3000/ is a multiplayer pong
http://162.243.65.72:3000/controller.html is what you run on your phone to control it
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic