Re: more dimensional method like a query...
- From: "Pi421" <jakoeble@xxxxxx>
- Date: 28 Nov 2005 22:47:27 -0800
the bottle neck is the database... and the middleware the data is
passed thropugh. I need to work with this... :(
I have 64 Combinations.
first attribute with any value * 4 secsond Attribute with any value = 4
* third attribute with any value = 16
* fourth attribute with any value = 64
so there are psossible 64 combinations of the attributes...
And at the beginning I need to store the stock depending on every
attribute and than i want to ask getStock (4 Attributes)
How to save the stock? And how to implement the getStock...
Ans i because of database and middleware i need to cache the stock....
>In that case, I would encapsulate the [Stock] objects in a persistence
access subsystems so that they can be read once at startup and are kept
in memory. Then method that Client accesses would be an subsystem
interface method and that method would dispatch to the appropriate
collection class within the persistence access subsystem that
corresponds to the R1 collection above. The decouples the persistence
access optimization from the problem solution because Client invokes
the
same interface whether the Stocks are cached or not.
would be nice, but not with 64 subsystems and collection calsses??
Regards Joe
.
- Follow-Ups:
- Re: more dimensional method like a query...
- From: Mikito Harakiri
- Re: more dimensional method like a query...
- From: H. S. Lahman
- Re: more dimensional method like a query...
- From: Daniel Parker
- Re: more dimensional method like a query...
- References:
- more dimensional method like a query...
- From: Pi421
- Re: more dimensional method like a query...
- From: H. S. Lahman
- Re: more dimensional method like a query...
- From: Pi421
- Re: more dimensional method like a query...
- From: H. S. Lahman
- more dimensional method like a query...
- Prev by Date: Re: Decouple SQL queries from class in OOP design
- Next by Date: How to generate statecharts from C code
- Previous by thread: Re: more dimensional method like a query...
- Next by thread: Re: more dimensional method like a query...
- Index(es):
Relevant Pages
|