Skip to content

Commit

Permalink
add reference to CF workers request limit
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda committed May 14, 2024
1 parent ae59419 commit 22b1d0c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion oss/sdks/ts/redis/pipelining/auto-pipeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ const [ coordinates, population ] = await brooklynInfo;

The benefit of auto pipelining is that it reduces the number
of HTTP requests made like pipelining and transaction while
being extremely simple to enable and use.
being extremely simple to enable and use. It's especially
useful in cases like [Cloudflare Workers, where the number of
simultaneous requests is limited by 6](https://developers.cloudflare.com/workers/platform/limits/#account-plan-limits).

To learn more about how auto pipelining can be utilized in a
project, see
Expand Down Expand Up @@ -101,3 +103,6 @@ const [ foo, bar ] = await Promise.all([
redis.get("bar")
])
```

In addition to resulting in a single PIPELINE call, the commands
in `Promise.all` are executed in the order they are written!

0 comments on commit 22b1d0c

Please sign in to comment.