Netflix / dynomite

A generic dynamo implementation for different k-v storage engines
Apache License 2.0
4.2k stars 532 forks source link

Non-java clients #779

Closed TwoUnderscorez closed 4 years ago

TwoUnderscorez commented 4 years ago

Am I missing something or is the only available client is for java? I couldn't even find a python client on PyPI. Is there maybe a way to use an existing client for Redis for C# or Python to interface with Dynomite (with a Redis backend)?

Thanks in advance!

ipapapa commented 4 years ago

Yes, you can use an existing Redis client with Dynomite. There is more information in the Polyglot section.

TwoUnderscorez commented 4 years ago

I see, thanks! But I couldn't find any documentation on how I should connect to Dynomite with the Redis (or Memcached) client. I tried to connect to 8102 but that didn't work. Is connecting to 22122 the way to do it?

ipapapa commented 4 years ago

Depends on the configuration on the YAML but if you use the default one you should be connecting to 8102 go through Dynomite. 22122 is directly Redis which the clients should not be using.

TwoUnderscorez commented 4 years ago

Finally got it to work. Thanks for your help! My problem was the client. I was trying to connect to DB 1 (for whatever reason) with all kinds of configurations and with all kinds of clients for C# and Python when it hit me that I should try to connect to DB 0.Then it finally worked. The problem is in StackExchange.Redis which basically did not work for me with Dynomite. The only library that I got to work that is async and supports .net core is Rediska.