Ok, thank you for your answers. I am interesting if someone have experience in CakePHP powered site and it has a large number of users. I know that performance depends on servers hardware and optimizing queries. I am interesting that someone approximately can tell me if I have 10 000 users online (logged in), can I have that site powered with CakePHP and if I can, will that hardware be enough (previously described). I think that I will not have more than 5 000 users logged in, but I am just curious.
I know that CakePHP is slow framework, and I know tips how to improve performance. But I dont know how many users can handle, that processing of request will be < 1 second. I will not have new facebook, neither so big application, the concept of site design will be like facebook, with lot of ajax request and hits. My site couldn't compare with facebook. I like CakePHP, and I am in love with in, I tried to use others but always I come back to Cake :-) I hope you understand my question, and topic of this discussion. On 25 pro, 20:56, Ryan Schmidt <[email protected]> wrote: > 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 > > re 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. 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
