Skip to content

Commit

Permalink
feat: add faqs to accelerate
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-arch committed Mar 15, 2024
1 parent d15e54b commit 92d1c0d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions content/300-accelerate/600-faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,19 @@ Even without using Accelerate's global cache, you can still greatly benefit from
## Can I use Accelerate with other ORMs/query builders/drivers?

No. We currently do not have any plans for supporting other ORMs/query builders or drivers. However, if you're interested in support for other libraries, feel free to reach out and let us know in our [Discord](https://pris.ly/discord) community in the `#accelerate-feedback` channel.

## What is the maximum allowable value for the `ttl` parameter when configuring cacheStrategy?

The [Time-to-live (`ttl`)](/accelerate/caching#time-to-live-ttl) parameter can be set for up to a **year**. However, it's important to note that items within the cache may be evicted if they are not frequently accessed.

Based on our experimentation, we’ve seen cache items persist for around 18 hours. While items may remain in the cache for an extended period if they are actively accessed, there is no guarantee.

> Even frequently accessed items may occasionally be evicted from the cache. It's unlikely for an item to survive for up to or longer than a month, regardless of its activity level.
## Why doesn’t Prisma Accelerate fall back to the direct connection string during a service disruption?

In the rare event of a service disruption, falling back to a direct connection would bypass the connection pool. This could potentially deplete the database's available connections and cause other issues on the database level.

If there is a service disruption, it's recommended to verify on the [status page](https://pris.ly/data-platform-status). You can reach out to one of Prisma's [support channels](https://www.prisma.io/docs/platform/support) for assistance.

> **Note:** Additionally, it's worth noting that some edge function runtime environments may not support direct connections with Prisma ORM. For further details, refer to our [Edge functions documentation](https://www.prisma.io/docs/orm/prisma-client/deployment/edge/overview).

0 comments on commit 92d1c0d

Please sign in to comment.