Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/ai-agent-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ API references are available for the following client libraries:
See [Compare data types]({{< relref "/develop/data-types/compare-data-types" >}}) for advice
on which of the general-purpose data types is best for common tasks.

## Redis patterns for coding agents

Salvatore 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.

## Error handling

See [Error handling]({{< relref "/develop/clients/error-handling" >}}) for a guide to handling errors in client libraries.
21 changes: 21 additions & 0 deletions content/develop/clients/patterns/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,31 @@ categories:
- kubernetes
- clients
description: Novel patterns for working with Redis data structures
hideListLinks: true
linkTitle: Coding patterns
title: Coding patterns
aliases: /develop/use/patterns
weight: 60
---

The following documents describe some novel development patterns you can use with Redis.

[Bulk loading]({{< relref "/develop/clients/patterns/bulk-loading" >}})

Writing data in bulk using the Redis protocol

[Distributed Locks with Redis]({{< relref "/develop/clients/patterns/distributed-locks" >}})

A distributed lock pattern with Redis

[Secondary indexing]({{< relref "/develop/clients/patterns/indexes/index" >}})

Building secondary indexes in Redis

[Redis patterns example]({{< relref "/develop/clients/patterns/twitter-clone" >}})

Learn several Redis patterns by building a Twitter clone

[Salvatore Sanfilippo's Redis design patterns](https://redis.antirez.com/)

Salvatore 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.