Skip to main content

types

RedisConfig

Fields and structure of RedisConfig reflects Redis configuration file parameters.

MaxmemoryPolicy

  • MAXMEMORY_POLICY_UNSPECIFIED

  • VOLATILE_LRU

    Try to remove less recently used (LRU) keys with expire set.

  • ALLKEYS_LRU

    Remove less recently used (LRU) keys.

  • VOLATILE_LFU

    Try to remove least frequently used (LFU) keys with expire set.

  • ALLKEYS_LFU

    Remove least frequently used (LFU) keys.

  • VOLATILE_RANDOM

    Try to remove keys with expire set randomly.

  • ALLKEYS_RANDOM

    Remove keys randomly.

  • VOLATILE_TTL

    Try to remove less recently used (LRU) keys with expire set and shorter TTL first.

  • NOEVICTION

    Return errors when memory limit was reached and commands could require more memory to be used.

ClientOutputBufferLimit

hardLimit : google.protobuf.Int64Value

Total limit in bytes.

softLimit : google.protobuf.Int64Value

Limit in bytes during certain time period.

softSeconds : google.protobuf.Int64Value

Seconds for soft limit.

maxmemoryPolicy : MaxmemoryPolicy

Redis key eviction policy for a dataset that reaches maximum memory, available to the host. Redis maxmemory setting depends on Managed Service for Redis host class.

All policies are described in detail in Redis documentation.

timeout : google.protobuf.Int64Value

Time that Redis keeps the connection open while the client is idle. If no new command is sent during that time, the connection is closed.

password : string

Authentication password.

databases : google.protobuf.Int64Value

Number of database buckets on a single redis-server process.

slowlogLogSlowerThan : google.protobuf.Int64Value

Threshold for logging slow requests to server in microseconds (log only slower than it).

slowlogMaxLen : google.protobuf.Int64Value

Max slow requests number to log.

notifyKeyspaceEvents : string

String setting for pub\sub functionality.

clientOutputBufferLimitPubsub : ClientOutputBufferLimit

Redis connection output buffers limits for pubsub operations.

clientOutputBufferLimitNormal : ClientOutputBufferLimit

Redis connection output buffers limits for clients.

maxmemoryPercent : google.protobuf.Int64Value

Redis maxmemory percent

luaTimeLimit : google.protobuf.Int64Value

Maximum time in milliseconds for Lua scripts, 0 - disabled mechanism

replBacklogSizePercent : google.protobuf.Int64Value

Replication backlog size as a percentage of flavor maxmemory

clusterRequireFullCoverage : google.protobuf.BoolValue

Controls whether all hash slots must be covered by nodes

clusterAllowReadsWhenDown : google.protobuf.BoolValue

Allows read operations when cluster is down

clusterAllowPubsubshardWhenDown : google.protobuf.BoolValue

Permits Pub/Sub shard operations when cluster is down

lfuDecayTime : google.protobuf.Int64Value

The time, in minutes, that must elapse in order for the key counter to be divided by two (or decremented if it has a value less <= 10)

lfuLogFactor : google.protobuf.Int64Value

Determines how the frequency counter represents key hits.

turnBeforeSwitchover : google.protobuf.BoolValue

Allows to turn before switchover in RDSync

allowDataLoss : google.protobuf.BoolValue

Allows some data to be lost in favor of faster switchover/restart

RedisConfig5_0

Fields and structure of RedisConfig reflects Redis configuration file parameters.

MaxmemoryPolicy

  • MAXMEMORY_POLICY_UNSPECIFIED

  • VOLATILE_LRU

    Try to remove less recently used (LRU) keys with expire set.

  • ALLKEYS_LRU

    Remove less recently used (LRU) keys.

  • VOLATILE_LFU

    Try to remove least frequently used (LFU) keys with expire set.

  • ALLKEYS_LFU

    Remove least frequently used (LFU) keys.

  • VOLATILE_RANDOM

    Try to remove keys with expire set randomly.

  • ALLKEYS_RANDOM

    Remove keys randomly.

  • VOLATILE_TTL

    Try to remove less recently used (LRU) keys with expire set and shorter TTL first.

  • NOEVICTION

    Return errors when memory limit was reached and commands could require more memory to be used.

ClientOutputBufferLimit

hardLimit : google.protobuf.Int64Value

Total limit in bytes.

softLimit : google.protobuf.Int64Value

Limit in bytes during certain time period.

softSeconds : google.protobuf.Int64Value

Seconds for soft limit.

maxmemoryPolicy : MaxmemoryPolicy

Redis key eviction policy for a dataset that reaches maximum memory, available to the host. Redis maxmemory setting depends on Managed Service for Redis host class.

