[BangPypers] Tornado or twisted?

Vaidik Kapoor kapoor.vaidik at gmail.com
Mon May 5 11:54:00 CEST 2014


You may use Twisted or Tornado. I think it comes down to a matter of
choice. I haven't tried Twisted but I have heard its slightly difficult to
get started with. I have used Tornado. My opinion is that its easy to get
started, very minimal with good documentation as well. There is okay-ish
community around it but there are some useful resources like
http://tornadogists.org/ which have been very useful to me, time and again.

Tornado's code is very simple to understand as well, I have read bits of it
to understand how things actually work. There is a very good WebSocket
support but I don't think it will just work with Socket.IO out of the box -
you will have to write code around it to make it work with Socket.IO
front-end library. May be there is something that makes Tornado work with
Socket.IO, I am not aware of that.

I must tell you one thing, event based code will be always be more
difficult to debug. And so is the case with Tornado and I am sure the same
is Twisted as well. I have experienced this with Tornado myself.

Vaidik Kapoor
vaidikkapoor.info


On 5 May 2014 11:47, Mukesh Yadav <mak.gnu at gmail.com> wrote:

> Hey guys,
>    I'm starting a new projects which requires real time update, something
> like tweetdeck. After initial research I have finalized twisted and
> tornado. But i'm confused which one to use.
>
> Requirement:
> 1. Should work flawlessly with Django.
> 2. Should be fast enough to handle around 10K concurrent users, on small
> instance (Server).
> 3. Should work on socket.io as I'm planning it use it.
>
>
> NOTE: I'm just a Newbie :P
>
> --
> Regards
> Mukesh Yadav
> mukeshyadav.com
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list