twisted

What are the use cases of Node.js vs Twisted?

What are the use cases of Node.js vs Twisted? Question: Assuming a team of developers are equally comfortable with writing Javascript on the server side as they are with Python & Twisted, when is Node.js going to be more appropriate than Twisted (and vice versa)? Asked By: pmn || Source Answers: Twisted is more mature …

Total answers: 2

What's the best way to send an object over a network in Python?

What's the best way to send an object over a network in Python? Question: I need to send objects around a network. I’m going to be using Twisted, and I’ve just started looking around the documentation for it. As far as I know, the only way python implements sockets is through text. So how would …

Total answers: 2

Twisted + SQLAlchemy and the best way to do it

Twisted + SQLAlchemy and the best way to do it Question: So I’m writing yet another Twisted based daemon. It’ll have an xmlrpc interface as usual so I can easily communicate with it and have other processes interchange data with it as needed. This daemon needs to access a database. We’ve been using SQL Alchemy …

Total answers: 4

Python twisted: where to start

Python twisted: where to start Question: I am trying to start learning twisted for socket servers creation. I want to add some useful features (like auth, and maybe some other). Maybe someone can point me to a good tutorial which will help me to start (+ maybe some other ideas) Asked By: Oleg Tarasenko || …

Total answers: 2

A clean, lightweight alternative to Python's twisted?

A clean, lightweight alternative to Python's twisted? Question: A (long) while ago I wrote a web-spider that I multithreaded to enable concurrent requests to occur at the same time. That was in my Python youth, in the days before I knew about the GIL and the associated woes it creates for multithreaded code (IE, most …

Total answers: 14

Is TCP Guaranteed to arrive in order?

Is TCP Guaranteed to arrive in order? Question: If I send two TCP messages, do I need to handle the case where the latter arrives before the former? Or is it guaranteed to arrive in the order I send it? I assume that this is not a Twisted-specific example, because it should conform to the …

Total answers: 4