All policies are described in detail in Redis documentation.

timeout : google.protobuf.Int64Value

Time that Redis keeps the connection open while the client is idle. If no new command is sent during that time, the connection is closed.

password : string

Authentication password.

databases : google.protobuf.Int64Value

Number of database buckets on a single redis-server process.

slowlogLogSlowerThan : google.protobuf.Int64Value

Threshold for logging slow requests to server in microseconds (log only slower than it).

slowlogMaxLen : google.protobuf.Int64Value

Max slow requests number to log.

notifyKeyspaceEvents : string

String setting for pub\sub functionality.

clientOutputBufferLimitPubsub : ClientOutputBufferLimit

Redis connection output buffers limits for pubsub operations.

clientOutputBufferLimitNormal : ClientOutputBufferLimit

Redis connection output buffers limits for clients.

RedisConfig6_0

Fields and structure of RedisConfig reflects Redis configuration file parameters.

MaxmemoryPolicy

  • MAXMEMORY_POLICY_UNSPECIFIED

  • VOLATILE_LRU

    Try to remove less recently used (LRU) keys with expire set.

  • ALLKEYS_LRU

    Remove less recently used (LRU) keys.

  • VOLATILE_LFU

    Try to remove least frequently used (LFU) keys with expire set.

  • ALLKEYS_LFU

    Remove least frequently used (LFU) keys.

  • VOLATILE_RANDOM

    Try to remove keys with expire set randomly.

  • ALLKEYS_RANDOM

    Remove keys randomly.

  • VOLATILE_TTL

    Try to remove less recently used (LRU) keys with expire set and shorter TTL first.

  • NOEVICTION

    Return errors when memory limit was reached and commands could require more memory to be used.

ClientOutputBufferLimit

hardLimit : google.protobuf.Int64Value

Total limit in bytes.

softLimit : google.protobuf.Int64Value

Limit in bytes during certain time period.

softSeconds : google.protobuf.Int64Value

Seconds for soft limit.

maxmemoryPolicy : MaxmemoryPolicy

Redis key eviction policy for a dataset that reaches maximum memory, available to the host. Redis maxmemory setting depends on Managed Service for Redis host class.

All policies are described in detail in Redis documentation.

timeout : google.protobuf.Int64Value

Time that Redis keeps the connection open while the client is idle. If no new command is sent during that time, the connection is closed.

password : string

Authentication password.

databases : google.protobuf.Int64Value

Number of database buckets on a single redis-server process.

slowlogLogSlowerThan : google.protobuf.Int64Value

Threshold for logging slow requests to server in microseconds (log only slower than it).

slowlogMaxLen : google.protobuf.Int64Value

Max slow requests number to log.

notifyKeyspaceEvents : string

String setting for pub\sub functionality.

clientOutputBufferLimitPubsub : ClientOutputBufferLimit

Redis connection output buffers limits for pubsub operations.

clientOutputBufferLimitNormal : ClientOutputBufferLimit

Redis connection output buffers limits for clients.

RedisConfig6_2

Fields and structure of RedisConfig reflects Redis configuration file parameters.

MaxmemoryPolicy

  • MAXMEMORY_POLICY_UNSPECIFIED

  • VOLATILE_LRU

    Try to remove less recently used (LRU) keys with expire set.

  • ALLKEYS_LRU

    Remove less recently used (LRU) keys.

  • VOLATILE_LFU

    Try to remove least frequently used (LFU) keys with expire set.

  • ALLKEYS_LFU

    Remove least frequently used (LFU) keys.

  • VOLATILE_RANDOM

    Try to remove keys with expire set randomly.

  • ALLKEYS_RANDOM

    Remove keys randomly.

  • VOLATILE_TTL

    Try to remove less recently used (LRU) keys with expire set and shorter TTL first.

  • NOEVICTION

    Return errors when memory limit was reached and commands could require more memory to be used.

ClientOutputBufferLimit

hardLimit : google.protobuf.Int64Value

Total limit in bytes.

softLimit : google.protobuf.Int64Value

Limit in bytes during certain time period.

softSeconds : google.protobuf.Int64Value

Seconds for soft limit.

maxmemoryPolicy : MaxmemoryPolicy

Redis key eviction policy for a dataset that reaches maximum memory, available to the host. Redis maxmemory setting depends on Managed Service for Redis host class.

All policies are described in detail in Redis documentation.

timeout : google.protobuf.Int64Value

Time that Redis keeps the connection open while the client is idle. If no new command is sent during that time, the connection is closed.

password : string

Authentication password.

