Skip to content

Commit 8bca1bb

Browse files
DOC-4037 removed CSC abbreviation
1 parent df7c8a0 commit 8bca1bb

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

content/develop/connect/clients/client-side-caching.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ weight: 20
1818
*Client-side caching* reduces network traffic between
1919
a Redis client and the server, which generally improves performance.
2020
See [Client-side caching compatibility with Redis Software and Redis Cloud]({{< relref "operate/rs/references/compatibility/client-side-caching" >}})
21-
for details on Redis versions that support CSC.
21+
for details on Redis versions that support client-side caching.
2222

2323
By default, an [application server](https://en.wikipedia.org/wiki/Application_server)
2424
(which sits between the user app and the database) contacts the
@@ -28,7 +28,7 @@ through the application server to the database and back again:
2828

2929
{{< image filename="images/csc/CSCNoCache.drawio.svg" >}}
3030

31-
When you use CSC, the client library
31+
When you use client-side caching, the client library
3232
maintains a local cache of data items as it retrieves them
3333
from the database. When the same items are needed again, the client
3434
can satisfy the read requests from the cache instead of the database:
@@ -41,7 +41,7 @@ the load on the database server, so you may be able to run it using fewer hardwa
4141
resources.
4242

4343
As with other forms of [caching](https://en.wikipedia.org/wiki/Cache_(computing)),
44-
CSC works well in the very common use case where a small subset of the data
44+
client-side caching works well in the very common use case where a small subset of the data
4545
gets accessed much more frequently than the rest of the data (according
4646
to the [Pareto principle](https://en.wikipedia.org/wiki/Pareto_principle)).
4747

@@ -51,7 +51,7 @@ All caching systems must implement a scheme to update data in the cache
5151
when the corresponding data changes in the main database. Redis uses an
5252
approach called *tracking*.
5353

54-
When CSC is enabled, the Redis server remembers or *tracks* the set of keys
54+
When client-side caching is enabled, the Redis server remembers or *tracks* the set of keys
5555
that each client connection has previously read. This includes cases where the client
5656
reads data directly, as with the [`GET`]({{< relref "/commands/get" >}})
5757
command, and also where the server calculates values from the stored data,
@@ -86,11 +86,11 @@ will use cached data, except for the following:
8686
[`FT.SEARCH`]({{< baseurl >}}/commands/ft.search).
8787

8888
You can use the [`MONITOR`]({{< relref "/commands/monitor" >}}) command to
89-
check the server's behavior when you are using CSC. Because `MONITOR` only
89+
check the server's behavior when you are using client-side caching. Because `MONITOR` only
9090
reports activity from the server, you should find that the first cacheable
9191
access to a key causes a response from the server. However, subsequent
9292
accesses are satisfied by the cache, and so `MONITOR` should report no
93-
server activity if CSC is working correctly.
93+
server activity if client-side caching is working correctly.
9494

9595
## What data gets cached for a command?
9696

@@ -132,15 +132,15 @@ then cached separately. For example:
132132

133133
## Usage recommendations
134134

135-
Like any caching system, CSC has some limitations:
135+
Like any caching system, client-side caching has some limitations:
136136

137137
- The cache has only a limited amount of memory available. When the limit
138138
is reached, the client must *evict* potentially useful items from the
139139
cache to make room for new ones.
140140
- Cache misses, tracking, and invalidation messages always add a slight
141141
performance penalty.
142142

143-
Below are some guidelines to help you use CSC efficiently, within these
143+
Below are some guidelines to help you use client-side caching efficiently, within these
144144
limitations:
145145

146146
- **Use a separate connection for data that is not cache-friendly**:
@@ -149,7 +149,7 @@ limitations:
149149
may also have data such as counters and scoreboards that receive frequent
150150
updates. In cases like this, the performance overhead of the invalidation
151151
messages can be greater than the savings made by caching. Avoid this problem
152-
by using a separate connection *without* CSC for any data that is
152+
by using a separate connection *without* client-side caching for any data that is
153153
not cache-friendly.
154154
- **Estimate how many items you can cache**: The client libraries let you
155155
specify the maximum number of items you want to hold in the cache. You
@@ -166,8 +166,8 @@ limitations:
166166

167167
## Reference
168168

169-
The Redis server implements extra features for CSC that are not used by
169+
The Redis server implements extra features for client-side caching that are not used by
170170
the main Redis clients, but may be useful for custom clients and other
171171
advanced applications. See
172172
[Client-side caching reference]({{< relref "/develop/reference/client-side-caching" >}})
173-
for a full technical guide to all the options available for CSC.
173+
for a full technical guide to all the options available for client-side caching.

content/develop/connect/clients/java/jedis.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,21 +196,21 @@ public class Main {
196196
}
197197
```
198198

199-
## Connect using client-side caching (CSC)
199+
## Connect using client-side caching
200200

201201
*Client-side caching* is a technique to reduce network traffic between
202202
the client and server, resulting in better performance. See
203203
[Client-side caching introduction]({{< relref "/develop/connect/clients/client-side-caching" >}})
204-
for more information about how CSC works and how to use it effectively.
204+
for more information about how client-side caching works and how to use it effectively.
205205

206-
To enable CSC, specify the
206+
To enable client-side caching, specify the
207207
[RESP3]({{< relref "/develop/reference/protocol-spec#resp-versions" >}})
208208
protocol and pass a cache configuration object during the connection.
209209

210-
The example below shows the simplest CSC connection to the default host and port,
210+
The example below shows the simplest client-side caching connection to the default host and port,
211211
`localhost:6379`.
212212
All of the connection variants described above accept these parameters, so you can
213-
use CSC with a connection pool or a cluster connection in exactly the same way.
213+
use client-side caching with a connection pool or a cluster connection in exactly the same way.
214214

215215
```java
216216
HostAndPort endpoint = new HostAndPort("localhost", 6379);

content/develop/connect/clients/python/redis-py.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,25 +119,25 @@ r.get('foo')
119119
```
120120
For more information, see [redis-py TLS examples](https://redis-py.readthedocs.io/en/stable/examples/ssl_connection_examples.html).
121121

122-
## Connect using client-side caching (CSC)
122+
## Connect using client-side caching
123123

124124
*Client-side caching* is a technique to reduce network traffic between
125125
the client and server, resulting in better performance. See
126126
[Client-side caching introduction]({{< relref "/develop/connect/clients/client-side-caching" >}})
127-
for more information about how CSC works and how to use it effectively.
127+
for more information about how client-side caching works and how to use it effectively.
128128

129-
To enable CSC, add some extra parameters when you connect
129+
To enable client-side caching, add some extra parameters when you connect
130130
to the server:
131131

132132
- `protocol`: (Required) You must pass a value of `3` here because
133-
CSC requires the [RESP3]({{< relref "/develop/reference/protocol-spec#resp-versions" >}})
133+
client-side caching requires the [RESP3]({{< relref "/develop/reference/protocol-spec#resp-versions" >}})
134134
protocol.
135-
- `cache_config`: (Required) Pass `cache_config=CacheConfig()` here to enable CSC.
135+
- `cache_config`: (Required) Pass `cache_config=CacheConfig()` here to enable client-side caching.
136136

137-
The example below shows the simplest CSC connection to the default host and port,
137+
The example below shows the simplest client-side caching connection to the default host and port,
138138
`localhost:6379`.
139139
All of the connection variants described above accept these parameters, so you can
140-
use CSC with a connection pool or a cluster connection in exactly the same way.
140+
use client-side caching with a connection pool or a cluster connection in exactly the same way.
141141

142142
```python
143143
import redis

0 commit comments

Comments
 (0)