Redis

  1. Installation
  2. Redis DataManagement Basics
  3. Redis DataStructure
    • String
      • Incr / Decr /Incrby / Derby
      • Incrbyfloat / Decrbyfloat
      • Append / Strlen
      • Mset / Mget / Msetnx (nx-Not Exist)
      • GETSET / Design pattern – Getset
      • GetRange (substring) / Negative rnage
      • SetRange (replace a part of string) (Padding added)
      • SetEx and PSetex
      • SetNx
      • String Encoding
        • int (64 bit signed integers)
        • embstr (String length less than 44 bytes)
        • raw (For string length greater than 44 bytes)
        • object encoding <key>
      • Json as serialized string
      • SCAN
        • SSCAN
        • HSCAN
        • ZSCAN
    • List
      • LPUSH / RPUSH / LINDEX / LRANGE / DEL
      • LINSERT
      • LPOP and RPOP
      • LTRIM
      • LSET
      • LLEN
      • LPOS – RANK / COUNT / MAXLEN
      • LREM
      • LMOVE (LEFT-LEFT / LEFT-RIGHT / RIGHT -LEFT /RIGHT-RIGHT)
    • Hashes
      • HSET / HGET / HGETALL
      • HMGET / HLEN
      • HDEL / HEXIST
      • HKEYS / HVALS
      • HINCRBY / HINCRBYFLOAT
      • HSETNX
      • HRANDFIELD
    • Sets
      • SADD / SMEMBERS
      • SCARD
      • SREM / SPOP
      • SISMEMBER / SMISMEMBER
      • SRANDMEMBE / SMOVE
      • SUNION / SUNIONSTORE /SDIFF / SINTER
    • SortedSet
      • ZADD / ZRANGE / ZREVRANGE / ZINCRBY
  4. Redis Commands
  5. Redis Info
  6. Debug in Redis
    • Debug populate
  7. Publish/Subscribe Model
  8. Mass insertion of data-piping
  9. Designing Database in Redis (Data Models)
  10. Redis Protocol
  11. Redis Administration
  12. Redis Clients
  13. Redis Replication (High availability Networksetup)
  14. Redis Role command (for replication)
  15. Redis Cluster
  16. Redis Mode (INFO SERVER // redis_mode)
    • Standalone
    • Sentinal
    • Cluster
  17. Redis Key eviction
  18. Redis Modules :
    • Redis Search
    • Redis Insight
    • Redis Search in Redis Insight
    • Redis Json
    • Redis Graph
    • RedisSQL
    • RedisTimeseries
    • Redis Gear
    • Redis Comment

Redis Usecase

  • Using Redis as Database
  • Using Redis as Cache
  • Using Redis as Message-Broker

Corss-Language connectivity :

  • Java
  • PLSQL
  • NodeJs

Java

Database Caching Strategy :

Jedis

  • JedisConnectionPool
  • JedisPool
    • It is thread safe
  • JedisShard
  • Redis sentinel
  • JedisShardInfo
  • RedisStandaloneConfiguration
  • JedisConnectionFactory
  • RedisTemplate
  • RedisConfiguration with SpringBoot AutoConfig
  • RedisConfiguration without SpringBoot AutoConfig
  • Jedis Vs Spring Data Redis Vs Reddison
  • RedisCacheManager
  • JedisCluster

Reference :