From: | mlw <markw(at)mohawksoft(dot)com> |
---|---|
To: | Andrew Sullivan <andrew(at)libertyrms(dot)info>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Again, sorry, caching. |
Date: | 2002-03-18 06:01:09 |
Message-ID: | 3C9582A5.88C802B7@mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andrew Sullivan wrote:
>
> On Sat, Mar 16, 2002 at 09:01:28AM -0500, mlw wrote:
>
> > "If it is mostly static data, why not just make it a static page?"
> > Because a static page is a maintenance nightmare. One uses a
> > database in a web site to allow content to be changed and upgraded
> > dynamically and with a minimum of work.
>
> This seems wrong to me. Why not build an extra bit of functionality
> so that when the admin makes a static-data change, the new static
> data gets pushed into the static files?
>
> I was originally intrigued by the suggestion you made, but the more I
> thought about it (and read the arguments of others) the more
> convinced I became that the MySQL approach is a mistake. It's
> probably worth it for their users, who seem not to care that much
> about ACID anyway. But I think for a system that really wants to
> play in the big leagues, the cache is a big feature that requires a
> lot of development, but which is not adequately useful for most
> cases. If we had infinite developer resources, it might be worth it.
> In the actual case, I think it's too low a priority.
Again, I can't speak to priority, but I can name a few common application where
caching would be a great benefit. The more I think about it, the more I like
the idea of a 'cacheable' keyword in the select statement.
My big problem with putting the cache outside of the database is that it is now
incumbent on the applications programmer to write a cache. A database should
manage the data, the application should handle how the data is presented.
Forcing the application to implement a cache feels wrong.
From | Date | Subject | |
---|---|---|---|
Next Message | mlw | 2002-03-18 06:03:01 | Re: Again, sorry, caching. |
Previous Message | Christopher Kings-Lynne | 2002-03-18 05:51:19 | Time zone questions |