Questions tagged as 'redis'

1
answer

Python3. NameError: name '' is not defined

I am using PyQt5 with Python 3 and I am trying to import redis, but when making the connection it gives me this error named 'connection' is not defined the code I have it like this: Logica: import redis Class Logica(): conexion...
asked by 20.04.2018 / 16:36
0
answers

Query about socket.io and pub sub redis [closed]

I'm doing a bot using socket.io and pub sub with redis (I know it's not necessary but I'm using it for other things as well), the problem is that it bounces repeated data. This is the script that controls the sending of data chat.js...
asked by 16.01.2017 / 14:17
0
answers

Redis and mongodb

After reading about these databases, I see many similarities and I find them very interesting, since the data structures that are saved adapt very well to object-oriented programming as well as dictionaries or lists. In MongoDB, the data is save...
asked by 08.10.2018 / 19:29
1
answer

redis serialize session in c # net asp mvc

I am using redis and I am trying to store the user session in an azure redis, I have tried storing strings in and it works with session.add("nombre", objeto) and it works for common and current string but when I try to save the session in...
asked by 25.09.2018 / 16:22
0
answers

Show all users online in Laravel 5.4

I'm wanting to show all the users currently connected and I came up with the following way, which I do not know if it's the right one. First I detect the event when the user logs in and redis sets a session variable: Redis::set('user:id:' ....
asked by 16.06.2017 / 15:08
1
answer

Error socketio in google computer engine

Anyone who managed to integrate socket.io in a google compute engine? what happens is that I'm trying to integrate but the client does not connect main.blade.php window.socket = io("{{env('SOCKET_URL')}}:{{env('SOCKET_PORT')}}"); window.cha...
asked by 12.04.2017 / 18:55
1
answer

Celery does not perform some tasks

In a Django application I try to send emails asynchronously using Celery, the tasks objects are created, but they do not reach Celery. Here is the id of the created tasks: 0: d51a86c2-219d-44a5-a004-2ff00f13f229 1: 47979e10-643c-4ced-808a-...
asked by 19.12.2016 / 23:50