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

**URL:** <https://erlangforums.com/t/any-tips-on-how-to-integrate-valkey-timescaledb-in-my-erlang-project/4652>\
**Category:** Questions / Help\
**Tags:** postgresql, elixir, valkey, timescaledb, erlang\
**Created:** [April 6, 2025, 11:52pm UTC](https://erlangforums.com/t/any-tips-on-how-to-integrate-valkey-timescaledb-in-my-erlang-project/4652 "2025-04-06T23:52:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0m3](https://erlangforums.com/user_avatar/erlangforums.com/0m3/32/2339_2.png) [@0m3](https://erlangforums.com/u/0m3)\
**Post date:** [April 6, 2025, 11:52pm UTC](https://erlangforums.com/t/any-tips-on-how-to-integrate-valkey-timescaledb-in-my-erlang-project/4652/1 "2025-04-06T23:52:13Z")

</div>

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](https://github.com/wooga/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)](https://github.com/Nordix/eredis).  
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](https://valkey.io/topics/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](https://valkey.io/topics/migration/):

_"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._

- Erlang
  - [Valkey/Redis Clients](https://redis-doc.netlify.app/resources/clients/#erlang)
    - [Eredis](https://github.com/wooga/eredis)
    - [Eredis (Nordix fork)](https://github.com/Nordix/eredis)

  - [TimescaleDB](https://www.timescale.com/)
    - [PostgreSQL Drivers](https://wiki.postgresql.org/wiki/List_of_drivers)
      - [epgsql](https://github.com/epgsql/epgsql)

    - What should I take from this to use?
      - [poolboy](https://github.com/devinus/poolboy/)
      - [pooler](https://github.com/epgsql/pooler)
      - [pgapp](https://github.com/epgsql/pgapp)
      - [epgsql\_poolboy](https://github.com/AeroNotix/epgsql_poolboy)

- Elixir
  - [Valkey/Redis Clients](https://redis-doc.netlify.app/resources/clients/#elixir)
    - [Redix](https://github.com/whatyouhide/redix)

  - [TimescaleDB](https://www.timescale.com/)
    - [PostgreSQL Drivers](https://wiki.postgresql.org/wiki/List_of_drivers)
      - [postgrex](https://github.com/elixir-ecto/postgrex)

    - [ecto with DBConnection.Pool](https://github.com/elixir-ecto/ecto)
