Hi everyone,
Eloi posted some interesting numbers in the forums. Not news really, but
something caught my attention. phpwsRSSFeeds is using alot of memory.
Most likely, because of the size of the parser.
https://sourceforge.net/forum/message.php?msg_id=2341604
With the changes I made in phpwsRSSFeeds, it will be interesting to see
if implementing that type of functionality will undo the core changes
that increase speed. Maybe dynamic placement of items shouldn't be
exactly dynamic. Maybe they should be created ahead of time, so the
module isn't processing the information on the fly. I'm just not sure
here, but before we get too far along and that code gets copied over to
other things, I'd like to address it from a speed/mem size standpoint
and get it working correctly if it isn't in fact doing so.
Eloi stated that these results won't change much with data, but I think
that phpwsRSSFeeds could very easily. Especially, if let's say have
several feeds on the main page and all the feeds are expired on a given
hit. I don't know how much memory is being used in that process, I'd
have to test. Problem is, if someone is pushing the memory limits to the
edge like that, then suddenly, all their feeds expire and have to be
refreshed, they may get out of memory errors.
If it is an issue, I can come up with more creative ways for dynamic
placement. I'll experiment some myself.
Wendall
--
"Only the ideas that we really live have any value." --Hermann Hesse
(Demian)
|