Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Lady Luck brings added income today. Lady friend takes it away tonight.


comp / comp.lang.tcl / Re: ANNOUNCE: valkey-tcl 1.0.0

SubjectAuthor
* ANNOUNCE: valkey-tcl 1.0.0Konstantin Kushnir
`* Re: ANNOUNCE: valkey-tcl 1.0.0Colin Macleod
 `* Re: ANNOUNCE: valkey-tcl 1.0.0Colin Macleod
  `- Re: ANNOUNCE: valkey-tcl 1.0.0Konstantin Kushnir

1
Subject: ANNOUNCE: valkey-tcl 1.0.0
From: Konstantin Kushnir
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sun, 25 Aug 2024 14:44 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chpock@gmail.com (Konstantin Kushnir)
Newsgroups: comp.lang.tcl
Subject: ANNOUNCE: valkey-tcl 1.0.0
Date: Sun, 25 Aug 2024 17:44:32 +0300
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <20240825174432.8ba6c2a424ece174009ae638@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Aug 2024 16:44:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9e9ad658a16664223a1a28146dc264a5";
logging-data="2000334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WRQ67lV2Vrj5CTHaoppXG"
Cancel-Lock: sha1:PitSNdiuJN1tAPtrSb3+hBRMth0=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
View all headers

Hi Everyone!

I am pleased to announce version 1.0.0 of valkey-tcl.

valkey-tcl is TCL/C extension that provides an interface to the Valkey
key-value store.

The Valkey database is a BDS-licensed fork of the well-known Redis
in-memory, NoSQL data store, supported by the Linux Foundation:
https://valkey.io/

This is the first version and it does not support every possible
feature, but it should provide enough features for production use.

At this point, the key features are:
* supports connections via TCP or UNIX sockets
* supports TLS/SSL connections (this requires TLS/SSL support in the
linked libvalkey, and must be enabled explicitly)
* supports Linux and MacOS platforms
* supports authorization
* supports automatic reconnection with retries in case of connection
loss
* supports all valkey commands via universal command interface
* built as a single loadable shared object
* MIT license

Homepage and sources are on github: https://github.com/jerily/valkey-tcl

Please fill free to check/build/use it. Any feedback is welcome!

--
Best regards,
Konstantin Kushnir

Subject: Re: ANNOUNCE: valkey-tcl 1.0.0
From: Colin Macleod
Newsgroups: comp.lang.tcl
Date: Sun, 25 Aug 2024 19:14 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!cmacleod.me.uk!.POSTED!not-for-mail
From: user7@cmacleod.me.uk.invalid (Colin Macleod)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: valkey-tcl 1.0.0
References: <20240825174432.8ba6c2a424ece174009ae638@gmail.com>
Date: Sun, 25 Aug 24 19:14:34 GMT
Message-ID: <1724613274-7@cmacleod.me.uk>
Injection-Info: cmacleod.me.uk; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user7
Injection-Date: Sun, 25 Aug 24 19:14:34 GMT
User-Agent: Newsgrouper/0.5
View all headers

Konstantin Kushnir <chpock@gmail.com> posted:

> I am pleased to announce version 1.0.0 of valkey-tcl.
>
> valkey-tcl is TCL/C extension that provides an interface to the Valkey
> key-value store.

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?

--
Thanks,
Colin Macleod.

Subject: Re: ANNOUNCE: valkey-tcl 1.0.0
From: Colin Macleod
Newsgroups: comp.lang.tcl
Date: Mon, 26 Aug 2024 07:48 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!cmacleod.me.uk!.POSTED!not-for-mail
From: user7@cmacleod.me.uk.invalid (Colin Macleod)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: valkey-tcl 1.0.0
References: <20240825174432.8ba6c2a424ece174009ae638@gmail.com> <1724613274-7@cmacleod.me.uk>
Date: Mon, 26 Aug 24 07:48:34 GMT
Message-ID: <1724658514-7@cmacleod.me.uk>
Injection-Info: cmacleod.me.uk; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user7
Injection-Date: Mon, 26 Aug 24 07:48:34 GMT
User-Agent: Newsgrouper/0.5
View all headers

Colin Macleod <user7@cmacleod.me.uk.invalid> posted:

> Konstantin Kushnir <chpock@gmail.com> posted:
>
> > I am pleased to announce version 1.0.0 of valkey-tcl.
> >
> > valkey-tcl is TCL/C extension that provides an interface to the Valkey
> > key-value store.
>
> 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.

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.

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.

--
Colin Macleod.

Subject: Re: ANNOUNCE: valkey-tcl 1.0.0
From: Konstantin Kushnir
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Mon, 26 Aug 2024 12:45 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chpock@gmail.com (Konstantin Kushnir)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: valkey-tcl 1.0.0
Date: Mon, 26 Aug 2024 15:45:44 +0300
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <20240826154544.791a6751eed8ef50440cfd8a@gmail.com>
References: <20240825174432.8ba6c2a424ece174009ae638@gmail.com>
<1724613274-7@cmacleod.me.uk>
<1724658514-7@cmacleod.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Aug 2024 14:45:44 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="210648466254bcb4826640e20a00efa6";
logging-data="2591940"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+higSrI6lezWfoTqx3mr2f"
Cancel-Lock: sha1:KPygdU1matiQkDVDA2R0l0HoKL0=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
View all headers

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

1

rocksolid light 0.9.8
clearnet tor