Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Riak Redis Add-on (RRA)? #1768

Open
ruichuan opened this issue Jul 2, 2020 · 9 comments
Open

Riak Redis Add-on (RRA)? #1768

ruichuan opened this issue Jul 2, 2020 · 9 comments

Comments

@ruichuan
Copy link

ruichuan commented Jul 2, 2020

Hi, I'm trying to use Riak Redis Add-on (RRA) to set up a caching level for Riak.

According to the document at https://docs.riak.com/riak/kv/latest/add-ons/redis/set-up-rra/index.html#install-riak-redis-add-on-rra, it says that "Note: Riak Redis Add-on (RRA) is available to Enterprise customers for download in the usual Zendesk forums."

I guess there isn't an enterprise version now. So, I'm wondering whether there is any Riak Redis Add-on which we could use? As I can't find any, I'm asking for help and more information.

Thanks,
-rc

@martinsumner
Copy link
Contributor

The open source version is available - https://github.com/basho/cache_proxy.

There is an enterprise version on the basho repo which is still private, and has updates on it (by comparison to the open source one).

@martincox - can the switch be flicked on https://github.com/basho/cache_proxy_ee to make this public now?

@ruichuan
Copy link
Author

ruichuan commented Jul 3, 2020 via email

@martinsumner
Copy link
Contributor

Don't know, I'm not aware of anyone who uses the cache_proxy - and there's nothing in the riak_test suite we use for riak releases that proves it. So I'm afraid you will need to test yourself to find out.

@ruichuan
Copy link
Author

ruichuan commented Jul 3, 2020 via email

@martincox
Copy link
Contributor

That repo should be visible now @ruichuan 👍

@ruichuan
Copy link
Author

ruichuan commented Jul 7, 2020 via email

@martinsumner
Copy link
Contributor

Hard to comment, as I've not used the Redis add-on. However, if your aim is to minimise latency, then there are a number of network hops necessary to extract an object from Riak, that could be avoided by extracting an object direct from a Redis cache. So although all Riak backends try to keep active objects in cache (either in backend memory or page cache), an un-contended Redis lookup would still have a faster response time than a Riak GET.

But please proceed with caution, if you hit problems you're unlikely to be able to find someone with experience of the Redis add-on to help.

@ruichuan
Copy link
Author

ruichuan commented Jul 10, 2020 via email

@martinsumner
Copy link
Contributor

For new versions of Riak we're not updating the Riak clients, other than the erlang clients. So I'm afraid if you want to use a client and keep it up to date, you will need to maintain it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants