Skip to content

Commit 7a10645

Browse files
committed
Add a section regarding ElastiCache Serverless paltform
1 parent 72529b7 commit 7a10645

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

configuration/using-redis.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,19 @@ Starting from Hangfire.Pro.Redis 3.1.0, it is possible to connect to one or more
120120
GlobalConfiguration.Configuration.UseRedisStorage(
121121
"sentinel1:10000,sentinel2:10000,sentinel3:10000,serviceName=mymaster");
122122
123+
ElastiCache Serverless support
124+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125+
126+
ElastiCache Serverless platform is supported via the new experimental transactions that are based on a single `EVAL` call to a Redis instance. Default transactions aren't supported by this platform due to a slightly different Redis protocol handling, which is unable to use `EVAL` commands in a `MULTI` blocks. So while the default transaction implementation offers better memory consumption for large transactions, Serverless solution is unable to use them.
127+
128+
.. code-block:: csharp
129+
130+
GlobalConfiguration.Configuration.UseRedisStorage(
131+
"connection_string", new RedisStorageOptions
132+
{
133+
UseExperimentalTransactions = true
134+
});
135+
123136
Passing options
124137
~~~~~~~~~~~~~~~
125138

0 commit comments

Comments
 (0)