[Twisted-Python] Changes to Twisted's binary distribution

2015-10-12 Thread Amber "Hawkie" Brown
Hi everyone, Just letting everyone know, the next release (Twisted 15.5) will not include MSI or EXE installers for Windows, only binary wheels, and installation through pip or from source dist will be the only supported method of installation. The exe/msi installers didn't work well (or at all

Re: [Twisted-Python] dcc, idea for file resume

2015-10-12 Thread Glyph Lefkowitz
> On Oct 12, 2015, at 11:01 AM, peter wrote: > > hi, > > > the way file resume is implemented in DccFileReceive requires to user to > determine the file size manually and set _resumeOffset. > wouldnt it make sene to just kill the last few bytes of the file and resume > it? > > below is the

Re: [Twisted-Python] txmongo vs. pymongo + callInThread

2015-10-12 Thread Glyph Lefkowitz
> On Oct 12, 2015, at 1:23 AM, Gelin Yan wrote: > > I have switched from pymongo to txmongo for about two months. I got at > least 2x faster on query. Despite of some minor issues which have been fixed > recently, I am very happy with it. This is really cool to hear. I try not to say "twi

[Twisted-Python] dcc, idea for file resume

2015-10-12 Thread peter
hi, the way file resume is implemented in DccFileReceive requires to user to determine the file size manually and set _resumeOffset. wouldnt it make sene to just kill the last few bytes of the file and resume it? below is the current connectionMade method from: http://twistedmatrix.com/trac/

Re: [Twisted-Python] txmongo vs. pymongo + callInThread

2015-10-12 Thread Gelin Yan
On Mon, Oct 12, 2015 at 3:51 PM, bret curtis wrote: > There is one thing that TxMongo does that PyMongo, Motor and the rest > don't do: handle deadlines and timeouts. > > We're (HGST/WesternDigital) using MongoDB (with WiredTiger) in real-time > applications and one of our requirements was to hon

Re: [Twisted-Python] txmongo vs. pymongo + callInThread

2015-10-12 Thread bret curtis
There is one thing that TxMongo does that PyMongo, Motor and the rest don't do: handle deadlines and timeouts. We're (HGST/WesternDigital) using MongoDB (with WiredTiger) in real-time applications and one of our requirements was to honour application set deadlines (or timeouts) on a per-call basis