"JavaRanch, where the deer and the Certified play" - David O'Meara
"I'm not back." - Bill Harding, Twister
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Lasse Koskela:
1) How to make sure that the box doesn't go out of RAM? There's really no way of calculating the memory usage of an application accurately, which might lead to problems.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Yes, we monitor the disk space, hotswap disks, move to tapes, etc., but I don't see those "tools" available for Prevayler, for example? Besides, we can buy server disk space with a lot less than server memory so there's room to "play it safe" with HDs.Originally posted by Ilja Preuss:
How do you make sure that your database doesn't go out of disk space?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
In fact, I worked on and off for 2 years around a system that had pretty much everything in memory after a bit of warm-up. I'm not sure how many gigabytes it took but I would guess approximately 1GB in each box. It still wasn't too fast (although the biggest contributor to the slowness was the somewhat bulky ecommerce engine we had to put up with)Think how fast JavaRanch would be if it was all in memory!
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|