Questions tagged as 'redis'

1
answer

Main differences between MongoDB and Redis

I'm reading a book on real time applications with NodeJs. The author used MongoDB and Redis to exemplify the use of database with NodeJs. My doubt arose when he used both at the same time, justifying that Redis would be used for data that...
asked by 29.09.2014 / 16:16
1
answer

What are the disadvantages of using Redis? [closed]

There are many advantages to using Redis as a database, but this is already known. I would like to know the disadvantages of using redis or in which scenarios it would be too much of a problem to use it.     
asked by 30.01.2017 / 18:04
1
answer

Rails sidekiq in production

I am trying to build and produce an APP that uses Redis and Sidekiq for jobs in queues. In development it works as follows. Rodo the command in the terminal: bundle exec sidekiq -q default and let it roll. When I send the processes to the q...
asked by 21.03.2016 / 14:20
1
answer

Problem installing HiRedis module

I was installing the npm Hiredis module, but I had problems. According to its documentation, the only necessary prerequisite is the presence of Python 2.7 and gcc / g ++ 4.8 , which I already have.    This requires:       gcc / g ++ 4....
asked by 31.12.2016 / 00:22
1
answer

Elasticseach, Redis, Relational Database or all? [closed]

I'm starting to work with Elasticsearch and from what I've looked so far on the net has brought me some doubts. What is the difference between Elastic and Redis ? Is it advantageous to work with a relational database + Elastic? Is it...
asked by 24.04.2017 / 15:18
2
answers

Do an asynchronous function wait for another

I'm developing a JavaScript system with Node.JS and Redis, however, because of the asynchronous functions, the loop terminates before the functions, which causes the wrong response array or the timeout on the server. In the face of my problem, i...
asked by 11.01.2016 / 20:15
1
answer

Explanation about pub sub (redis)

I searched pub sub and did not find anything in Portuguese, so I decided to ask here, I wanted to understand how pub and sub works especially for to be applied with redis , I read something about it, but I did not quite understand how it...
asked by 20.10.2017 / 23:16
1
answer

ELK + REDIS - Duplicating data

Talk to people, I need a help ... I have the following Logstash configuration files: agent.conf input { log4j { type => "bdj" port => 25827 } } filter{ json{ source => "message" } } output {...
asked by 20.05.2016 / 23:48
1
answer

What is the purpose Message Queue MQ

I've heard a lot about talking about MessageQueue, and I've never used it in practice. But before that, I would like to know what is the need and purpose of using an MQ. Thinking about scalability and performance. Sometimes I get confused wit...
asked by 29.10.2015 / 13:36
2
answers

Use Redis in practice

I'm having a hard time noticing in practice where to use Redis in an ecommerce, for example. I'm reading a book but I can not figure out what I have to take into account when deciding to use Redis or not. Should Redis be used for static da...
asked by 06.10.2014 / 18:19