A
A
Alex Wells2015-11-29 03:51:42
Redis
Alex Wells, 2015-11-29 03:51:42

Laravel 5 + node js multi-radish?

Hello. Raised a radish, everything is fine. The problem is this: on one server there is one site and several servers on node js. Actually, the site has subdomains, each subdomain has its own database and its own server, respectively. The bottom line is: for each site-server pair, you need a separate redis storage so that the data is not mixed up. I did not find any best practices on the Internet on this topic, maybe you know? I don't have any options yet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2015-11-29
@Alex_Wells

redis.io/commands/SELECT
In laravel, configured in config/database.php in redis->database.
ATTENTION! The field is numeric.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question