Article View: rocksolid.nodes.announce
Article #524Re: Disk caching for rslight
From: SugarBug
Date: Fri, 07 Jun 2024 17:27
Date: Fri, 07 Jun 2024 17:27
28 lines
2155 bytes
2155 bytes
On Fri, 7 Jun 2024 15:22:36 +0000 Retro Guy <retroguy@novabbs.com> wrote: > I've added disk caching in addition to memcache support to rslight. > Testing now on www.novabbs.com. > > The config file now gives the option to choose between using memcached, > diskcache or disabling caching. > > If you are using memcached now, it will be necessary to use the new > config file. memcache.inc.php will be ignored in favor of cache.inc.php, > where you can select caching method and modify settings. > > I'm finding that with a ssd, disk caching is faster than memcached. With > a real hd, it may not be a good choice. Also, disk space is "cheaper" > than ram, so you can have a much larger cache before expiring things. > > This is still in 'devel', just putting this here in case anyone is > interested. > > -- > Retro Guy I am running rslight servers that will probably never have more than a dozen or two users with a handful of groups. In my use case such optimizations are unnecessary and the present one more layer to troubleshoot if something breaks. Is there a setting to ignore these new caching features? Are they disabled by default or do I need to explicitly set both types of caching to off? -- www.sybershock.com | sci.crypt | alt.sources.crypto | alt.lite.bulb
Technical Details
Message-ID:
<e4c172a1ef645692f5403ab91bcfd200$1@sybershock.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mailReferences:
<af5949913baeb50dcb8c02e7e7e9f2b3@www.novabbs.org>Show Full Headers
Complete Article Headers
Message-ID: <e4c172a1ef645692f5403ab91bcfd200$1@sybershock.com> Subject: Re: Disk caching for rslight Date: Fri, 7 Jun 2024 17:27:51 -0000 From: SugarBug <3883@sugar.bug> References: <af5949913baeb50dcb8c02e7e7e9f2b3@www.novabbs.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mail Newsgroups: rocksolid.nodes.announce Organization: Baggy Jeans Mafia (sybershock.com) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: i2pn2.org; logging-data="3485322"; mail-complaints-to="usenet@i2pn2.org"; posting-account="yZybWhCr+jI4C3MuGpPde+DhCwsjQrVZrsCOigcx7fM"; X-Spam-Checker-Version: SpamAssassin 4.0.0