Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?
like image 778
Mohamed Benkedadra Avatar asked Oct 20 '25 22:10

Mohamed Benkedadra


1 Answers

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)

like image 59
nak Avatar answered Oct 22 '25 12:10

nak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!