|General architecture question on performance [message #596650]
||Thu, 07 December 2006 20:29
Originally posted by: kalin.nakov.gmail.com|
My application needs to handle very large models, mainly tens of
thousands objects, a number high enough so that loading and saving into
plain files and loading everything into memory is not an option. My
investigation leads me to using Teneo and JPOX resources. So far so
good, I guess I would be able to open, edit and validate my model stored
in a database and now I can do code generation with Jet based on a
Resource object (loaded EMF model). But I have the following
architecture questions before I start implementing my application to
avoid running into a dead end when scalability issues start to occur:
1) When I open a very huge model in the EMF editor, is all the model
loaded into the memory, or only the currently visible items in the EMF
editor? Is it loaded in a top-down manner by first loading the top
hierarchical levels and when I expand the tree it loads the child items
from the database?
2) When I save my document from the EMF editor, are only the changes
saved, or the whole file is written in the repository from scratch?
3) When I validate my document from the EMF editor, are all the objects
iterated and validated, or only the ones that I have changed?
4) When I use JET for code generation and use xpath queries on a EMF
model, are those queries optimized for relational database access, or
issuing a query like //MyClass will iterate all the objects in the database?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.02238 seconds