Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Back end process

 
sing
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wondering will it be too heavy if a back end process running without sleep/stop.
Thanks for any comments.
steffy
 
Vin Kris
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not neccessarily. unless it is hogging into the memory that will eventually starve your front end application.
 
sing
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much.
 
sing
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I used Tomcat to test run the back end program. I found that CPU Usage of my PC is up to 100% although the program is only loop without much process. What should i do to reduce the %?
[ October 15, 2002: Message edited by: Steffy Sing ]
 
sing
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have solved my problem. I just insert sleep(1000) into my program.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic