Re: Perfmance, large number of users and CakePHP

2010-12-26 Thread Larry E. Masters
Yes it can handle it. Now go build it.

-- 
Larry E. Masters


On Sun, Dec 26, 2010 at 4:39 PM, Ziki  wrote:

> So there is no any answer for me. I do not wont precize answer just
> aproximatly.
>
> But, tnx guys anywhere.
>
> P.S. I will not have new facebook, but with some similarity.
>
> On 26 pro, 22:01, CapeJag  wrote:
> > You are persistent for sure.  I also agree with others who have responded
> to
> > you about specific sizing for your application.  I have done this
> > professionally for dozens of years (for big money) - it takes a lot more
> > information than just number of connections to determine the size of your
> > server 'farm'.
> >
> > Maybe folks could call out the 'largest' website they are currently aware
> of
> > and provide a few metrics along with the site URL.
> >
> > Wow, I do hope you make another fortune like Mark did, good luck!
>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-26 Thread Renato de Freitas Freire
I think you dont understand what the guys said.

They said that you can have an application that consumes all
your powerful hardware with a few users or the oposit; an application that
consumes 1% of your weak hardware with a lot of users at same time.

If you dont give more details about your application, like benchmarks, we
cannot give you any useful answers.

The answer for your question, based on the informations we have, is YES AND
NO.

Got it?


--
Renato de Freitas Freire
ren...@morfer.org


On Sun, Dec 26, 2010 at 8:39 PM, Ziki  wrote:

> So there is no any answer for me. I do not wont precize answer just
> aproximatly.
>
> But, tnx guys anywhere.
>
> P.S. I will not have new facebook, but with some similarity.
>
> On 26 pro, 22:01, CapeJag  wrote:
> > You are persistent for sure.  I also agree with others who have responded
> to
> > you about specific sizing for your application.  I have done this
> > professionally for dozens of years (for big money) - it takes a lot more
> > information than just number of connections to determine the size of your
> > server 'farm'.
> >
> > Maybe folks could call out the 'largest' website they are currently aware
> of
> > and provide a few metrics along with the site URL.
> >
> > Wow, I do hope you make another fortune like Mark did, good luck!
>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-26 Thread Ziki
So there is no any answer for me. I do not wont precize answer just
aproximatly.

But, tnx guys anywhere.

P.S. I will not have new facebook, but with some similarity.

On 26 pro, 22:01, CapeJag  wrote:
> You are persistent for sure.  I also agree with others who have responded to
> you about specific sizing for your application.  I have done this
> professionally for dozens of years (for big money) - it takes a lot more
> information than just number of connections to determine the size of your
> server 'farm'.  
>
> Maybe folks could call out the 'largest' website they are currently aware of
> and provide a few metrics along with the site URL.
>
> Wow, I do hope you make another fortune like Mark did, good luck!

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-26 Thread CapeJag
You are persistent for sure.  I also agree with others who have responded to 
you about specific sizing for your application.  I have done this 
professionally for dozens of years (for big money) - it takes a lot more 
information than just number of connections to determine the size of your 
server 'farm'.  

Maybe folks could call out the 'largest' website they are currently aware of 
and provide a few metrics along with the site URL.

Wow, I do hope you make another fortune like Mark did, good luck!

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-26 Thread Ziki
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  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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-25 Thread Ryan Schmidt

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-25 Thread Ziki
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?

On 25 pro, 19:17, AD7six  wrote:
> Hi,
>
> On Dec 25, 4:16 pm, Ziki  wrote:
>
> > Hi,
> > I am developing one big applicaion, it will be similar to facebook,
>
> Tip: the above description is meaningless and if you're using that as
> a project description ... well, good luck.
>
> > with lot of users in same time and lot of ajax requests and etc. you
> > know how many queries cake generate.
>
> I do :). very few with a cold cache or 0 with 100% cache hits.
>
>
>
> > So, my question is, can CakePHP handle something like this with 10 000
> > logged users in same time?
>
> The framework you choose is obviously a factor when designing an app,
> but given there have been numerous large-number-of-user apps built
> with CakePHP the answer to that is: yes.
>
>
>
> > Will it be enough dedicated server with:
>
> > Intel® Core™
> > i7-980X
> > Hexacore incl.
> > Hyper-Threading Technology
>
> > 24 GB DDR3 RAM
>
> > 1x 1,5 TB SATA II
> > 1x 300 GB SAS4-Port Hardware-RAID Controller imperative
> > 1x 120 GB SSD
>
> Facebook has 250 million users, and has some 30K servers (reference
> lmgtfy.com) let's say it's designed to work with 1% of them logged in
> at once. For your app to succeed and be "like facebook" with 1 server,
> means facebook is running only some 100s of servers. In other words
> your description and question implies that facebook can run with only
> 1% of the servers they NEED to run.
>
> So either your app needs to do 1% of what you're saying you want it to
> do (which is extremely vague) or you need 100x more servers (and
> obviously a team experienced in working with multi server apps).
>
>
>
> > or how many users it can handle with these configuration?
>
> If you're asking: 1.
>
> If you have better information, such as load and stress test data for
> you app running on that server - I'd trust that better than my
> estimate. But in the absense of such data, 1 is your "golden
> number" ;)
>
> hth,
>
> AD

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Perfmance, large number of users and CakePHP

2010-12-25 Thread AD7six
Hi,

On Dec 25, 4:16 pm, Ziki  wrote:
> Hi,
> I am developing one big applicaion, it will be similar to facebook,

Tip: the above description is meaningless and if you're using that as
a project description ... well, good luck.

> with lot of users in same time and lot of ajax requests and etc. you
> know how many queries cake generate.

I do :). very few with a cold cache or 0 with 100% cache hits.

>
> So, my question is, can CakePHP handle something like this with 10 000
> logged users in same time?

The framework you choose is obviously a factor when designing an app,
but given there have been numerous large-number-of-user apps built
with CakePHP the answer to that is: yes.

>
> Will it be enough dedicated server with:
>
> Intel® Core™
> i7-980X
> Hexacore incl.
> Hyper-Threading Technology
>
> 24 GB DDR3 RAM
>
> 1x 1,5 TB SATA II
> 1x 300 GB SAS4-Port Hardware-RAID Controller imperative
> 1x 120 GB SSD

Facebook has 250 million users, and has some 30K servers (reference
lmgtfy.com) let's say it's designed to work with 1% of them logged in
at once. For your app to succeed and be "like facebook" with 1 server,
means facebook is running only some 100s of servers. In other words
your description and question implies that facebook can run with only
1% of the servers they NEED to run.

So either your app needs to do 1% of what you're saying you want it to
do (which is extremely vague) or you need 100x more servers (and
obviously a team experienced in working with multi server apps).

>
> or how many users it can handle with these configuration?

If you're asking: 1.

If you have better information, such as load and stress test data for
you app running on that server - I'd trust that better than my
estimate. But in the absense of such data, 1 is your "golden
number" ;)

hth,

AD

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Perfmance, large number of users and CakePHP

2010-12-25 Thread Ziki
Hi,
I am developing one big applicaion, it will be similar to facebook,
with lot of users in same time and lot of ajax requests and etc. you
know how many queries cake generate.

So, my question is, can CakePHP handle something like this with 10 000
logged users in same time?

Will it be enough dedicated server with:

Intel® Core™
i7-980X
Hexacore incl.
Hyper-Threading Technology

24 GB DDR3 RAM

1x 1,5 TB SATA II
1x 300 GB SAS4-Port Hardware-RAID Controller imperative
1x 120 GB SSD

or how many users it can handle with these configuration?

Tnx

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en