kerinin <[EMAIL PROTECTED]> writes:

> By load time i mean the time it takes for TurboGears to process a page
> request (IE, i click on a link, turbogears churns for five seconds,
> then it sends me the page i requested).  I'm not using any i8n.  Here
> are my versions
>
> Kid 0.9.5
> TurboKid 0.9.9
> TurboGears 1.0.1
> SQLObject 0.7.3
> CherryPy 2.2.1
>
> This is sort of a side note, but based on my experience with the 2
> sites i have in production right now (specifically the unacceptably
> long load times for rather simple pages), I'm seriously considering
> not developing in TG any more in the future.  I'll probably take

There must be something wrong with either your code or design.  I have
really complex pages -- several widgets, tabs, AJAX, etc. -- that loads
in less than 3s for the first time and less than 2s from there on.

A normalized database with correct indices makes a lot of difference, so
having a good DBA and a good database design is essential.

> another look when v2 comes out - maybe things will be faster then, but
> as it stands right now the performance is simply unacceptable.  I

I'd say the same if that was my reality, but it isn't.

> don't see any reason why i should consistently get 4+sec render times
> on a mid-level VPS runnin a TG site that does little or nothing
> complicated or outside the normal use cases.  I'll try refactoring the

It's even worse.  I have those times I've said on ADSL (600kbps
downstream/300kbps upstream).  If I were using a VPS I'd expect at least
a 50% reduction (since I'd be limited by downstream and not upstream
anymore) when accessing it remotely from any of those links. 

> sites with Genshi (possibly Cheetah or Mako if that doesn't help), but
> i'm a little bitter that the 'out-of-the-box' solution is so slow.

It isn't.

> Either I'm doing something wrong or TG was designed for sites with
> access to faster hardware than i can afford for the types of
> development I do.

I run it much faster than you said you do on a notebook with little RAM,
slow (4200 RPM) IDE disk and everything on the same machine (RDBMS,
application, X server, my tools, etc.).

You must have something bad in your design.


>From tg-admin info:

TurboGears requires:

* TurboGears 1.0.2.2dev-r2984
* Cheetah 2.0rc8
* configobj 4.4.0
* DecoratorTools 1.4
* RuleDispatch 0.5a0.dev-r2303
* setuptools 0.6c5
* FormEncode 0.7.1
* PasteScript 1.1
* elementtree 1.2.6-20050316
* simplejson 1.5
* CherryPy 2.2.1
* TurboKid 1.0.1
* TurboCheetah 0.9.5
* TurboJson 1.0
* PyProtocols 1.0a0
* Cheetah 2.0rc8
* PasteDeploy 1.1
* Paste 1.2.1
* kid 0.9.5
* Cheetah 2.0rc8
* RuleDispatch 0.5a0.dev-r2303

Identity Providers 

* sqlobject (TurboGears 1.0.2.2dev-r2984)
* sqlalchemy (TurboGears 1.0.2.2dev-r2984)

tg-admin Commands 

* info (TurboGears 1.0.2.2dev-r2984)
* shell (TurboGears 1.0.2.2dev-r2984)
* quickstart (TurboGears 1.0.2.2dev-r2984)
* update (TurboGears 1.0.2.2dev-r2984)
* sql (TurboGears 1.0.2.2dev-r2984)
* i18n (TurboGears 1.0.2.2dev-r2984)
* toolbox (TurboGears 1.0.2.2dev-r2984)

Visit Managers 

* sqlobject (TurboGears 1.0.2.2dev-r2984)
* sqlalchemy (TurboGears 1.0.2.2dev-r2984)

Template Engines 

* cheetah (TurboCheetah 0.9.5)
* json (TurboJson 1.0)
* genshi-markup (Genshi 0.3.6)
* genshi-text (Genshi 0.3.6)
* genshi (Genshi 0.3.6)
* kid (TurboKid 1.0.1)

Widget Packages 

* dominclude (DOMinclude 1.0)
* tinymce (TurboTinyMCE 1.0.6)
* plotkit (PlotKit 0.9.1w3)
* checkselect (checkselect 1.2)
* dynwidgets (dynwidgets 1.1)
* selectshuttle (Select-Shuttle 1.2)
* submodal (submodal 1.5)
* quadro_horario (quadro-horario 1.0)

Toolbox Plugins 

* info (TurboGears 1.0.2.2dev-r2984)
* catwalk (TurboGears 1.0.2.2dev-r2984)
* shell (TurboGears 1.0.2.2dev-r2984)
* designer (TurboGears 1.0.2.2dev-r2984)
* widgets (TurboGears 1.0.2.2dev-r2984)
* admi18n (TurboGears 1.0.2.2dev-r2984)

TurboGears Extensions 

* visit (TurboGears 1.0.2.2dev-r2984)
* identity (TurboGears 1.0.2.2dev-r2984)


I'm using SQL Object 0.8.2.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to