Redis Interface

The Redis interface type defines the connections to the Redis in-memory storage used as key-value data storage to enable quick access to data sets.

A Redis interface connection is used by K2View TDM or by Broadway Actors to handle sequences or to mask sensitive data which is required for data uniqueness and consistency across multiple nodes or a Fabric cluster.

To create a new Redis interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces and select New Interface and then select Redis from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection settings and click Save.

  1. Go to Project Tree > Implementation > Shared Objects, right click Interfaces, select New Interface.

  2. From the window that appears, select Redis. Alternatively, you can scroll down to find this interface type. You can reduce the number of interface types shown by clicking on a menu item from the Show All … Others list.

    image

  3. Enter a suitable name for your new Redis Interface, then click Create:

    image

  4. Populate the connection settings and click Save.

    image

Connection Settings

Parameter Description
Servers Comma delimited servers list
Password  Password 
Connection Timeout Amount of time to allow new connections to be established (in milliseconds)
Socket Timeout Amount of time to wait for a response from Redis (in milliseconds)
Max Attempts  
Max Total Max number of connections that can be created at a given time
Max Idle Max number of connections that can be idle in the pool without being immediately evicted
Min Idle Number of connections that are ready for immediate use that remain in the pool even when the load has been reduced
Test On Borrow Controls whether or not the connection is tested before it is returned from the pool
Test on Return  
Test While Idle  
Min Evictable Idle Minimum amount of time a connection is idle in the pool before it is evicted due to being idle
Eviction Run Intervals  
Test Per Eviction  
Block When Exhausted  

Example of Using a Redis Interface in a Broadway Flow

image

The above Broadway flow uses a MaskingSequence Actor to mask an input list of customer IDs. The Actor connects to a predefined Redis interface populated in the Actor's sequenceInterface input argument.

Previous

Redis Interface

The Redis interface type defines the connections to the Redis in-memory storage used as key-value data storage to enable quick access to data sets.

A Redis interface connection is used by K2View TDM or by Broadway Actors to handle sequences or to mask sensitive data which is required for data uniqueness and consistency across multiple nodes or a Fabric cluster.

To create a new Redis interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces and select New Interface and then select Redis from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection settings and click Save.

  1. Go to Project Tree > Implementation > Shared Objects, right click Interfaces, select New Interface.

  2. From the window that appears, select Redis. Alternatively, you can scroll down to find this interface type. You can reduce the number of interface types shown by clicking on a menu item from the Show All … Others list.

    image

  3. Enter a suitable name for your new Redis Interface, then click Create:

    image

  4. Populate the connection settings and click Save.

    image

Connection Settings

Parameter Description
Servers Comma delimited servers list
Password  Password 
Connection Timeout Amount of time to allow new connections to be established (in milliseconds)
Socket Timeout Amount of time to wait for a response from Redis (in milliseconds)
Max Attempts  
Max Total Max number of connections that can be created at a given time
Max Idle Max number of connections that can be idle in the pool without being immediately evicted
Min Idle Number of connections that are ready for immediate use that remain in the pool even when the load has been reduced
Test On Borrow Controls whether or not the connection is tested before it is returned from the pool
Test on Return  
Test While Idle  
Min Evictable Idle Minimum amount of time a connection is idle in the pool before it is evicted due to being idle
Eviction Run Intervals  
Test Per Eviction  
Block When Exhausted  

Example of Using a Redis Interface in a Broadway Flow

image

The above Broadway flow uses a MaskingSequence Actor to mask an input list of customer IDs. The Actor connects to a predefined Redis interface populated in the Actor's sequenceInterface input argument.

Previous