Re: [Twisted-Python] new success story: Battlehouse Games

2021-08-03 Thread Ilya Skriblovsky
I've sent my own success story with Twisted to succ...@twistedmatrix.com a couple of days ago from my work email i...@zont-online.ru, but didn't receive any confirmation. Hoping it won't be lost :) пн, 2 авг. 2021 г. в 11:07, Glyph : > I ran across a PyCon APAC talk about this, and the speaker ge

Re: [Twisted-Python] In memory cache in twisted

2019-09-26 Thread Ilya Skriblovsky
Hi all, Here is async in-memory cache that I've implemented for one of my projects: https://gist.github.com/IlyaSkriblovsky/5aba53b661acd49b65efeb4ce41a8b52 It properly handles problem #2 described by Maarten. But it doesn't bother with eviction because it wasn't needed at the time of writing (be

Re: [Twisted-Python] New member of the twisted/twisted-contributors team.

2018-03-18 Thread Ilya Skriblovsky
Thanks, I greatly appreciate! I'll try to find time to commit it to reviews вс, 18 мар. 2018 г., 7:26 Glyph : > > > On Mar 15, 2018, at 3:35 AM, Adi Roiban wrote: > > Hi, > > Just a quick announcement. > > I made Ilya Skriblovsky (https://github.com/IlyaSk

Re: [Twisted-Python] Waiting for a contended resource

2018-03-12 Thread Ilya Skriblovsky
Thanks for correction, Jean-Paul, you're absolutly right пн, 12 мар. 2018 г. в 23:00, Jean-Paul Calderone : > On Mon, Mar 12, 2018 at 3:52 PM, Ilya Skriblovsky < > ilyaskriblov...@gmail.com> wrote: > >> Hi, Richard, >> >> I've used class like this t

Re: [Twisted-Python] Waiting for a contended resource

2018-03-12 Thread Ilya Skriblovsky
Hi, Richard, I've used class like this to cache the result of Expensive Calculation: class DeferredCache: pending = None result = None failure = None def __init__(self, expensive_func): self.expensive_func = expensive_func def __call__(self): if self.pending

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-03-10 Thread Ilya Skriblovsky
> You've done all the right things. :) Thanks for clarifications and congrats on your newborn! сб, 10 мар. 2018 г. в 7:58, Glyph : > On Mar 9, 2018, at 4:03 AM, Ilya Skriblovsky > wrote: > > > Just wanted to make sure, did I all what I should do for putting this >

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-03-09 Thread Ilya Skriblovsky
Just wanted to make sure, did I all what I should do for putting this ticket into review: https://twistedmatrix.com/trac/ticket/9374 ? Should I just wait for maintainers to review it? Thanks вт, 30 янв. 2018 г. в 6:28, Glyph : > > > On Jan 29, 2018, at 12:27 PM, Ilya Skriblovsky

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-29 Thread Ilya Skriblovsky
Never mind, I realized I didn't some steps 10+ from The Manual http://twistedmatrix.com/trac/wiki/TwistedDevelopment#SubmittingaPatch Will fix that пн, 29 янв. 2018 г., 16:52 Ilya Skriblovsky : > So, no action is required from me right now? > Sorry, that's a first time I'm

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-29 Thread Ilya Skriblovsky
So, no action is required from me right now? Sorry, that's a first time I'm trying to contribute to Twisted itself :) вс, 28 янв. 2018 г. в 9:37, Glyph : > > > On Jan 27, 2018, at 12:33 PM, Ilya Skriblovsky > wrote: > > I've created the pull request with

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-27 Thread Ilya Skriblovsky
ANGE" in a subject? вс, 21 янв. 2018 г. в 12:51, Glyph : > On Jan 20, 2018, at 9:32 AM, Ilya Skriblovsky > wrote: > > > Yes, doing it only for TLSMemoryBIOProtocol fails test too :( > > SSL-related seem to be touching both ends of this reference cycle after &

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-20 Thread Ilya Skriblovsky
col's connectionLost. But I'm not experienced enough in Twisted internals to be sure doing it inside TLSMemoryBIOProtocol wouldn't break any real-world usage scenarios. - Ilya сб, 20 янв. 2018 г. в 9:10, Glyph : > > > > On Jan 19, 2018, at 11:52 AM, Ilya Skriblovsky <

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-19 Thread Ilya Skriblovsky
ure whether it is relevant to real-life usage. Will investigate more... - Ilya чт, 18 янв. 2018 г. в 0:09, Ilya Skriblovsky : > Hello, > > I have the Twisted app that serves tons of short-lived TLS connections > using TLSMemoryBIOFactory. I usually set loosened garbage collector

[Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-17 Thread Ilya Skriblovsky
Hello, I have the Twisted app that serves tons of short-lived TLS connections using TLSMemoryBIOFactory. I usually set loosened garbage collector thresholds in production environment for the sake of performance. But I've noticed that this app's RAM usage quickly grows up to unreasonable values. Di