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: 3 additions & 1 deletion docs/300-accelerate/250-connection-pooling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metaTitle: 'Accelerate: Connection Pooling'
metaDescription: "Learn about everything you need to know to use Accelerate's connection pooling."
---

## Connection pooling
<TopBlock title={frontMatter.title}>

A [connection pool](https://en.wikipedia.org/wiki/Connection_pool#:~:text=In%20software%20engineering%2C%20a%20connection,executing%20commands%20on%20a%20database.) is a storage of database connections that can be reused for future requests to the database. When a new connection is requested, it is retrieved from the pool if one is available. Once the connection is no longer needed, it is returned to the pool for reuse.

Expand All @@ -20,6 +20,8 @@ For more information about connection pooling in Prisma, see the documentation [

</Admonition>

</TopBlock>

### Default connection pool size

By default, Accelerate calculates a default connection pool size using the formula `num_physical_cpus * 2 + 1`.
Expand Down
2 changes: 2 additions & 0 deletions docs/300-accelerate/300-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metaTitle: 'Accelerate: Caching'
metaDescription: "Learn everything you need to know to use Accelerate's global database caching."
---

<TopBlock title={frontMatter.title} />

## Cache strategies

For all read queries in Prisma Client, you can define the `cacheStrategy` parameter that configures cache behavior. The cache strategy allows you to define two main characteristics of the cache:
Expand Down