Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I test run Memurai on Windows

I have installed Memurai on my Windows 10 64-bit system. Memurai is a Redis-compatible in-memory cache and persistent datastore running on Windows. I followed the steps given in Installation steps. Memurai can be installed as a Windows service during the initial setup, or later using the command line options. How can I create some basic applications with Memurai on Windows to taste the water. May I write some simple Java applications to use Memurai as a set-get store and test other features as well? Need some guidance and pointers.

Similar to Jedis that works for Redis as a client, is there any such client API available to test as standalone server as single instance, or through some connection pool or connection cluster, where each cluster may have one or more connection pools to do load balancing? Some sample code, tutorial would help using Java.

like image 863
Dr. Debasish Jana Avatar asked Nov 28 '19 10:11

Dr. Debasish Jana


People also ask

What is Memurai?

Memurai is a Redis 5 compatible cache and data store for Windows. Memurai runs natively on Windows and it's designed to provide the reliability and performance demanded by enterprise Windows environments. Memurai is an Enterprise solution design to solve the most challenging production workloads.


1 Answers

Memurai is 100% compatible with the Redis protocol (version 5), so any client library that works with Redis 5 should also work with Memurai, including Jedis.

Your best resources to start would then be tutorials and documentation for the Jedis library. Here’s one that walks through initial setup and demonstrate usage of a few server features through the client library: https://www.baeldung.com/jedis-java-redis-client-library. You might also want to check out the Jedis GitHub repo: https://github.com/xetorthio/jedis#how-do-i-use-it.

like image 123
Alexis Campailla Avatar answered Oct 10 '22 02:10

Alexis Campailla