{
  "schema_version": 2,
  "id": "develop/clients/patterns",
  "title": "Coding patterns",
  "url": "https://redis.io/docs/latest/develop/clients/patterns/",
  "summary": "Novel patterns for working with Redis data structures",
  "aliases": [
    "/develop/use/patterns",
    "/connect/clients/patterns/",
    "/clients/patterns/",
    "/manual/patterns/"
  ],
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-09-09T10:55:35+01:00",
  "children": [
    {
      "id": "develop/clients/patterns/bulk-loading",
      "summary": "Writing data in bulk using the Redis protocol",
      "title": "Bulk loading",
      "url": "https://redis.io/docs/latest/develop/clients/patterns/bulk-loading/"
    },
    {
      "id": "develop/clients/patterns/distributed-locks",
      "summary": "A distributed lock pattern with Redis",
      "title": "Distributed Locks with Redis",
      "url": "https://redis.io/docs/latest/develop/clients/patterns/distributed-locks/"
    },
    {
      "id": "develop/clients/patterns/indexes/index",
      "summary": "Building secondary indexes in Redis",
      "title": "Secondary indexing",
      "url": "https://redis.io/docs/latest/develop/clients/patterns/indexes/"
    },
    {
      "id": "develop/clients/patterns/twitter-clone",
      "summary": "Learn several Redis patterns by building a Twitter clone",
      "title": "Redis patterns example",
      "url": "https://redis.io/docs/latest/develop/clients/patterns/twitter-clone/"
    }
  ],
  "page_type": "content",
  "content_hash": "ecc845f169c8e311197515bc3006edf9e0eda4c1e26db692fc7c60d11bc99101",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "The following documents describe some novel development patterns you can use with Redis.\n\n[Bulk loading](https://redis.io/docs/latest/develop/clients/patterns/bulk-loading)\n\nWriting data in bulk using the Redis protocol\n\n[Distributed Locks with Redis](https://redis.io/docs/latest/develop/clients/patterns/distributed-locks)\n\nA distributed lock pattern with Redis\n\n[Secondary indexing](https://redis.io/docs/latest/develop/clients/patterns/indexes)\n\nBuilding secondary indexes in Redis\n\n[Redis patterns example](https://redis.io/docs/latest/develop/clients/patterns/twitter-clone)\n\nLearn several Redis patterns by building a Twitter clone\n\n[Salvatore Sanfilippo's Redis design patterns](https://redis.antirez.com/)\n\nSalvatore Sanfilippo (also known as *antirez*, the creator of Redis) has provided the Redis community with a resource containing very useful Redis-oriented design patterns. See [this page](https://redis.antirez.com/) for more information."
    }
  ],
  "examples": []
}
