redis Questions

2

String: 70036 01:11:34 ERROR GetItemFromSessionStore => StackExchange.Redis.RedisTimeoutException: The timeout was reached before the message could be written to the output buffer, and it was no...
Wiedmann asked 21/7, 2022 at 23:35

3

Solved

I have a simple redis server running with a password. I want to talk with it from my spring boot app. I look here and see there is a spring.redis.password so my application-local.yml (running with ...
Alanalana asked 10/11, 2020 at 19:4

7

Solved

I have installed redis with laravel by adding "predis/predis":"~1.0", Then for testing i added the following code : public function showRedis($id = 1) { $user = Redis::get('user:profile:'.$id);...
Plateau asked 27/7, 2016 at 5:37

4

Solved

I am trying to perform rpush operation and encountered the following error: redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream. at redis.clients.util.RedisInputStrea...
Fulsome asked 7/6, 2017 at 13:6

5

Solved

I am using Laravel 5.4, with Predis and the latest Redis (or Redis for Windows). The keys are being saved without issue. So, I doubt it's a configuration issue. The problem is that they are not e...
Oxidase asked 21/4, 2017 at 18:29

2

Solved

I am using RSemaphore to maintain a particular count. Please take a look below:- RSemaphore sem = redisson.getSemaphore("custid=10"); sem.trySetPermits(10); try { sem.acquire(); } catch (Interr...
Caltrop asked 23/8, 2018 at 9:46

13

Solved

What possible reasons can Sidekiq prevent from processing jobs in the queue? The queue is full. The log file sidekiq.log indicates no activity at all. Thus the queue is full but the log is empty, a...
Satirize asked 30/5, 2013 at 12:19

7

Solved

I just built the redis docker instance $ docker pull redis After which I ran it like this. $ docker run --name=redis --detach=true --publish=6379:6379 redis I get the following $ docker ps ...
Barbellate asked 12/11, 2015 at 16:5

2

Solved

Is any simple method to get the highest score from Redis sorted set? I found this way, may be there is better ways to make this(in ruby): all_scores = Redis.zrange('foo', 0, -1, with_scores: true)...
Marrero asked 21/6, 2016 at 11:55

3

I am using http://python-rq.org/ to queue and execute tasks on Heroku worker dynos. These are long-running tasks and occasionally I need to cancel them in mid-execution. How do I do that from Pytho...
Chemoprophylaxis asked 28/5, 2013 at 13:53

2

Solved

I use Ubuntu and have this Golang lambda function with Redis. Already zipped and uploaded it. But I still need to develop it further. Every time I made changes and want to see the logs in CloudWatc...
Vaso asked 13/9, 2021 at 14:20

4

Solved

I have a Spring Boot 2.5.4 application in which I would like to add Redis and access it via Spring Data Redis. My current configuration looks like this: pom.xml <?xml version="1.0" enc...
Gluey asked 8/9, 2021 at 20:9

2

I made a script to compare query speeds between methods in the redis library. As I understand it, I should not use redis.keys() because it's a blocking function. The preferred method is scan_iter()...
Pollywog asked 1/6, 2021 at 21:14

4

Solved

I have a strange redis behavior: const redis = require('redis'); const { REDIS_URL: redisUrl, REDIS_PASSWORD: redisPassword } = process.env; const client = redis.createClient(redisUrl, { no_ready...
Father asked 14/8, 2017 at 10:31

6

Solved

Based on this tutorial https://www.youtube.com/watch?v=XrFeRwJjWHI , I tried running Redis in Docker. File docker-compose.yml version: "3.8" services: redis: image: redis volumes: - ...
Theodicy asked 10/10, 2020 at 15:43

7

Solved

I'm getting "OOM command not allowed" when trying to set a key, maxmemory is set to 500M with maxmemory-policy "volatile-lru", I'm setting TTL for each key sent to redis. INFO command returns : u...
Deceive asked 25/8, 2013 at 15:0

2

I'm using Spring Boot and I'm confused how to configure the timeout to connect Redis. Currently, my configurations are: application.yml: spring.redis.host: myhost spring.redis.port: 6379 spring.red...
Whoremaster asked 25/5, 2015 at 13:18

1

I am trying to understand something about the the cache aside strategy. The data is read from the cache if found (cache hit), and if not found (cache miss) read from the Database + updated in the c...
Vizier asked 20/6, 2023 at 20:1

7

I have Redis with a lot of keys in some format and I want to get keys that match some pattern and do some operations on them. I don't use KEYS method since it's not recommend in production. Using S...
Viator asked 5/6, 2016 at 14:0

2

I am trying to configure my Laravel app so all my Laravel Queue Failed Jobs goes to Redis instead of mysql. Currenly my jobs are configured to use redis but failed_jobs still goes to MySql Databa...
Porky asked 23/10, 2017 at 8:29

6

I've installed Redis on my ubuntu 14 server with phpredis extension. Im using Nginx server. I have php testing script $redis=new Redis() or die("Cannot load Redis module."); $redis->connect('lo...
Wingover asked 10/8, 2014 at 15:57

7

Solved

I tried to run brew install redis-cli and googled, but found nothing. Any ideas?
Virus asked 26/9, 2016 at 13:31

5

I am trying to cache my results using redis in Laravel by doing this $result = Cache::remember('orders_cache', 10, function () use ($orders) { return $orders; }); return $result; When I go in...
Jeepers asked 1/4, 2020 at 14:59

6

I've just installed redis on windows with MSOpenTech port. Everything is fine but the windows service. In order to run cmd, I need to create Redis command line arguments which I don't know how to a...
Slaver asked 6/10, 2014 at 9:29

2

Solved

In Redis there's a MONITOR command that is quite handy to watch all the commands that are being processed. Once you've started monitoring, is there any way to stop monitoring from the same session...
Anglicism asked 17/2, 2015 at 12:29

© 2022 - 2024 — McMap. All rights reserved.