WS slow over network
We've been doing some simple benchmarking of some simple web services.
By simple web services, I mean they don't have a lot of parameters, they're in a bean simply annotated with @WebService, and we're using JAX-WS in a J2SE app, running Java 5.
When we run the client and server on the same machine, we're getting 65-70 requests per second.
But when we run it over the network, this number plummets down to 4-5 requests per second.
It's a good network, we don't have any real user complaints about the network. We run our DB on it, etc. But when we run the JAX-WS app, it comes to a screeching halt.
We had some other folks do a similar test on their network, and they got similar results as well. High numbers locally, and poor numbers across the wire.
I looked at our payloads, there's about 920ish bytes of data moving for each request/response cycle. I'd like to think out network can handle 5000 Bytes/second. My network graph was pretty quiet on my PC, and CPU was reasonably quiet.
So, just curious if we're missing something glaring as to why this is happening.
Kind of our first foray in to WS tuning.