Em Terça 16 Maio 2006 15:31, jvanasco escreveu:
> So are templates loaded into memory on first hit already?  If so, that
> solves my issue.
>
> I just want to get templates read from memory and not from disk.  In
> mod_perl, I need to do that at startup to push them into shared memory
> -- but tg is different.  I'm fine with stuff running after first hit, I
> just don't want any disk IO in regards to templates.

I believe that this is hard to get.  If you have lots of data and some 
templates aren't used they might get swapped to your disk.

I don't know of any dynamic language where you can say that some data should 
not be swapped out or where you can determine this kind of memory 
restriction, after all, one of the good things your get is just not worrying 
with memory.

But, if you have enough memory, I believe you won't touch the disks.

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to