databases : google.protobuf.Int64Value

Number of database buckets on a single redis-server process.

slowlogLogSlowerThan : google.protobuf.Int64Value

Threshold for logging slow requests to server in microseconds (log only slower than it).

slowlogMaxLen : google.protobuf.Int64Value

Max slow requests number to log.

notifyKeyspaceEvents : string

String setting for pub\sub functionality.

clientOutputBufferLimitPubsub : ClientOutputBufferLimit

Redis connection output buffers limits for pubsub operations.

clientOutputBufferLimitNormal : ClientOutputBufferLimit

Redis connection output buffers limits for clients.

maxmemoryPercent : google.protobuf.Int64Value

Redis maxmemory percent

RedisConfig7_0

Fields and structure of RedisConfig reflects Redis configuration file parameters.

MaxmemoryPolicy

  • MAXMEMORY_POLICY_UNSPECIFIED

  • VOLATILE_LRU

    Try to remove less recently used (LRU) keys with expire set.

  • ALLKEYS_LRU

    Remove less recently used (LRU) keys.

  • VOLATILE_LFU

    Try to remove least frequently used (LFU) keys with expire set.

  • ALLKEYS_LFU

    Remove least frequently used (LFU) keys.

  • VOLATILE_RANDOM

    Try to remove keys with expire set randomly.

  • ALLKEYS_RANDOM

    Remove keys randomly.

  • VOLATILE_TTL

    Try to remove less recently used (LRU) keys with expire set and shorter TTL first.

  • NOEVICTION

    Return errors when memory limit was reached and commands could require more memory to be used.

ClientOutputBufferLimit

hardLimit : google.protobuf.Int64Value

Total limit in bytes.

softLimit : google.protobuf.Int64Value

Limit in bytes during certain time period.

softSeconds : google.protobuf.Int64Value

Seconds for soft limit.

maxmemoryPolicy : MaxmemoryPolicy

Redis key eviction policy for a dataset that reaches maximum memory, available to the host. Redis maxmemory setting depends on Managed Service for Redis host class.

All policies are described in detail in Redis documentation.

timeout : google.protobuf.Int64Value

Time that Redis keeps the connection open while the client is idle. If no new command is sent during that time, the connection is closed.

password : string

Authentication password.

databases : google.protobuf.Int64Value

Number of database buckets on a single redis-server process.

slowlogLogSlowerThan : google.protobuf.Int64Value

Threshold for logging slow requests to server in microseconds (log only slower than it).

slowlogMaxLen : google.protobuf.Int64Value

Max slow requests number to log.

notifyKeyspaceEvents : string

String setting for pub\sub functionality.

clientOutputBufferLimitPubsub : ClientOutputBufferLimit

Redis connection output buffers limits for pubsub operations.

clientOutputBufferLimitNormal : ClientOutputBufferLimit

Redis connection output buffers limits for clients.

maxmemoryPercent : google.protobuf.Int64Value

Redis maxmemory percent

RedisConfigSet

effectiveConfig : RedisConfig

Effective settings for a Redis cluster (a combination of settings defined in user_config and default_config).

userConfig : RedisConfig

User-defined settings for a Redis cluster.

defaultConfig : RedisConfig

Default configuration for a Redis cluster.

RedisConfigSet5_0

effectiveConfig : RedisConfig5_0

Effective settings for a Redis 5.0 cluster (a combination of settings defined in user_config and default_config).

userConfig : RedisConfig5_0

User-defined settings for a Redis 5.0 cluster.

defaultConfig : RedisConfig5_0

Default configuration for a Redis 5.0 cluster.

RedisConfigSet6_0

effectiveConfig : RedisConfig6_0

Effective settings for a Redis 6.0 cluster (a combination of settings defined in user_config and default_config).

userConfig : RedisConfig6_0

User-defined settings for a Redis 6.0 cluster.

defaultConfig : RedisConfig6_0

Default configuration for a Redis 6.0 cluster.

RedisConfigSet6_2

effectiveConfig : RedisConfig6_2

Effective settings for a Redis 6.2 cluster (a combination of settings defined in user_config and default_config).

userConfig : RedisConfig6_2

User-defined settings for a Redis 6.2 cluster.

defaultConfig : RedisConfig6_2

Default configuration for a Redis 6.2 cluster.

RedisConfigSet7_0

effectiveConfig : RedisConfig7_0

Effective settings for a Redis 7.0 cluster (a combination of settings defined in user_config and default_config).

userConfig : RedisConfig7_0

User-defined settings for a Redis 7.0 cluster.

defaultConfig : RedisConfig7_0

Default configuration for a Redis 7.0 cluster.