-
How stateless is Lychee? I am running a Lychee installation with S3, and have multiple instances running, all connected to the same S3 backend. This isn't causing any problems for users accessing the site, but I wonder if it will cause problems for uploads? Is anybody else horizontally scaling Lychee? |
Beta Was this translation helpful? Give feedback.
Answered by
kiancross
Jan 1, 2025
Replies: 1 comment 4 replies
-
It is stateless as long as the DB is shared between instances. Otherwise you won't be able to see the correct pictures. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I seem to have it working. Key points for others trying to replicate this are to (1) use object storage so each instance is stateless; (2) obviously connect to the same DB; (3) make sure sessions and queues are stored in the DB; and (4) make sure
APP_KEY
is set to the same value on each instance.