문제

In unicorn.conf, preload_app is supposed to be set true for performance, but requires starting and stopping Redis in the fork callback. The example here refers to Resque, but I'm wondering what the best setup is for Sidekiq AND where I want to use Redis for other purposes, ie as a persistent database.

I found some info, but nothing specifically on the best practice for this.

도움이 되었습니까?

해결책

If you are using redis-rb, it connects on demand, so the master never opens a socket. Which means that you don't need to worry about it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top