Yes it sounds like you very badly need to do some kind of load testing on this application. Because the questions you have cannot be answered in any other way.
Regarding the data, if the gateways are returning queries, then I'm not sure what the issue is. Your initial questions were about using CFCs as Value Objects, but if the majority of data being used is already in the form of queries, then that shouldn't be an issue. You will, of course, need to run tests to ensure that your database and queries are properly optimized, and look into caching the queries if you can. Again, at this point everything is conjecture because until you actually run load tests there is no way to know where the bottlenecks are or what you memory usage looks like. On Mon, Mar 31, 2008 at 3:20 PM, Ronan Lucio <[EMAIL PROTECTED]> wrote: > > Brian, > > Brian Kotek escreveu: > > That makes more sense, but is there any reason you'd need to be > > recreating all this on every request? For example, it looks like > > things like top sold, top rated, featured, and all of the search > > information could easily be cached instead of rebuilt on every > > request? In fact, the content itself could be cached since things like > > the display of the search box or the display of the featured news, > > tips, links, and all the rest could be created one time and displayed > > from the cache. > > I agree with you, and I really don't know if I can use it with cache. > I also liked the tips from Peter and Dan about stress tests. I need it. > > My doubt is that our system is base in templates or "site models". > We have more than 500 clients, but we aim to get much more than this. > > So if I put 20 queries and variables in cache for the front page, with > 1,000 clients it would have 20,000 queries or variables cached. > I don't know how ColdFusion would deal with this, but we'd still talking > just about front pages and situations like that could occurs in other > internal pages. > > We have a system for real state sites and portals, and it would be > inviable to cache the result pages because the search parameters used to > be very different in different search s, imagine it with hundreds of > different possibilities (clients). > > > Also, are the LinkGateway, NewsGateway, etc. all returning queries? Or > > arrays of Value Objects? > > It returns CF Queries. > > Thanks > Ronan > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" 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/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
