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
10 changes: 9 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"pages": [
"redis/overall/getstarted",
"redis/overall/pricing",
"redis/overall/rediscompatibility",
"redis/overall/compatibility",
"redis/overall/changelog",
"redis/overall/usecases",
"redis/overall/compare",
Expand Down Expand Up @@ -1890,6 +1890,14 @@
]
},
"redirects": [
{
"source": "/redis/overall/rediscompatibility",
"destination": "/redis/overall/compatibility"
},
{
"source": "/docs/redis/overall/rediscompatibility",
"destination": "/redis/overall/compatibility"
},
{
"source": "/box/overall/stream",
"destination": "/box/overall/agent"
Expand Down
418 changes: 229 additions & 189 deletions llms-full.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
- [Sidekiq with Upstash Redis](https://upstash.com/docs/redis/integrations/sidekiq.md)
- [Changelog](https://upstash.com/docs/redis/overall/changelog.md)
- [Compare](https://upstash.com/docs/redis/overall/compare.md)
- [Redis® API Compatibility: supported commands, modules, and protocols](https://upstash.com/docs/redis/overall/compatibility.md)
- [Prod Pack & Enterprise](https://upstash.com/docs/redis/overall/enterprise.md)
- [Getting Started](https://upstash.com/docs/redis/overall/getstarted.md): Create an Upstash Redis database in seconds
- [llms.txt](https://upstash.com/docs/redis/overall/llms-txt.md)
Expand All @@ -315,7 +316,6 @@
- [Python SDK](https://upstash.com/docs/redis/overall/pythonredis.md)
- [Rate Limit SDK](https://upstash.com/docs/redis/overall/ratelimit.md)
- [Typescript SDK](https://upstash.com/docs/redis/overall/redis.md)
- [Redis® API Compatibility](https://upstash.com/docs/redis/overall/rediscompatibility.md)
- [Use Cases](https://upstash.com/docs/redis/overall/usecases.md)
- [AWS Lambda](https://upstash.com/docs/redis/quickstarts/aws-lambda.md)
- [Azure Functions](https://upstash.com/docs/redis/quickstarts/azure-functions.md)
Expand Down
2 changes: 1 addition & 1 deletion redis/help/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Upstash works for all the common usecases for Redis®. You can use Upstash in yo

## Do you support all Redis® API?

Most of them. See [Redis® API Compatibility](/redis/overall/rediscompatibility) for the list of supported commands.
Most of them. See [Redis® API Compatibility](/redis/overall/compatibility) for the list of supported commands.

## Can I use any Redis client?

Expand Down
4 changes: 4 additions & 0 deletions redis/integrations/celery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ output = result.get(timeout=10)
print(f"Task result: {output}") # Outputs '10'
```

## Billing Optimization

Celery workers poll Redis continuously, even when there is no queue activity. This can incur extra costs because Upstash charges per request on the Pay-As-You-Go plan. With [our Fixed plans](/redis/overall/pricing#all-plans-and-limits), **we recommend switching to a Fixed plan to avoid increased command count and high costs in Celery use cases.**

## Conclusion

To see a more detailed example of using Celery with Upstash Redis, check out the [Job Processor with Celery example](https://upstash.com/examples/jobprocessorwithcelery) on our website.
Expand Down
31 changes: 16 additions & 15 deletions redis/overall/compare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ In this section, we will compare Upstash with alternative cloud based solutions.
functions at Cloudflare Workers.
- **Durability:** Upstash persists your data to the block storage instantly in
addition to the memory, so you can use it as your primary database.
- **Full-text search:** Upstash offers [Upstash Redis Search](/redis/search/introduction), a fast
Tantivy-based full-text search extension that works with JSON, Hashes, and Strings out of the box
and stays automatically in sync as you write.
- **JSON:** Upstash supports the `JSON.*` commands natively. See [compatibility](/redis/overall/compatibility).

## AWS DynamoDB

Expand All @@ -56,8 +60,8 @@ In this section, we will compare Upstash with alternative cloud based solutions.
begin utilizing advanced features such as DAX or Global Tables, you might
encounter unexpected expenses on your AWS bill. In contrast, Upstash offers a
more transparent pricing policy, ensuring that you are not taken by surprise.
With Upstash, there are limits in place to cap your maximum costs, providing
clarity and preventing any unwelcome surprises in your billing.
With Upstash, you can optionally set a budget to cap your maximum costs,
providing clarity and preventing any unwelcome surprises in your billing.

- **Portability:** DynamoDB is exclusive to AWS and cannot be used outside of
the AWS platform. However, Redis is supported by numerous cloud providers and
Expand Down Expand Up @@ -118,17 +122,14 @@ traffic?**
Most of the serverless products start to lose their spell if the service
receives steady and high traffic as it starts to cost higher than
server/instance based pricing models. To overcome this situation we give you
option to purchase Pro Plan. In Pro plan you can set fixed
price per month with a restriction on max throughput and data size. For high and
steady throughput use cases, enterprise databases cost less than serverless one.
the option to switch to a [Fixed plan](/redis/overall/pricing). On a Fixed plan you set a
fixed price per month with a restriction on max throughput and data size. For high and
steady throughput use cases, Fixed plans cost less than pay-as-you-go.
The good thing is you can start your database with pay-as-you-go pricing and
move it enterprise when you want. See [enterprise plans](/redis/overall/enterprise) for more
information.

Even if you choose not to upgrade to the Pro plan, Upstash guarantees
transparent billing without any unexpected surprises. Each Upstash database has
a predefined monthly maximum price, known as the "Ceiling Price." For
pay-as-you-go (PAYG) databases, this ceiling price is set at \$360 per month.
Therefore, even if your application experiences a significant surge in traffic,
such as reaching the front page of HackerNews, your Upstash database will not
exceed a maximum cost of \$360 per month.
move to a Fixed plan when you want. See [pricing](/redis/overall/pricing) and [enterprise plans](/redis/overall/enterprise) for more information.

Even if you choose not to upgrade to a Fixed plan, Upstash gives you control
over your spending through optional budgets. By default, there is no monthly
price ceiling on a pay-as-you-go database, but you can set a budget to cap
your costs. When a database hits its configured budget, its operations are
stopped, ensuring you never exceed the amount you've set.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
---
title: Redis® API Compatibility
title: "Redis® API Compatibility: supported commands, modules, and protocols"
sidebarTitle: "Compatibility"
---

<Note>
Upstash supports both native Redis TCP and HTTPS REST.
</Note>

Upstash supports Redis client protocol up to version `8.2`. We are also gradually adding changes introduced in later versions.

Most of the unsupported items are in our roadmap. If you need a feature that we do not support, please drop a note to [support@upstash.com](mailto:support@upstash.com).
Expand Down Expand Up @@ -140,6 +145,8 @@ So we can inform you when we are planning to support it.
</Accordion>

<Accordion title="JSON" icon="brackets-curly">
To query inside JSON values (full-text, fuzzy, phrase, regex), see [Upstash Redis Search](/redis/search/introduction).

<CardGroup cols={2}>
<Card title="JSON.ARRAPPEND" href="https://redis.io/docs/latest/commands/json.arrappend/">Append values to JSON array</Card>
<Card title="JSON.ARRINDEX" href="https://redis.io/docs/latest/commands/json.arrindex/">Find index of value in array</Card>
Expand Down
7 changes: 7 additions & 0 deletions redis/overall/getstarted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,10 @@ Congratulations! You have created an ultra-fast Upstash Redis database! 🎉

Manage Upstash Redis databases from Cursor and other AI tools by using our [MCP server](/redis/integrations/mcp).
</Check>

## Next steps

- [Connect your client](../howto/connectclient): TypeScript, Python, Go, Java, and other Redis clients.
- [Use cases](/redis/overall/usecases): caching, rate limiting, queues, pub/sub, AI workloads, and more.
- [Upstash Redis Search](/redis/search/introduction): full-text search built into Upstash Redis.
- [REST API](/redis/features/restapi): connect from edge and serverless runtimes where TCP is restricted.
9 changes: 9 additions & 0 deletions redis/overall/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ url: https://upstash.com/pricing/redis
---

Please check our [pricing page](https://upstash.com/pricing/redis) for the most up-to-date information on pricing and limits.

## Choosing a plan

Upstash Redis has two paid plans:

- **Pay-As-You-Go (PAYG).** Billed per request. Best for variable or low-volume workloads where command count is unpredictable, such as caching in serverless functions, edge workloads, and apps that scale to zero. A monthly ceiling price caps your maximum cost.
- **Fixed plans.** A flat monthly price with a cap on throughput and data size. Usually cheaper than PAYG for sustained, high-throughput workloads where command count is consistently high and predictable. Worker-heavy setups such as Sidekiq, BullMQ, Celery, and cron jobs are a common fit.

You can start on PAYG and switch to a Fixed plan later, or vice versa. See [all plans and limits](https://upstash.com/pricing) for the full breakdown.
13 changes: 11 additions & 2 deletions redis/overall/usecases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,25 @@
title: Use Cases
---

The data store behind Upstash is [compatible](../overall/rediscompatibility)
The data store behind Upstash is [compatible](/redis/overall/compatibility)
with almost all Redis® API. So you can use Upstash for the Redis®' popular use
cases such as:

- General caching
- Session caching
- Rate limiting (see [`@upstash/ratelimit`](https://github.com/upstash/ratelimit))
- Queues and background jobs (works with [Sidekiq](/redis/integrations/sidekiq), [BullMQ](/redis/integrations/bullmq), [Celery](/redis/integrations/celery))
- Distributed locking
- Pub/Sub
- Feature flags
- Full-text search inside Redis with [Upstash Redis Search](/redis/search/introduction) (auto-synced, works with JSON, Hashes, and Strings out of the box)
- Leaderboards
- Queues
- Recommendations
- Usage metering (counting)
- Content filtering
- LLM response caching, chat history, and agent memory for AI applications

Upstash runs anywhere your application runs: traditional servers and containers (EC2, Render, Fly.io, Railway, Kubernetes) over native Redis TCP, serverless functions (AWS Lambda, Vercel Functions, Google Cloud Functions) over TCP or REST, and edge runtimes (Cloudflare Workers, Vercel Edge, Deno Deploy) over the REST API.

Check Salvatore's [blog](http://antirez.com/post/take-advantage-of-redis-adding-it-to-your-stack.html) post. You can find lots of similar articles about the common use cases of Redis.

Expand Down
4 changes: 4 additions & 0 deletions search/overall/whatisupstashsearch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Upstash Search is a **simple, lightweight, and scalable way to add AI-powered se

We combine full-text and semantic search for highly relevant results. Search works out of the box and scales to massive data sizes with zero infrastructure to manage.

<Note>
Looking for full-text search inside an Upstash Redis database instead? See [Upstash Redis Search](/redis/search/introduction), a full-text search extension built into Upstash Redis. Upstash Search (this page) is a standalone product that combines full-text and semantic search.
</Note>

---

## Lightweight & Efficient
Expand Down