Re: ANNOUNCE: valkey-tcl 1.0.0

Liste des GroupesRevenir à cl tcl 
Sujet : Re: ANNOUNCE: valkey-tcl 1.0.0
De : chpock (at) *nospam* gmail.com (Konstantin Kushnir)
Groupes : comp.lang.tcl
Date : 26. Aug 2024, 13:45:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240826154544.791a6751eed8ef50440cfd8a@gmail.com>
References : 1 2 3
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
On Mon, 26 Aug 24 07:48:34 GMT
Colin Macleod <user7@cmacleod.me.uk.invalid> wrote:

Colin Macleod <user7@cmacleod.me.uk.invalid> posted:
I am pleased to announce version 1.0.0 of valkey-tcl.
Hi Konstantin, I've been using Redis from Tcl via Pietro Cerutti's
Retcl interface - https://code.ptrcrt.ch/retcl/doc/trunk/docs/index.html .
Since Valkey is a fork of Redis I had assumed that Retcl would also work
for it, though I have not tried it yet myself.  Could you explain what
advantages valkey-tcl has?
I see that valkey-tcl uses a C library.  Retcl is pure Tcl code, so easier
to install, but might have lower performance.

Yes, you are right. This is the main advantage of valkey-tcl. It is
written in C and uses C library for communication with the remote
server. It should consume as few resources as possible
(CPU/RAM/execution time) and is intended for high-load services with
multiple threads and high response time requirements.

Valkey-tcl appears to only support synchronous commands, I don't see an
equivalent to the async and callback-driven modes that Retcl also has.

Yes. This is the first version, asynchronous mode is not yet
supported.

The libvalkey page says "It also supports any server that uses the RESP
protocol" so that suggests that valkey-tcl would also work with Redis or
with any of the other compatible alternatives such as KeyDB.

I believe it should work with other databases that use the RESP
protocol. Unfortunately, I cannot confirm this for sure. We only tested
this with the latest available version of the valkey server and
Redis 6.0.x.

If you get a chance to test this package on Redis 7.4+ or KeyDB, then
we will be very grateful to you!

--
Best regards,
Konstantin Kushnir

Date Sujet#  Auteur
25 Aug 24 * ANNOUNCE: valkey-tcl 1.0.04Konstantin Kushnir
25 Aug 24 `* Re: ANNOUNCE: valkey-tcl 1.0.03Colin Macleod
26 Aug 24  `* Re: ANNOUNCE: valkey-tcl 1.0.02Colin Macleod
26 Aug 24   `- Re: ANNOUNCE: valkey-tcl 1.0.01Konstantin Kushnir

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal