Skip to content

How does Django Unicorn compare with or borrow from Sock Puppet #171

Answered by adamghill
tkrugg asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @tkrugg, thanks for the question! Yep, I call out sockpuppet (and some other related projects) at https://www.django-unicorn.com/docs/#full-stack-framework-python-packages.

The major difference (as I see it) is that Unicorn is designed to be as easy as possible to add to a Django project which means that it only uses AJAX calls to work its magic. Most of the other projects I know of for Django all use websockets (which requires Django Channels, redis, or some other pub-sub technology). The trade-off is that an AJAX call will be slightly slower than a persistent websocket connection. However, I've spent some time optimizing the size of the network call and provide some ways to reduce t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tkrugg
Comment options

Answer selected by adamghill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants