Questions tagged as 'redis'

1
answer

Store / Load generic types in Redis with C #

Scenery I created a function using AOP to do information cache, when the method is called I store in Redis using cache.StringSet , but when I need to capture back the value of Redis I need to return the same type as I received, I know...
asked by 11.12.2017 / 19:32
1
answer

Mongodb and Redis on the same server

I am planning a system that uses Mongodb for reading data and Redis for session sharing between PHP and Nodejs. Is it a problem to have both Redis and Mongodb running on the same server, since both store data in memory?     
asked by 04.12.2014 / 00:44
1
answer

Which method is most efficient for scaling, using a redis as a service or redis on disk?

I have a question regarding the best approach to caching data using redis. I would like to use a Redis as a Service as Amazon Elasti Cachi or some other. But I doubt whether the network latency I would have in my searches when querying throug...
asked by 18.10.2016 / 15:19
0
answers

Error using Redis on node.js

Hello, I am trying to use REDIS in an application node to control sections, however, when I use I get the error: Error: req.flash() requires sessions at Error (native) at IncomingMessage._flash [as flash].................. Follow my A...
asked by 08.12.2017 / 12:20
0
answers

Error Redis: Connection reset by peer

I'm trying to connect to an Azure service, I can connect, but giving some command as keys * , returns the following error:    Error: Connection reset by peer     
asked by 18.10.2017 / 18:45
1
answer

Listen to messages with multiple clients (pub / sub)

If I want to have multiple users and channels, do I need to create a client in redis (or whatever pub / sub used) to subscribe to the channel? and how would you get the messages? I'm thinking so, redis-pub / sub clients would need to be at the l...
asked by 24.10.2017 / 05:04
0
answers

Store objects in Redis using Jedis Client in Java

I'm trying to cache using Jedis, but I wanted to store objects instead of String because I'll get more than 10,000 items every time and I do not know if it would be good to decode the serialized String in more than 10,000 objects. Is there a way...
asked by 02.11.2018 / 15:02
0
answers

Starting factory with static object.

I'm creating an application using TDD and I have a factory that receives IDistributedCache parameter, so it comes inject from my API, how do I start a value for it and pass as parameter to my constructor?     
asked by 17.07.2018 / 20:54
1
answer

What is the indication of using Redis with IoTs?

I have in my hands a project to integrate a company's devices into a web platform. This video shows a general idea of the project. These are various machines, which send information (status, temperature, speed, ..., etc) to a central server...
asked by 29.12.2016 / 17:47
1
answer

Security in queries with Redis and MongoDB and NodeJs

In the relational model, when using SQL we have to pay attention to SQL Injection in our application. In Redis and MongoDB, what care should I take when building a database query? Remembering that I'm using NodeJs, but I think it applies t...
asked by 30.09.2014 / 01:10