H
H
hitakiri2016-01-25 15:27:53
PHP
hitakiri, 2016-01-25 15:27:53

Should I use Redis in a ranking script?

Good time.
I want to insert a rating on a small static site. MySQL or Postgre to put on the server for the sake of such a task IMHO does not make sense. So I decided to try something light and new (for myself). I haven’t worked with Redis before, so the question is, is it normal to use this database for a similar task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2016-01-25
@hitakiri

Of course: for this task just what you need.
There are two commands for this INCR and HINCRBY at least.
Here is a good article - ruseller.com/lessons.php?rub=37&id=2289
Well, I always put radish in PHP, to keep sessions in it at least (well, I don’t like a lot of session files, and I really clean them in radish just - lowered-raised the radish).
I register in /etc/php5/fpm/php.ini
Just in case - https://www.digitalocean.com/community/tutorials/h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question