hsehjal's avatar

Using Laravel Horizon with Upstash Redis - Any Gotchas?

Hi everyone,

I'm looking into using Upstash Redis (Serverless) to power Laravel Horizon for a new project.

Based on the Laravel Documentation - "Horizon is not compatible with Redis Cluster at this time."; Furthered researched and found that Horizon has some specific requirements regarding Lua scripts and doesn't typically play well with Redis Clustering. Since Upstash handles things a bit differently than a standard "raw" Redis instance, I wanted to check if anyone here is running this in production.

Specifically

Compatibility

Does Horizon’s supervisor and partitioning work out of the box with Upstash’s Redis-compatible engine?

TLS / SSL

Are there any specific configuration tweaks needed in database.php beyond setting the scheme to tls?

Performance

Since Upstash is a remote service, have you noticed any latency issues with Horizon's heartbeats or metrics?


If you have a working config/database.php snippet for an Upstash + Horizon connection, I’d love to see it!

Thanks in advance!

0 likes
0 replies

Please or to participate in this conversation.