The Artima Developer Community
Sponsored Link

Java Answers Forum
Socket Based Server's Performance?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
tony

Posts: 5
Nickname: chaosman
Registered: Mar, 2002

Socket Based Server's Performance? Posted: Sep 12, 2002 10:45 PM
Reply to this message Reply
Advertisement
Now i am write a prototype of a Server, using Socket/ServerSocket to communicate.
The problem is that the performance is low:(
When the Server listens the Client Input Stream i use a loop forever to detect the Input Stream, this cause the usage rate of CPU is so high(80%~95%).
It is so expensive, and other Application runs Slow.

So any advise to me?
3ks.

Topic: sql.date function Previous Topic   Next Topic Topic: Running application Error

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use