Search code examples
pythondjangowebsocketdjango-channels

what are django channels InMemoryChannelLayer limitations


i'm learning to use channels (Django channels), and i don't want to install Redis or any other tool.

  • can i just use InMemoryChannelLayer in production ?
  • what are the limitations when using InMemoryChannelLayer ?
  • is there a way to use a Django model for saving channel layers ?

Solution

  • Note that InMemoryChannelLayer has a memory leak which may not be suitable for production.
    Details here (merged on Feb 13 2018 - part of 2.1.0 release)