Redis
CtrlK
  • Intro
  • Contributor
    • Contributor
  • Install
    • Mac OS
    • Windows
  • Connection
    • Redis server / client
      • Configuration
    • Node.js
      • createClient
        • options
  • Concept
    • Book
    • Property
    • Data Type
  • Command
    • DB
      • select
      • flushdb
      • flushall
    • Key
      • del
      • keys
      • exists
      • expire
      • ttl
    • String
      • set & get
      • getrange
      • mget
      • mset
      • strlen
      • append
      • incr & decr
      • setex
      • <Scenario>
    • Hash
      • hset & hget & hdel
      • hgetall & hkeys & hvals
      • hmget & hmset
      • hlen
      • hstrlen
      • hscan
      • hincrby
      • hexists
      • hsetnx
      • <Scenario>
    • List
      • rpush & lpush
      • lrange
      • rpop & lpop
      • brpop & blpop
      • rpushx & lpushx
      • rpoplpush
      • brpoplpush
      • lindex
      • lset
      • linsert
      • llen
      • ltrim
      • lrem
      • <Scenario>
    • Set
      • sadd
      • smembers
      • srandmember
      • spop
      • srem
      • scard
      • sdiff
      • sdiffstore
      • sinter
      • sinterstore
      • sunion
      • sunionstore
      • sismember
      • smove
      • sscan
      • <Scenario>
    • Zset
      • zadd
      • zrange
      • zrevrange
      • zcard
      • zscore
      • zcount
      • zincrby
      • zinterstore
      • zunionstore
      • zrangebyscore
      • zrevrangebyscore
      • zrangebylex
      • zrevrangebylex
      • zlexcount
      • zrank
      • zrevrank
      • zrem
      • zremrangebylex
      • zremrangebyscore
      • zremrangebyrank
      • zscan
      • <Scenario>
  • Reference
    • Reference
Powered by GitBook
On this page
  • 訊息佇列
  • 最新消息
  • 歷程紀錄

Was this helpful?

  1. Command
  2. List

<Scenario>

訊息佇列

  • 每個訊息僅由單一個消費者(Consumer)處理一次

  • 訊息會停放在佇列中,直到訊息完成處理且予以刪除

  • 緩衝尖峰時段負載量,分離大量工作並批次處理

最新消息

  • 某分類下最新的N個資訊

  • 文章最新的N個評論

歷程紀錄

  • 網頁中使用者的操作行為順序紀錄

  • 觸發圖卡的點擊流程

PreviouslremNextSet

Last updated 4 years ago

Was this helpful?