Questions tagged [twisted]

10 questions
3
votes
0 answers

uWSGI vs Twisted Matrix

uWSGI can be configured in ashyncronous mode same as Twisted Matrix, but has anyone tried to compare these to servers in terms of performance? If we need to develop a Python web app handling thousands of connections concurrently, which one of these…
Ander
  • 153
  • 5
1
vote
1 answer

How do I serve content from multiple web servers (appache, twisted) all through port 80?

My question relates to my previous question but I realized that my previous question was off the mark. I'm using a hosting service so I don't have access to root (just a user account) and my Apache web server is a Virtual Host running on port 80.…
bias
  • 225
  • 3
  • 13
1
vote
2 answers

How to introduce and detect errors in Twisted Pair cables

I am taught that Twisted Pair cables are twisted to cancel interference. Now, I have a CAT-5e crossed over cable of approximately 2 M in length. I removed the cable's cover and untwisted the wires. Still I can see no difference in performance of my…
DDC
  • 111
  • 2
1
vote
1 answer

Install Twisted on CentOS 5.5

CentOS 5.5 is using the old python 2.4 ! But I want to install Twisted on it ! Does anyone maintain a RPM of this library ?
pallaire
  • 110
  • 7
1
vote
1 answer

Twisted package from Lucid to Karmic

Can I install the "Twisted" package from Lucid onto Karmic?
jldupont
  • 1,779
  • 4
  • 23
  • 27
0
votes
0 answers

Can a HTTP error be cached?

We are using a Twisted HTTP server https://twistedmatrix.com/documents/15.0.0/web/howto/using-twistedweb.html and we are experiencing a strange behavior. This HTTP server serves a static file and in some cases it may returns a 403 to one person…
lapinkoira
  • 171
  • 2
  • 7
0
votes
1 answer

How to rotate log files when running pyapns and twistd

I use pyapns (Iphone push server) which in turn uses twisted (twistd daemon). twistd daemon produces twistd.log files. It rotates them to twistd.log.1, twistd.log.2 and so on when twistd.log reaches 1MB but it doesn't use logrotate so I guess it's…
Henrik
  • 131
  • 1
  • 5
0
votes
2 answers

Clustering TCP servers, so can send data to all clients

I'm developing a real-time mobile app by setting up a TCP connection between the app and server backend. Each user can send messages to all other users. (I'm making the TCP server in Python with Twisted, am creating my own 'protocol' for…
Jon Cox
  • 165
  • 1
  • 1
  • 5
0
votes
3 answers

Where to see logs of a program that crashes on Ubuntu Server?

I have been running a service (a python script using twistd library) as a non-root user that stays in the background. I've been noticing that it crashes at random times and I want to understand why. As far as I know it doesn't use any specific log…
Ion
  • 278
  • 2
  • 3
  • 10
0
votes
2 answers

Debian unstable box has old version of a package, refuses to update, breaking an install

I need to install python-twisted, so... $ sudo aptitude install python-twisted [[...]] The following packages have unmet dependencies: python-twisted-mail: Depends: python-twisted-core (>= 10.1) but 10.0.0-3 is to be installed. …
d8uv
  • 101
  • 1
  • 7