Skip to content

Commit 5dd9367

Browse files
updated fetch note and redis app limit to 5gb (#176)
## 💸 TL;DR <!-- What's the three sentence summary of purpose of the PR --> updated fetch note and redis app limits
1 parent 42e0455 commit 5dd9367

10 files changed

Lines changed: 14 additions & 11 deletions

File tree

docs/capabilities/http-fetch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ devvit.json
2424
### Requesting a domain to be allow-listed
2525

2626
:::note
27-
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please list at the top of your Devvit app's [`README.md`](../devvit_rules.md#app-readme-requirements) file which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants
27+
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please message us at r/Devvit with which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants.
2828
:::
2929

3030
Apps may request a domain to be added to the allow-list by specifying domains in the http configuration. This configuration is optional, and apps can still configure http: true as before.

docs/capabilities/server/redis.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ For command-specific behavior and limits, see the [supported Redis commands](#su
6464

6565
## Storage values
6666

67-
Redis is best for small, frequently accessed app states. Each Redis installation has a 5 MB request size limit. On occasion, apps will run into storage limits. Our team will reach out to you if this occurs and work with you to optimize your app.
67+
Redis is best for small, frequently accessed app states. Each Redis installation has a 5 MB request size limit, and each app has an overall Redis storage limit of 5GB. On occasion, apps will run into storage limits. Our team will reach out to you if this occurs and work with you to optimize your app.
6868

6969
If your app stores large JSON objects, long text values, or historical records that still belong in Redis, use`redisCompressed`.
7070

@@ -178,6 +178,7 @@ Design around these limits early so your app stays responsive as more people use
178178
| :---- | :---- | :---- |
179179
| Command throughput | 40,000 commands per second per installation | Avoid one Redis call per item in hot loops. Use batch commands such as `mGet`, `mSet`, and `hash` writes where they fit. |
180180
| Pipelining | Not supported | Reduce round trips by grouping related fields under hashes or compact JSON values. |
181+
| Overall app storage usage | 5 GB across all installations | Keep long-lived data compact, expire temporary keys, and archive large historical data outside Redis when needed. |
181182
| Request size | 5 MB | Store large datasets as multiple records and process them in batches. |
182183
| Transactions | 20 concurrent transaction blocks; 5-second execution timeout | Keep transaction logic small and release transactions with `exec`, `discard`, or `unwatch`. |
183184

docs/guides/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ You can also edit the display name, about description, and mature flag (18+) fie
434434

435435
There's no single limits page today, but these are the most commonly referenced numbers in the docs:
436436

437-
- [Redis](../capabilities/server/redis.mdx): 5 MB max request size and 40,000 max commands per second.
437+
- [Redis](../capabilities/server/redis.mdx): 5 GB overall app storage usage, 5 MB max request size, and 40,000 max commands per second.
438438
- [Devvit Web](../capabilities/devvit-web/devvit_web_overview.mdx): 30 second max request time, 4 MB max payload size, and 10 MB max response size.
439439
- [Post data](../capabilities/server/post-data.mdx): 2 KB per post.
440440
- [Settings and secrets](../capabilities/server/settings-and-secrets.mdx): 2 KB per setting value.

versioned_docs/version-0.11/capabilities/http-fetch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Your Devvit app can make network requests to access allow-listed external domain
3838
### Requesting a domain to be allow-listed
3939

4040
:::note
41-
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please list at the top of your Devvit app's README.md file which Data API app you are migrating (account username), and which domains you need access to. Our App Review team will provide exemptions for program participants.
41+
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please message us at r/Devvit with which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants.
4242
:::
4343

4444
Apps may request a domain to be added to the allow-list by specifying `domains` in the `http` configuration.

versioned_docs/version-0.12/capabilities/http-fetch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ devvit.json
2424
### Requesting a domain to be allow-listed
2525

2626
:::note
27-
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please list at the top of your Devvit app's README.md file which Data API app you are migrating (account username), and which domains you need access to. Our App Review team will provide exemptions for program participants.
27+
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please message us at r/Devvit with which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants.
2828
:::
2929

3030
Apps may request a domain to be added to the allow-list by specifying domains in the http configuration. This configuration is optional, and apps can still configure http: true as before.
@@ -204,7 +204,7 @@ The following domains are requested for this app:
204204
### Domain requirements
205205

206206
:::note
207-
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please list at the top of your Devvit app's README.md file which Data API app you are migrating (account username), and which domains you need access to. Our App Review team will provide exemptions for program participants.
207+
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please message us at r/Devvit with which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants.
208208
:::
209209

210210
Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.org. In addition:

versioned_docs/version-0.12/capabilities/server/redis.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ Each installation of an app is uniquely name-spaced, which means Redis data is s
1919
- Max commands per second: 40000
2020
- Max request size: 5 MB
2121
- Max storage: 500 MB
22+
- Overall app storage usage: 5 GB
2223
- [Pipelining](https://redis.io/docs/latest/develop/using-commands/pipelining/) is not supported
2324
- [Sets](https://redis.io/docs/latest/commands/set/) - only sorted sets are supported
2425
- No support for listing keys
2526
- No support for lua scripts to execute custom logic on redis server
2627

27-
All limits are applied at a per-installation granularity.
28+
All limits are applied at a per-installation granularity except for the overall app storage usage limit, which applies across all installations.
2829

2930
## Examples
3031

versioned_docs/version-0.12/guides/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ You can also edit the display name, about description, and mature flag (18+) fie
396396

397397
There's no single limits page today, but these are the most commonly referenced numbers in the docs:
398398

399-
- [Redis](../capabilities/server/redis.mdx): 500 MB max storage per installation, 5 MB max request size, and 40,000 max commands per second.
399+
- [Redis](../capabilities/server/redis.mdx): 500 MB max storage per installation, 5 GB overall app storage usage, 5 MB max request size, and 40,000 max commands per second.
400400
- [Devvit Web](../capabilities/devvit-web/devvit_web_overview.mdx): 30 second max request time, 4 MB max payload size, and 10 MB max response size.
401401
- [Post data](../capabilities/server/post-data.mdx): 2 KB per post.
402402
- [Settings and secrets](../capabilities/server/settings-and-secrets.mdx): 2 KB per setting value.

versioned_docs/version-0.13/capabilities/http-fetch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ devvit.json
2424
### Requesting a domain to be allow-listed
2525

2626
:::note
27-
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please list at the top of your Devvit app's [`README.md`](../devvit_rules.md#app-readme-requirements) file which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants
27+
If you're porting a Data API app as part of our [App Migration Programs](https://www.reddit.com/r/Devvit/comments/1sgwkm7/bring_your_data_api_apps_to_devvit_and_details/) you may be eligible for special fetch domain exceptions. Please message us at r/Devvit with which Data API app you are migrating, and which domains you need access to. Our App Review team will provide exemptions for program participants.
2828
:::
2929

3030
Apps may request a domain to be added to the allow-list by specifying domains in the http configuration. This configuration is optional, and apps can still configure http: true as before.

versioned_docs/version-0.13/capabilities/server/redis.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ For command-specific behavior and limits, see the [supported Redis commands](#su
6464

6565
## Storage values
6666

67-
Redis is best for small, frequently accessed app states. Each Redis installation has a 5 MB request size limit. On occasion, apps will run into storage limits. Our team will reach out to you if this occurs and work with you to optimize your app.
67+
Redis is best for small, frequently accessed app states. Each Redis installation has a 5 MB request size limit, and each app has an overall Redis storage limit of 5GB. On occasion, apps will run into storage limits. Our team will reach out to you if this occurs and work with you to optimize your app.
6868

6969
If your app stores large JSON objects, long text values, or historical records that still belong in Redis, use`redisCompressed`.
7070

@@ -178,6 +178,7 @@ Design around these limits early so your app stays responsive as more people use
178178
| :---- | :---- | :---- |
179179
| Command throughput | 40,000 commands per second per installation | Avoid one Redis call per item in hot loops. Use batch commands such as `mGet`, `mSet`, and `hash` writes where they fit. |
180180
| Pipelining | Not supported | Reduce round trips by grouping related fields under hashes or compact JSON values. |
181+
| Overall app storage usage | 5 GB across all installations | Keep long-lived data compact, expire temporary keys, and archive large historical data outside Redis when needed. |
181182
| Request size | 5 MB | Store large datasets as multiple records and process them in batches. |
182183
| Transactions | 20 concurrent transaction blocks; 5-second execution timeout | Keep transaction logic small and release transactions with `exec`, `discard`, or `unwatch`. |
183184

versioned_docs/version-0.13/guides/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ You can also edit the display name, about description, and mature flag (18+) fie
434434

435435
There's no single limits page today, but these are the most commonly referenced numbers in the docs:
436436

437-
- [Redis](../capabilities/server/redis.mdx): 5 MB max request size and 40,000 max commands per second.
437+
- [Redis](../capabilities/server/redis.mdx): 5 GB overall app storage usage, 5 MB max request size, and 40,000 max commands per second.
438438
- [Devvit Web](../capabilities/devvit-web/devvit_web_overview.mdx): 30 second max request time, 4 MB max payload size, and 10 MB max response size.
439439
- [Post data](../capabilities/server/post-data.mdx): 2 KB per post.
440440
- [Settings and secrets](../capabilities/server/settings-and-secrets.mdx): 2 KB per setting value.

0 commit comments

Comments
 (0)