On 12/14/2011 05:45 AM, Glyph wrote:
On Dec 13, 2011, at 2:04 PM, Andrew Francis wrote:
Now at time T, there are eight reindeer and two elves ready. At T+1, an additional reindeer and
elf are ready (their timestamps are the same, timer resolution notwithstanding). However the
Twisted reactor
On 09/19/2011 02:44 PM, Fabian Rothfuchs wrote:
Hi Guys,
[...]
So I wonder, if you can dynamically feed the reactor with new tasks (I use connectTCP for it), as
it's not possible to start/stop it on demand (or if there's an alternative approach):
Hi,
in general you do [whatever you want] in r
On 02/03/2011 02:01 AM, Wolfgang Powisch wrote:
> Hello,
>
> I need to talk to a Line-based TCP service from a Twisted Application.
> The remote server will accept requests and send a response.
>
> I do NOT want to open a NEW TCP-Connection for each request.
Hi,
you only have to avoid closing the
On 10/18/2010 09:10 PM, Elizabeth Liao wrote:
[...]
What would like to do is to somehow identify what twisted
services/plugins are running because different things happen depending
on what plugin is currently in use. We are running on Linux wanted to
see if there was an easy way of doing that
Darren Govoni wrote:
> What you refer to is different than what I need. The real 'Process'
> implementation is new to Python 2.6
> http://docs.python.org/library/multiprocessing.html
> and is not supported in Twisted at the moment. The Process or threads
> in Twisted now, use Python threading/pro
Alec Matusis wrote:
> In desperation of not finding the real memory leak on the production server,
>
> I wrote a test server that I can push to arbitrary high RSS memory. I am far
> from sure if this the same leak that I observe in production, but I would
> like to understand what this one is.
> T
Darren Govoni wrote:
> The nice thing about using Python's process support is that you can
> spawn native Processes that run in separate heaps directly from ONE
> Python Twisted app. Not many running side-by-side, which adds the
> complexity of now coordinating among them (however easy with
> a
Vlad Shevchenko wrote:
> Thanks a lot, Stephen.
>
> AMP probably is what I looking for. Now I can handle a much more
> clients (2 times more without significantly increasing response time).
> Server can also handle 3 times more clients without any errors, but
> response time grow up. I check for ne
Einar S. Idsø wrote:
> On Thu, Feb 18, 2010 at 11:36 AM, Johann Borck
> wrote:
>
>> Einar S. Idsø wrote:
>>
>>> [...] I guess I need a factory that launches server checker
>>> objects not as a result of a TCP/UDP connection, but as a r
Einar S. Idsø wrote:
> [...] I guess I need a factory that launches server checker
> objects not as a result of a TCP/UDP connection, but as a result of
> new servers being detected.
How does this detection work? Are those servers based on twisted? Also,
do you control them (start/stop/configurat
Jared Gisin wrote:
> It's unambiguously the correct default if you incorrectly assume that
> you're always dealing with a web browser client, which is an invalid
> assumption.
>
>
It's not always - it is almost always, a textbook example for the
applicability of a sensible default.
> The botto
Stanislav Yudin wrote:
> Thanks, but how can I pass control back to calling code after starting
> the reactor? Or the idea is to run it in separate thread? I understand
> that main idea on twisted is async processing, but this time I need to
> block the calling code until response is received.
>
Stanislav Yudin wrote:
> Hi everyone,
> I am having a problem with current twisted trunk (rev 27375). ... So
> the problem is that the first call to execute returns from
> reactor.run() right after reactor.stop(), but second call to same
> method of same instance do not return ever.
> I believe
Darvin nb wrote:
> Can anybody tell me, is there telnet example written with Twisted?
>
like twisted.conch.telnet ?
hth, Johann
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted
On Tue, Aug 4, 2009 at 10:08 AM, John Aherne mailto:johnahe...@rocs.co.uk>> wrote:
> This is a really basic problem we are trying to decide about,
>
> We have programs that run quite happily, so far. Its main task is to
> receive data from port A and send it out via port B. Then receive data
> v
Sean Hollingsworth wrote:
> Let me start off by warning everyone that I am extremely new to
> twisted (I've been using it maybe a week) and it's highly likely some
> things don't work the way I think they should. Or, I'm just using them
> incorrectly.
>
> [..]
>
> The problems:
>
> Right now, fo
travis+ml-twis...@subspacefield.org wrote:
> On Sat, May 30, 2009 at 08:26:40PM -0400, Jean-Paul Calderone wrote:
>
>> Creating the reactor at all may create a file descriptor which is necessary
>> for its operation. Closing these will very likely cause problems.
>>
>
> This is all before
there seems to be some serious problem with http://twistedmatrix.com/trac/
this is what the browser shows me on about one third of the requests:
Traceback (most recent call last):
File "/srv/trac/.local/lib/python2.4/site-packages/trac/web/api.py", line 382,
in send_error
'text/html')
File
Jean-Paul Calderone wrote:
On Mon, 02 Feb 2009 14:45:40 +0100, Johann Borck
wrote:
[snip]
The correct way is to call
conn.disconnect()/transport.loseConnection() in f1 instead of in cancel.
It's "correct" in that it works around the bug in Twisted. However, this
*is* a
Atsuo Ishimoto wrote:
...
class Client(basic.LineReceiver):
def connectionMade(self):
class dmyfile:
def read(self, n):
if CANCELED:
return
else:
return '1'
s = basic.FileSender()
pri
20 matches
Mail list logo