Skip to content

Conversation

@LoicMahieu
Copy link
Contributor

It is mostly for opening discussion about a possible migration to ioredis. I do not favor one over the other.

ioredis seems to be more resilient to connection failure, supports sentinel and some other features.

It also have a different behavior compared to redis and introduce a kind of breaking change: it does not fails on startup if connection fails. Instead it push command into a queue and it will be processed when the connection succeed. I didn't find any option for that.

In place of completely to ioredis, we could consider to just supporting it. At this time, there are small issues of passing an ioredis as client option of catbox-redis.

What's your opinion ?

@LoicMahieu LoicMahieu added feature New functionality or improvement support Questions, discussions, and general support breaking changes Change that can breaking existing code dependency Update module dependency labels Sep 12, 2016
@LoicMahieu LoicMahieu self-assigned this Sep 12, 2016
@kanongil kanongil mentioned this pull request Nov 11, 2016
@klaemo
Copy link

klaemo commented Jan 20, 2017

Hey Loic,
is this still up for discussion? What's missing for this to be merged? Can I help with anything?
We'd love to use catbox with a sentinel cluster.

@LoicMahieu
Copy link
Contributor Author

Hi @klaemo
Yes it is rightly up for discussion. I did not test the implementation with a production app so I am not sure about any breaking change...

Maybe we could just bump a major version with it ?

@LoicMahieu LoicMahieu added this to the v3.0.0 milestone Mar 17, 2017
@LoicMahieu LoicMahieu changed the title WIP: Move to ioredis Move to ioredis Mar 28, 2017
@LoicMahieu LoicMahieu merged commit c17f593 into hapijs:master Mar 28, 2017
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking changes Change that can breaking existing code dependency Update module dependency feature New functionality or improvement support Questions, discussions, and general support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants