• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Looking for a testing environment

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic