Re: [Twisted-Python] twisted and twisted-infra organizations on GitHub

2015-04-02 Thread exarkun

On 2 Apr, 12:37 pm, a...@roiban.ro wrote:

Hi,

I would like suggest the following changes regarding the way repos are
organized in GitHub.

Move all twisted-infra repos into Twisted organization.. and maybe
merge many twisted-infra repos into braid.

Move treq, klein, txmongo, filepath... divmod projects into a new
organization dedicated to projects which are part of Twisted
ecosystem. Any project which imports Twisted can be part of it.

What do you say?


Perhaps you can explain why someone would want to do this.  As is, it 
sounds like a lot of busy work that, at best, will confuse and disrupt 
people.  If you explain what benefit would come from making this change, 
maybe it will be easier to see why it's a good idea.


Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] LimitedHistoryLogObserver is considered harmful ?

2015-04-02 Thread Burak Arslan
Hi,

I happen to have the new logging hotness(tm) running in production as
the backend to python's own logging module in one of the daemons that
I'm responsible for.

I also have dowser[1] integrated with this one so tryng to optimize
memory usage is almost fun :) So I noticed one day
LimitedHistoryObserver was responsible for holding on to ~30k dict
instances. I fixed this with [2]. Resident set size with 48hrs uptime is
now down ~300M   thanks to that function (and is flat).

That's a bit too much for my tastes so I thought maybe you can
reconsider that 64 * 1024 entry limit or choose to get rid of the
default observer automatically once the global observer has a proper
user-supplied sink.

Best regards,
Burak

PS: Neurons will be a web framework that ties a lot of stuff like
sqlalchemy, spyne and twisted together. Currently it does only two
things quite well: Forking and rendering html forms :)

[1] https://github.com/plq/neurons/tree/master/neurons/daemon/dowser
[2]
https://github.com/plq/neurons/blob/417836a729706f2d1449109ccbb7d4a510227050/neurons/daemon/config.py#L623


___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] [ANN] clj-amp 0.9.0

2015-04-02 Thread Glyph

 On Apr 1, 2015, at 6:48 PM, Tristan Seligmann mithra...@mithrandi.net wrote:
 
 I am pleased to announce the release of clj-amp 0.9.0[1][2], a Clojure
 implementation of the AMP[3] protocol (a reference implementation of
 which is found in Twisted)

Congrats on the release!  Always glad to see implementations in more different 
languages, making it easy to integrate Twisted with things :).


___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] LimitedHistoryLogObserver is considered harmful ?

2015-04-02 Thread Glyph

 On Apr 2, 2015, at 4:03 PM, Burak Arslan burak.ars...@arskom.com.tr wrote:
 
 Hi,
 
 I happen to have the new logging hotness(tm) running in production as
 the backend to python's own logging module in one of the daemons that
 I'm responsible for.

Thanks for trying out this code and helping us validate it!

 I also have dowser[1] integrated with this one so tryng to optimize
 memory usage is almost fun :) So I noticed one day
 LimitedHistoryObserver was responsible for holding on to ~30k dict
 instances. I fixed this with [2]. Resident set size with 48hrs uptime is
 now down ~300M   thanks to that function (and is flat).

That's... a lot of dict instances :).  I guess not a very limited history 
observer ;-).

 That's a bit too much for my tastes so I thought maybe you can
 reconsider that 64 * 1024 entry limit or choose to get rid of the
 default observer automatically once the global observer has a proper
 user-supplied sink.

Can you file this bug on the Twisted tracker so we don't lose it?  I am pretty 
sure that 300M of memory for buffered logs is not something anybody really 
wants.

 Best regards,
 Burak
 
 PS: Neurons will be a web framework that ties a lot of stuff like
 sqlalchemy, spyne and twisted together. Currently it does only two
 things quite well: Forking and rendering html forms :)
 
 [1] https://github.com/plq/neurons/tree/master/neurons/daemon/dowser
 [2]
 https://github.com/plq/neurons/blob/417836a729706f2d1449109ccbb7d4a510227050/neurons/daemon/config.py#L623
  
 https://github.com/plq/neurons/blob/417836a729706f2d1449109ccbb7d4a510227050/neurons/daemon/config.py#L623

Awesome, I can't wait to see the results.___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] twisted and twisted-infra organizations on GitHub

2015-04-02 Thread Adi Roiban
Hi,

I would like suggest the following changes regarding the way repos are
organized in GitHub.

Move all twisted-infra repos into Twisted organization.. and maybe
merge many twisted-infra repos into braid.

Move treq, klein, txmongo, filepath... divmod projects into a new
organization dedicated to projects which are part of Twisted
ecosystem. Any project which imports Twisted can be part of it.

What do you say?
-- 
Adi Roiban

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted CoAP implementation

2015-04-02 Thread Adi Roiban
On 31 March 2015 at 14:07, Giacomo Tanganelli
giacomo.tangane...@iet.unipi.it wrote:
 Hi,
 I have recently implemented a CoAP open source library based on Twisted. I
 noticed that in the web site there is a page regarding Twisted sub-projects.

Can you please provide the link to that page ? :) Thanks!

In case you want your code to be part of the official/default Twisted
distribution you should submit it based on the general Twisted
Development Process
http://twistedmatrix.com/trac/wiki/TwistedDevelopment

 I'm wondering if I can add my project to such list, I think it could help
 someone. Does anyone know ho to achieve this?

 In any case the code is freely available at
 https://github.com/Tanganelli/CoAPthon

Some people tend to prefix ther project with 'tx` to hint that project
is based on twisted... txjsonprc txmongo so maybe you can rename it to
txcoap to make it easier for people to discover it.

-- 
Adi Roiban

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python