Re: more dimensional method like a query...
- From: "Mikito Harakiri" <mikharakiri_nospaum@xxxxxxxxx>
- Date: 29 Nov 2005 11:48:21 -0800
Pi421 wrote:
> 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
I'm surprised people react to garbage description like this. What
stock?
merchandise?
livestock?
shareholder certificate?
Then you go on with some combinatorial thoughts that only _you_ can
make sence of.
Give some example, and then people can suggest the appropriate data
model.
.
- 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
- Re: more dimensional method like a query...
- From: Pi421
- more dimensional method like a query...
- Prev by Date: Re: more dimensional method like a query...
- Next by Date: Re: Help on choosing a valid pattern: composite or not?
- Previous by thread: Re: more dimensional method like a query...
- Next by thread: white papers concerning call centre queuing..
- Index(es):
Relevant Pages
|