1. You can - Channels namespaces itself away from most keys you might use
(and you add a custom prefix with the "prefix" option).

2. Yes, as long as both sites have a different prefix setting

In both cases I would recommend using separate Redis servers though. They
have very low RAM usage and it's good practice to run them separately.

Andrew

On Sat, Aug 5, 2017 at 9:35 PM, CrazyNPC <[email protected]> wrote:

> I have 2 questions.
> 1.Can I use the same redis server as message backend and cache backend the
> same time?
> 2.Can  I use the same redis server as message backend for different
> website they both serve by channels ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/b566ca1c-6955-4b0f-825d-bdabaf78572b%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/b566ca1c-6955-4b0f-825d-bdabaf78572b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFwN1urwLSM8UVSnpaFd%2BhaUp6dBCfnP6n_kU4b3S8PBgbdeiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to