November 9th, 2012, 02:45 AM
Need info on Performance
I am developing a portal in PHP (YII framework) and MySql DB.
I have 2 queries related to performance of a portal.
1> How to organize the file/directory structure so that the file/s will be accessed at optimal performance.
2> I want to know about hosting, whether hosting on a dedicated server is better or Cloud hosting is better. (Since i am expecting at least ten thousand hits a day)
Also any further discussion on managing Portal/ Security of Portal is appreciated.
Thx in Adv.
November 9th, 2012, 04:51 PM
Unless you do something drastically wrong, the organization of your files and directories has very little effect on performance.
Splitting the static resources onto separate sub-domains is normally done because the site has more than one server and it splitting the load across them. For a number of reasons, this approach will make your site load faster for some users at the cost of extra load on your servers.
The term "cloud hosting" has no technical meaning. "cloud" is just a marketing term.
November 9th, 2012, 09:28 PM
1) As oreo said, the file structure doesn't matter.
2) You're just now writing a website and expecint 10,000 hits a day? Devshed has been around for nearly 20 years and barely gets that some days. However, for a properly designed site, 10,000 a day isn't a lot. You can start on a shared/cloud host and then move to a dedicated host if your traffic follows the pattern you think it will.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.