Level 88
memcached is not meant for dispatching jobs, as the name says it's a cache tool. Redis is much better in handling both caching and jobs.
Reference: https://stackoverflow.com/questions/10558465/memcached-vs-redis
Hi, I have Job files.
In my job files. Redis works great. But memcached doesn't work properly. Sometimes it works sometimes it doesn't.
Btw memcached works great on my app and controller classes.
I am using supervisord for queue management.
And my memcached configuration is
'default' => env('CACHE_DRIVER', 'memcached'),
'memcached' => [ 'driver' => 'memcached', 'servers' => [ [ 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 'port' => env('MEMCACHED_PORT', 11211), 'weight' => 100, ], ], ]
Why can it be?
Please or to participate in this conversation.