Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #202: kernel panic: write-only-memory (/dev/wom0) capacity exceeded.


rocksolid / Rocksolid Nodes Announce / Re: memcache support in RSLight

SubjectAuthor
* memcache support in RSLightRetro Guy
`* Re: memcache support in RSLightMarco Moock
 `- Re: memcache support in RSLightRetro Guy

1
Subject: memcache support in RSLight
From: Retro Guy
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Thu, 16 May 2024 09:16 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: memcache support in RSLight
Date: Thu, 16 May 2024 09:16:01 +0000
Organization: Rocksolid Light
Message-ID: <36788bcc36cc7ea98e9a3348529a537e@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1260524"; 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-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
X-Rslight-Site: $2y$10$01zDRT0jLD75DAUqIcv2aemmgJvYJe/7Q9bibZXkJuuZxIGoxkMEW
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

I have merged the devel branch into master for rslight yesterday.

Most of the changes have to do with adding memcache support.

If you wish to run rslight with memcached, it's simple. It's up to you to install and run memcached, which is not complicated, then edit memcache.inc.php in rslight and it should just work.

Logging is an option, but it will create somewhat large log files (at least on a busy site). The logging is really there for debugging, and the wording in the logging is aimed at helping devs (me) know where in the code to look for issues.

Anyway, memcache support is now in master for rslight. I am running it on www.novabbs.com and www.novabbs.org, and it's working fine.

--
Retro Guy

Subject: Re: memcache support in RSLight
From: Marco Moock
Newsgroups: rocksolid.nodes.announce
Organization: A noiseless patient Spider
Date: Thu, 16 May 2024 18:12 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.announce
Subject: Re: memcache support in RSLight
Date: Thu, 16 May 2024 20:12:23 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <v25ia8$1mq9l$1@dont-email.me>
References: <36788bcc36cc7ea98e9a3348529a537e@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 May 2024 20:12:24 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ecde5a8c05c0b61983123de83a66efcf";
logging-data="1796405"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sE8wBYfvzJH/EN4CULTz5"
Cancel-Lock: sha1:OJY/FvbEpA62b7YJGnu+FUoBKn0=
View all headers

On 16.05.2024 um 09:16 Uhr Retro Guy wrote:

> Most of the changes have to do with adding memcache support.

Which benefit does that give?

--
kind regards
Marco

Send spam to 1715843761muell@cartoonies.org

Subject: Re: memcache support in RSLight
From: Retro Guy
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Thu, 16 May 2024 23:34 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: memcache support in RSLight
Date: Thu, 16 May 2024 23:34:58 +0000
Organization: Rocksolid Light
Message-ID: <e976ab4897125edf99ae83692aec2df1@www.novabbs.org>
References: <36788bcc36cc7ea98e9a3348529a537e@www.novabbs.org> <v25ia8$1mq9l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1325461"; 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-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Site: $2y$10$5Z4FoKBmTHjPzC8p8LMQZ.5uxWMVUfaLYRQDEyB4Kol7d.FCWdUKO
X-Rslight-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
View all headers

Marco Moock wrote:

> On 16.05.2024 um 09:16 Uhr Retro Guy wrote:

>> Most of the changes have to do with adding memcache support.

> Which benefit does that give?

When using this feature, rslight will cache quite a few types of database requests in memory, so the db will not need to be accessed again for the same information, and no files need to be accessed. The data is in ram.

Unless a site is reasonably busy, you would probably not notice any difference in performance, but for a busy site, it is a benefit.

Only one of my sites benefits from this feature, and it's working well.

--
Retro Guy

1

rocksolid light 0.9.8
clearnet tor