Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Java hosting advise
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.

 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-18-2008, 05:50 AM
palak123i palak123i is offline
View Beta Profile
New Member
 
Join Date: Sep 2008
Posts: 3
Java hosting advise

Hi everyone,

I am planning to host a java portal which would be used for online listing and buying. I am expecting around 100 (max) concurrent users and approx 20,000+ hits a day.

I am sure about bandwidth and space requirement. But I am confused about Heap Space Memory?

The site would have around 50 dynamic screens.

Should I go for private tomcat jvm option with around 128 MB of heap space memory? Is 128MB heap space sufficient for above type of user requirement? Or please suggest the type of configuration I can go for.

Please advise. Thanks in advance.


Last edited by palak123i; 09-18-2008 at 05:56 AM.
Reply With Quote
Sponsored Links
  #2  
Old 09-18-2008, 05:54 AM
doc_flabby doc_flabby is offline
View Beta Profile
Aspiring Evangelist
 
Join Date: Oct 2006
Location: uk
Posts: 448
I think a VPS would probably suit you more as it will allow you more flexability with the memory usage.

I would recommend you go for a XEN VPS. OpenVZ doesn't work well with java from my experience.

__________________
My webhosting project hostby.net | Rediscover online gaming http://getcontinuum.com | Play Trenchwars www.trenchwars.org

Reply With Quote
  #3  
Old 09-18-2008, 07:59 AM
GCM GCM is offline
View Beta Profile
I am Man
 
Join Date: Aug 2008
Location: San Francisco / Detroit
Posts: 1,791
I agree, start out with a VPS. When you out grow it move over to a dedicated server. If your expecting a lot of traffic I recommend getting an unmetered bandwidth plan.

All the best,

Reply With Quote
Sponsored Links
  #4  
Old 09-18-2008, 08:39 AM
palak123i palak123i is offline
View Beta Profile
New Member
 
Join Date: Sep 2008
Posts: 3
Sorry but have few queries about VPS. I have read that in VPS, RAM is shared across servers. Is it true? If yes, does it affect the performance? I could see dailyrazor.com offering good plans under private jvm. Should I go for it?

Secondly how much heap space is sufficient for requirement that I mentioned. Thanks.

Reply With Quote
  #5  
Old 09-18-2008, 08:47 AM
chiragvyas chiragvyas is offline
View Beta Profile
New Member
 
Join Date: Sep 2008
Location: webdesignunit
Posts: 2
Hi,

Not sure about the heap space, however- although VPS- RAM is shared across servers- from personal experience- I believe you should go for it....

Reply With Quote
  #6  
Old 09-18-2008, 09:15 AM
HostJava HostJava is offline
View Beta Profile
Newbie
 
Join Date: Apr 2007
Location: Miami, FL
Posts: 16
The Heap usage for your JVM really depends on the underlying applicaiton you are using. Number of users accessing you application is also a factor.

What you should do is:
1. Run your application on your development environment (your home or office or on a VPS/Dedicated Server somewhere - home version is the cheapest) with Tomcat/WebLogic/OtherAppServer JVM setting at lets say 128 MB
2. Simulate your 100 virtual users using one of the open source tools available to simulate the real-life like scenario (plenty of opensource and commercial tools available like JMeter or Grinder)
3. Check how your application is performing - is 128 MB of Heap Usage on Tomcat/Geronimo/JBoss/WebLogic or whatever application server you are using sufficient?
4. Repeat 1 with a higher or lower setting.

When testing your application you should be looking at:
- memory usage
- CPU usage
- response times
- etc.

Once you are happy with the application deploy it on a shared hosting environment (using Private or Shared JVM) or VPS (if you are comfortable administering your server) or even a dedicated server.

Look for articles on performance and scalability testing using Java - plenty of those available and apply best practices for your app to ensure stability.

Good luck.

__________________
HostJava.net - VPS, Java Hosting, PHP Hosting.

Reply With Quote
  #7  
Old 09-18-2008, 09:29 AM
Henrik Henrik is offline
View Beta Profile
Web Hosting Master
 
Join Date: Apr 2006
Posts: 2,077
Quote:
Originally Posted by palak123i View Post
Sorry but have few queries about VPS. I have read that in VPS, RAM is shared across servers. Is it true? If yes, does it affect the performance?
You should worry more about I/O than memory allocation. Depending on which virtualization technology you choose, memory allocation/sharing will be treated differently.

If you know how to administrate a server, you could have a look at a lower end dedicated to start with, as there you have more room for sudden bursts in terms of site usage.

__________________
DomainSwede.com

Twitter

Reply With Quote
  #8  
Old 09-19-2008, 01:19 AM
palak123i palak123i is offline
View Beta Profile
New Member
 
Join Date: Sep 2008
Posts: 3
Thanks every one for the information. So I think I need to go for VPS. However I do not have much experience with VPS hosting. In that case should I go with Managed VPS hosting? Does managed hosting means that it would be managed by hosting provider?

Also should I go for windows or linux? I think Linux is a good option. Am I right? However I havenot much used Linux much. So how difficult will be for me to host a application on such server?

Also do you get good VPS server for around 20-25$/month?

Thanks again,
Palak

Reply With Quote
  #9  
Old 09-19-2008, 09:03 AM
Henrik Henrik is offline
View Beta Profile
Web Hosting Master
 
Join Date: Apr 2006
Posts: 2,077
Quote:
Originally Posted by palak123i View Post
Also do you get good VPS server for around 20-25$/month?
I doubt that, especially managed. But you might have some luck going to the hosting offers sub-forums here on WHT.

Best of luck

__________________
DomainSwede.com

Twitter

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: