Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: justlurking
I agree with you that akamai/cloudflare aren't the right kinds of solutions, but once a page of posts fills out (gets to 50), it is static. It doesn't change, doesn't look different depending on who is viewing it. The pages here are great candidates for caching.

You are right that DB clusters and memcache would work. Even simple filesystem caching would probably work. A reverse proxy cache like Varnish would probably take some of the heat off.

59 posted on 10/11/2012 10:01:35 PM PDT by Wayne07
[ Post Reply | Private Reply | To 40 | View Replies ]


To: MrShoop
agree with you that akamai/cloudflare aren't the right kinds of solutions, but once a page of posts fills out (gets to 50), it is static. It doesn't change, doesn't look different depending on who is viewing it. The pages here are great candidates for caching.

You can change the length of a page of posts. So, it has to be generated each time, with a query to the database.

Even simple filesystem caching would probably work.

The problem with a simple filesystem would be concurrency. You would have to serialize writes. And, once you create a lot of individual files, you introduce new problems with the metadata.

A reverse proxy cache like Varnish would probably take some of the heat off.

I think FR is already using squid as a reverse proxy, based on some of the errors that I've seen. That may have been in the past.

95 posted on 10/12/2012 4:36:49 AM PDT by justlurking (The only remedy for a bad guy with a gun is a good WOMAN (Sgt. Kimberly Munley) with a gun)
[ Post Reply | Private Reply | To 59 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson