On 02/16/2010 05:06 AM, Werner Thie wrote:
> best grades in stability (see the discussion of the XMPP server
> Chesspark uses, they ran into memory problems such that periodic
> rebooting was the only solution). Politically I'm wary to introduce a
That was jabberd2 I think. They moved to ejabberd
Hello Einar,
This is a quite long email.
What I can tell you, is that querying many command line applications
with t.i.utils.getProcessOutput and gathering them in a DeferredList
worked for me. Example: the list_cameras in
http://svn.sat.qc.ca/trac/miville/browser/trunk/py/scenic/devices/cameras.py
Hello,
I'm tested my client server model. The server being a twisted server.
I am using the class NetstringReceiver. When I close down the client the
appropriate call to close the connection is made "connectionLost". However when
I just pull the client connection cable from the network. I would
Hello Garyc,
This is not twisted's fault. Pulling a network plug doesn't tell the server
that the client went away immediately since the connection wasn't closed
properly. Pulling the plug produces TCP half-open scenario when one thinks
that the connection is still up. This can be remedied by
poll
Much appreciated Alvin.
--- On Tue, 2/16/10, Alvin Delagon wrote:
> From: Alvin Delagon
> Subject: Re: [Twisted-Python] Pulling the ethernet cable out
> To: "Twisted general discussion"
> Date: Tuesday, February 16, 2010, 10:31 AM
> Hello Garyc,
> This is not twisted's fault. Pulling a
> netwo
I have to poll at the twisted server "getTcpKeepAlive" for the state of the
keep alive.
Thanks,
Garyc
--- On Tue, 2/16/10, gary clark wrote:
> From: gary clark
> Subject: [Twisted-Python] Pulling the ethernet cable out
> To: "Twisted general discussion"
> Date: Tuesday, February 16, 2010, 1
Hello,
No, getTcpKeepAlive will only tell you if SO_KEEPALIVE is enabled. It's
setTcpKeepAlive you want. If it's enabled, once the keepalive times out on a
half-open scenario, the connectionLost method will be triggered. You can
read the API docs here:
http://twistedmatrix.com/documents/8.2.0/api
I've been going around and around on documentation with/for twisted for
a few days now. For example, I read things like "the documentation is
written in epytext" and "documentation is processed by trial" and
conclude that trial processes epytext. I think I'm beginning to
understand what's real
Hey Alvin,
In the document link you provided the packets are being sent periodically every
2 hours for setTcpKeepAlive(1). I am assuming that
the a packet is sent straight away and then waits. At the moment I dont see the
connection lost. The getTcpKeepAlive() is returning 1 indicating that keep
On Tue, Feb 16, 2010 at 12:17 PM, K. Richard Pixley wrote:
> I've been going around and around on documentation with/for twisted for
> a few days now. For example, I read things like "the documentation is
> written in epytext" and "documentation is processed by trial" and
> conclude that trial pr
Hi,
I have developed two kind of servers:
api - http server
memory_db - dict-based server with some logic of putting data to dict and
getting it back.
Api communicate with memory_db via txJSON-RPC but response time is huge
under high load. I also try implementation with replacement txJSON-R
On Feb 16, 2010, at 2:46 PM, Vlad Shevchenko wrote:
> I have developed two kind of servers:
>api - http server
>memory_db - dict-based server with some logic of putting data to dict and
> getting it back.
>
> Api communicate with memory_db via txJSON-RPC but response time is huge under
>
Assuming you are on Linux, you can run
#man tcp
and take a look at the tunable parameters that control TCP protocol
timeouts:
tcp_keepalive_intvl
tcp_keepalive_probes
tcp_keepalive_time
They can be tuned via /proc filesystem.
These changes are system-wide, so you should consider the performanc
Much appreciated the response. setTcpKeepAlive(1) is good for calling
connectionLst, however I have to send a packet out to trigger this event.
Its too bad, just had to send periodically a small stay-alive packet.
Thanks,
Garyc
--- On Tue, 2/16/10, Alec Matusis wrote:
> From: Alec Matusis
>
On Tue, Feb 16, 2010 at 2:18 PM, K. Richard Pixley wrote:
> Kevin Horn wrote:
>
> xhtml is processed into html by "lore" not "trial".
>
> Doh. Thanks. I *knew* that. I haven't gotten either to work yet, but
> neither is really on my radar right now either.
>
>
Well, I haven't gotten Lore to w
Really I need a large amount of data to be available before I can
begin calculations, Json-PRC vs. PB provide a 10+ times smaller
response time for same returning data
On Tue, Feb 16, 2010 at 10:08 PM, Phil Christensen wrote:
> On Feb 16, 2010, at 2:46 PM, Vlad Shevchenko wrote:
> > I have devel
here is some statistic:
low network traffic
===
Json-RPC PB
average MIN 0.016 average MIN 0.011
average MAX 0.044 average MAX 0.029
AVG 0.027 AVG 0.017
90% line 0.02790% line 0.017
CLIENTS 139
Vlad,
Have you considered using twisted.protocols.amp ?
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On 17 February 2010 10:56, gary clark wrote:
>
> Much appreciated the response. setTcpKeepAlive(1) is good for calling
> connectionLst, however I have to send a packet out to trigger this event.
> Its too bad, just had to send periodically a small stay-alive packet.
That's just a fact of life wit
...snip
> Well, I haven't gotten Lore to work (on Windows at least) in a looong
> time. The only way I can get trial to work on Windows is by using the
> "Twisted Command Prompt", or some hairy PATH manipulation.
snip...
Not to my knowledge, I'm running trial on MSW with JScript and all
enab
Hello Twisted users,
Does Twisted help you with your job, hobby or homework? Here's how you
can help Twisted in return, especially if you're coming to PyCon:
* Talk to us!
We want to hear what features you want, what problems you are having.
But especially, we want to hear about the cool stuff yo
21 matches
Mail list logo