Any tips on how to integrate Valkey + TimescaleDB in my Erlang project?

Hello, everyone.
I would be very grateful for advice!

I need to integrate Valkey and TimescaleDB into my project. So far the project has only 2 languages (C and Erlang).
I used (intermittently) Eredis until 2024.

This repository was archived by the owner on Dec 16, 2024. It is now read-only.

I didn’t use Eredis (Nordix fork).
I’m thinking about using Redix, but then I’ll have to add Elixir to the project. (I have little experience with Elixir yet.) I don’t know which is better to choose.

  • I don’t know if it’s good to mix Erlang and Elixir in the one project?
  • If so, can I call the Elixir code from Erlang modules (is this a good practice?) or write separate Elixir modules?
  • If Redix is integrated, should I take the rest too (postgrex + ecto)?
    So is it worth spending more effort on the Elixir (in the context of the Erlang and Elixir mix)?

From Valkey: Documentation: History:

“Valkey is a fork of the open-source Redis (REmote DIctionary Server) database created in 2009. In 2024, Redis Ltd. changed the license of Redis from the open source BSD license to dual source-available licenses. As Redis Ltd. owns the trademark rights to the name Redis, the open source project needed to continue under a different name. A group of six active contributors (one from each of Alibaba, Amazon, Ericsson, Google, Huawei and Tencent) with the support from several other companies launched Valkey as a Linux Foundation project.”

From Valkey: Documentation: Migration from Redis to Valkey:

"Valkey is compatible with Redis OSS 7.2 and all earlier open source Redis versions, as Valkey 7.2.4 is a fork of Redis 7.2.4.