Skip to content
Advertisement

Tag: phpredis

Laravel Redis Jobs are not Being Queued

I am using Laravel with Phpredis and I’ve created a webhook that adds a job to the queue. I’ve followed the docs for the interrogation but my jobs are not being queued. .env QUEUE_CONNECTION=redis config/database.php ‘client’ => env(‘REDIS_CLIENT’, ‘phpredis’), config/queue.php I am using Windows with Xampp and redis-server.exe is running. This is what I am getting when the job is

Fastest way to check key exists in redis – php

Is there any other faster way than EXISTS, to check if a key exists in redis or not? My problem is, I have over 1 million records in redis and I need to do a key_exists check. This should happen within 10ms. Any Ideas around this? Answer Using the EXISTS command is the fastest way, this should be extremely quick.

Advertisement