Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: phranque
Do you think it would be able to nicely handle 2000 sessions per day (10,000 page views @ 30K a page)?
What about connection, I can get a dsl server package that can handle 512 Kbps upstream. Would it be enough?
Thanks for your comments.
Re the connection, there's one thing to bear in mind:
I'm not sure about DSL, but ADSL (the UK's crippled version) has a 'contention ratio' - ie you are effectively sharing the 512K and your actual available upstream bandwidth may be lower.
Having said that, your 10,000 pages would only use about 5% of a full 512Kbps averaged over the day, so you've got a lot of room to play with.
If DSL has contention, and it's higher than about 5:1 then you could struggle in a traffic peak.
For reference, I'm transferring around 1-1.5G a day through a 512K leased line (no contention ratio) with no problems - even at peak I'm rarely over 70% capacity.
Make sure you do something about a firewall, though.
About the firewall, do you just use a software or a physical one (ie. hub box).
SugarKane : I looked on the isp's website not a mention of "contention ratio". Their service is actually ADSL - but isn't the point of all the dsl technology to be a dedicated connection that connects straight into DSLAM at the phone company's central office? I am not sure how it could be shared.
Hypothetical question : If you were to improve a web & SQL server's performance (1 box) would you first look at RAM or the chip? I think we can all agree on that the SQL part of the system is much more resource intensive. Therefore increasing the cpu should speed up the the query when it runs, but already executed stored procedures are kept in cache. Increasing RAM should improve retrieval from cache.
Personally I wouldnt consider ADSL for serious hosting, it can go down potentially for hours during which time your website would be unavailable. One other thing to check is that your ISP allows you to run a server on your connection, some don't allow this as part of their terms and conditions.
My service provider has a fairly permissive hardware one (blocks known trojans etc but not a great deal else), and then I lock down my own network with ipchains (Linux). ipchains will run happily on any old 486 you have knocking around.
> RAM or the chip
RAM every time :)
As you say, more memory will mean more cached queries, but also the web server will cache pages. When I restart one of my servers I can see the cpu load visibly drop as it sets about re-caching.
With a database, response time is more about disk access than CPU load, so more memory / faster drives is the way to go...