umm ouch.

1) Aside from the description of your app sounding entirely unreal
you've probably gone beyond the world that any basic web application
framework can handle and into the world of needing to higher a few
Ph.D's.  No simple ORM is going to work for you not django, not
sqlalchemy, not rails, not hibernate.  You'll want to put alot of
logic  in your database, and in middle ware,  not your webserver.

2)  Django will load all the model classes into RAM with each apache
process.  So the frequency of model loading depends upon your max
requests per child. Though ultimately you'll prolly need a couple of
Sun E 20 K 's to server your website.

Ultimately if you've got 10,000 entitties you've probably got a number
of very serious design flaws. Or to many  SQLServer DBA's  working for
you ;).

Vance


On Jan 13, 2008 9:41 PM, Sebastian Macias <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I already posted this on the django developers group and wanted to get
> feedback as well from the community as well.
>
> I'm developing a  large webapp using django. One of my requirements
> is
> that it needs to be able to handle 10,000+ different entities or
> models that need to be associated with a user. A single user have
> needs to be able to to associate himself with any of the existing
> models and have one record per model. Each model will have an average
> of 30 fields (each need to be searchable). There will be several
> hundred thousands and in some occasions millions of records per model
> and we expect to have millions of users using the webapp.
>
> My questions are:
>
> 1) Do you recommend using a django model per entity or should I try a
> different approach?
>
> 2) Will django initiate all of my models on each request? Should I be
> concerned about CPU and memory usage?
>
> Thanks a lot in advance.
>
> Sebastian
> >
>



-- 
To pretend, I actually do the thing: I have therefore only pretended to pretend.
  - Jacques Derrida

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

Reply via email to