[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-18 Thread lateef jackson
I guess my confusion was from my original post where I said:* Application server scale easy as pie, database servers scale like hernias I should have been more specific that applications server what I meant was TG, PHP where ever the business logic of the code is. Maybe easy as pie was the wrong

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-18 Thread lateef jackson
LiveJournal is an excelent example it is where I stole the idea of using memcache: http://www.linuxjournal.com/article/7451My visions for scaling up is to us url partitioning so that simular data all goes to the same host(s) and have no shared cache. For example if you have a news site all the

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Robin Haswell
I've still got some decisions to make such as FastCGI vs mod_python - anybody have the pro's and con's between these two? My experience with setting up shared hosts tells me this: FastCGI is slow but works with SuEXEC so is secure. mod_python is fast but all processes run as the Apache user -

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Robin Haswell
Gerhard Häring wrote: Robin Haswell wrote: I've still got some decisions to make such as FastCGI vs mod_python - anybody have the pro's and con's between these two? My experience with setting up shared hosts tells me this: FastCGI is slow but works with SuEXEC so is secure. mod_python is

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Lateef
Most things seem to be covered exception for caching so I will share my witless drivel about caching. First you need to decide how dirty your data can get. If you have a realtime stock quote system probably can't live with a lot of dirt vs say blog comments probably don't need to be instant (well

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Karl Guertin
On 3/17/06, Lateef [EMAIL PROTECTED] wrote: The second problem is the web is stateless so you can't send updates down the socket to the web browser. Half true. The HTTP is stateless, but you can send updates down the socket. http://alex.dojotoolkit.org/?p=545 Cool, eh?

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Robin Haswell
My $0.02 (approx £0.012 where I come from) on this: In my company, an application that scales is an application that you can throw hardware at without having to think about it. We generally don't bother with intricate caching and optimisations, because my time has a cost and optimisation

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Lateef
Yeah, I knew I would get roasted like a pig for not point out the exceptions. I hadn't seen this statefull http exception before it is cool! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Lateef
I am not a TG expert but the options I believe are file, memory, database and role your own. my time has a cost and optimisation often buys less performance than, say, a Dell SC1425 Unfortunatly my time is not worth a IBM 64way mainframe (or I would be one happy hacker). Bigger machines help but

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Robin Haswell
my time has a cost and optimisation often buys less performance than, say, a Dell SC1425 Unfortunatly my time is not worth a IBM 64way mainframe (or I would be one happy hacker). Bigger machines help but as my comment said before this will give you only linear optimization at some point you

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Bob Ippolito
On Mar 17, 2006, at 3:17 PM, Robin Haswell wrote: my time has a cost and optimisation often buys less performance than, say, a Dell SC1425 Unfortunatly my time is not worth a IBM 64way mainframe (or I would be one happy hacker). Bigger machines help but as my comment said before

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-16 Thread Karl Guertin
On 3/16/06, ajones [EMAIL PROTECTED] wrote: I was wondering how well turbogears scales? Obviously interesting caching tricks can be done on the web face, and other strange voodoo can be done in the database, but is turbogears itself designed to scale? Performance is not a core priority for

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-16 Thread Justin Johnson
I was wondering how well turbogears scales? Obviously interesting caching tricks can be done on the web face, and other strange voodoo can be done in the database, but is turbogears itself designed to scale? I don't see any reason why it shouldn't scale. A lot of it boils down to the

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-16 Thread Justin Johnson
I wrote previously: I've still got some decisions to make such as FastCGI vs mod_python - anybody have the pro's and con's between these two? Sorry, after doing some Googling and looking around it appears I should be considering SCGI rather than FastCGI. I was wondering how well

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-16 Thread Jorge Godoy
Justin Johnson [EMAIL PROTECTED] writes: I wrote previously: I've still got some decisions to make such as FastCGI vs mod_python - anybody have the pro's and con's between these two? Sorry, after doing some Googling and looking around it appears I should be considering SCGI rather

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-16 Thread Jonathan LaCour
I was wondering how well turbogears scales? Obviously interesting caching tricks can be done on the web face, and other strange voodoo can be done in the database, but is turbogears itself designed to scale? TurboGears itself is definitely designed to scale exactly the same way you scale

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-16 Thread Kevin Dangoor
On 3/16/06, Jorge Godoy [EMAIL PROTECTED] wrote: Justin Johnson [EMAIL PROTECTED] writes: Sorry, after doing some Googling and looking around it appears I should be considering SCGI rather than FastCGI. I dunno how all of that will play with FirstClass (TG + WSGI) since this is looking