🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #525

Disk caching for rslight

#525
From: Retro Guy
Date: Fri, 07 Jun 2024 15:22
19 lines
1854 bytes
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
Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <af5949913baeb50dcb8c02e7e7e9f2b3@www.novabbs.org>
Subject: Disk caching for rslight
Date: Fri, 7 Jun 2024 15:22:36 +0000
From: Retro Guy <retroguy@novabbs.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-mail
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; logging-data="3475654"; mail-complaints-to="usenet@i2pn2.org"; posting-account="gg+dDWHMzVrdxGO9Gmt8aqyeWDXqlxfqiuS0jX/WMXY";
User-Agent: Rocksolid Light
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$aZjvSxnH8QElTgqUmS716uaLHUDZrA0Vn3yukmtKYVqyWDLkPljjm
X-Rslight-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
X-Spam-Checker-Version: SpamAssassin 4.0.0