You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-12Lines changed: 9 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Redis Connector
2
2
3
-
The **Redis connector** can be used to seamlessly connect to the No-SQL database Redis (http://redis.io/). Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker.
3
+
The **Redis connector** can be used to seamlessly connect to Redis (http://redis.io/). Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker.
4
4
It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries.
5
5
Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.
6
6
@@ -13,26 +13,24 @@ Redis has built-in replication, Lua scripting, LRU eviction, transactions and di
13
13
* The **authkey** (optional)
14
14
15
15
## Installation
16
-
Import the module **Redis connector** in your project (from the Mendix AppStore or by downloading and exporting the module from this project)
16
+
*Import the module **Redis connector** in your project (from the Mendix AppStore or by downloading and exporting the module from this project)
17
+
* Add Microflow BeforeShutDownRedisConnector to you Before shutdown setting for cleaning up your Redis pool after shutdown app.
18
+
17
19
18
20
# Getting Started
19
21
* You can have 2 options for testing with Redis. Local and in the cloud.
20
22
* Download Redis (ported for Windows): https://github.com/MSOpenTech/redis/releases
21
-
* Start with a free account at redislabs: https://redislabs.com/pricing?service=redis (note: your performance is limited!)
23
+
* Start with a free account at redislabs: https://redislabs.com/pricing?service=redis (note: your performance is limited! better try local installation first)
24
+
* check the unit tests for example implementations
22
25
Once you have imported the RedisConnector module in your mendix application, you will have *Redis connector* available in the Toolbox.
23
26
24
-
It supports now 3 actions *LPUSH*, *RPUSH* and *LRANGE*
27
+
It supports now 8 actions *LPUSH*, *RPUSH*, *LRANGE*, *DEL*, *HSET*, *HMGETALL*, *HMGET*, *HMSET* and more to come!
25
28
In order to use any of these in your Mendix application, you can just drag and drop them to your microflow.
26
29
Next step would be to provide all the arguments to the selected action and choose the output result name.
27
30
28
-
### LPUSH
29
-
See http://redis.io/commands/lpush
30
-
31
-
### RPUSH
32
-
See http://redis.io/commands/rpush
31
+
### COMMANDS
32
+
See http://redis.io/commands/
33
33
34
-
### LRANGE
35
-
See http://redis.io/commands/lrange
36
34
37
35
# Remarks
38
36
* Avoid fetching large amounts of data as it can lead to memory issues because all the ResultRow data is being loaded into memory at once.
@@ -47,7 +45,6 @@ See http://redis.io/commands/lrange
0 commit comments