• Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking for a testing environment

 
jeff willis
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a threadded server application that I consider "finished".

I need to put it through some testing though.

I could use a free-site that has JAVA on it.

My plan would be to load my server on this site and run many client app's from my local site. I want to test my server by making many WAN connections to it.

I can find free UNIX shell accounts, but they don't have a JVM or they don't permit this type of activity.

Anyone have any ideas?
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jw wvu, we have few rules around this here ranch, but the Naming Policy is one of them. Your display name should be a first and last name separated by a space and not obviously fake. Please click here to fix it.

Now about your question. Testing really depends on what kind of application you have and what kind of load you expect. You could probably do a decent test with two computers, a network hub and a tool like The Grinder. A TCP/IP connection is pretty much the same if it is coming from the next computer or across the planet on the internet.
If you feel you need to use the internet to test, you are looking at a minimum of getting a DSL line and a static IP address (which would not have much throughput, so load testing would not be very valid) up to getting a co-located server at an ISP or a dedicated data line (both serious coin).
 
jeff willis
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no problem, name changed.

I was hoping to introduce some delay's that are inherent in the internet to my application.

As of now, my server has no problems simulaneously serving as many clients as I can throw at it (actually I've only connected 10 of them simultaneously).

Since my server (as it is currently written) takes a number of steps AFTER the accept() call, including a duplex communication with the client; I am concerned that it is susecptable to some I/O blocking deadlocks if there is too much of a delay.

Up to now, all my testing has been with the clients and server all running on the same IP address.

I don't know "grinder", do you think it will help me simulate the internet delays I could be facing?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!