Re: Syncato 0.7
darryl <[email protected]> Tue, 25 Nov 2003 21:46:58 -0800
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
Fair enough Kimbro. It seems I feel into the optimize before necessary mentality. I guess that means in terms of effeciency I should activate the cache eh? Didn't mean to imply i actually had a problem with solution, i just didn't want to do anything that was in practicality a bad idea. Based on what you saying it isn't so I'm not adverse. Cheers, darryl Kimbro Staken wrote: > In reality the efficiency of that query isn't super important in the > short term. Since you're posting infrequently, pretty much all of your > requests will serve out of cache (that is actually always the case). > The cost will only be a problem if you have a really slow machine and > do a lot of posting or have a huge number of comments posted (i.e. > thousands per day). It will also be a problem if you don't have enough > memory to generate the initial cache entry. > > I'm not saying that's an adequate solution going forward, but we > definitely need to keep perspective over theoretical inefficiency vs. > real world performance. We're talking about sites that even at their > busiest serve maybe a few hundred thousand hits per day. When it needs > to go beyond that I'm not at all concerned about the ability to make > it scale. > > So yeah it's inefficient, and will get more inefficient as time goes > by, but right now that probably doesn't actually matter. As the > supporting software matures the problem will be worked out. So if you > want to have it work that way, just override front-page.xsl and make > it use an embedded query instead of processing based off the incoming > XML. Look at the RSS xsl files to see how they do embedded queries. > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/