Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] TTL and include files

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Sergiy Zhuk <address@concealed>
  • To: John Douglass <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] TTL and include files
  • Date: Mon, 25 Nov 2002 17:36:55 -0800 (PST)

hi

On Mon, 25 Nov 2002, John Douglass wrote:

> TTL (when using file include) is the amount of time to check between
> modifications. If the modified time is different than it's last check,
> then update the list. Otherwise, leave it alone.

I've actually made a similar modification to control in-memory cache
updates which greatly affect the performance, especially search performance.
I've added $last_check variable to 'mtime' list option in List::load(),
so sympa would only update stats file if TTL for it has expired.
It was a critical thing for me, since I update subscribers not only thru
GUI, but remotely using direct SQL queries, so sympa doesn't know about
them untill it's time to check the consistency.
I think same approach will work for other things too.
Latest sympa versions pass all updates to the task_manager, which in turn
could implement several TTL strategies.

--
rgds,
serge




Archive powered by MHonArc 2.6.19+.

Top of Page