Load balancer, containers, etc

Are there any recommended best practices for hosting MODX behind a load balancer and/or in docker containers that might have multiple instances spun up to handle extra load? I’ve seen a few mentions on the forums that sound like it’s been done by others.

Since all of the instances would point to the same database, I think the main issue would be related to the MODX cache, since that is file based. It probably wouldn’t work well to share the cache directory, but maybe it would.

I plan to do some testing on my own, but was hoping that someone out there might have some tips, suggestions, or places that I should look for more information to get me started.