On Dec 25, 2010, at 13:34, Ziki wrote: > No i will not have so many users like facebook, I will about 50 000 - > 500 000 users. But application will be similar in the concept like > facebook, with lot of ajax request end so on. So, ifa I have 10 000 > users logged in how strong server must be?
I don't think anyone here can provide you with answers based on your brief overview. And I can't speak for others here, but even if you provided much more detailed information about the performance characteristics of your web app, I don't think I would be likely to be able to provide you an answer, nor, honestly, particularly interested. Your web server can be tuned in various ways to make it faster at serving static files. Your database server performance can be improved by tweaking its cache settings, adding memory, analyzing your queries to see why they might be slow, certainly adding indexes on columns that are searched, etc. CakePHP can further cache your data, or even entire generated pages. As was said, Facebook is so very large that it doesn't fit on a single server; it uses thousands of them. If you're planning on approaching Facebook's size, you'll want to think about how to scale out your size beyond a single server. You can scale in several directions independently: more web servers, more PHP servers, more database servers. While it's great to be able to add servers to immediately increase your available processing power, you'll want to be constantly analyzing your app to see where the bottlenecks are, so that you can make improvements to those areas to make better use of the processing power you have. All these are interesting topics, but probably the only ones that are on-topic for this list are the ones that directly relate to CakePHP. For example, if there is a query that CakePHP generated that you found is slowing down your app, maybe someone here can help you find better parameters to pass to CakePHP to make it generate a more-efficient query. Or if you have questions about CakePHP's various caching mechanisms that aren't adequately explained in the book, perhaps we can help with that. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
