Something unrelated but why you use the UnpooledByteBufAllocator and not the 
PooledByteBufAllocator ?


> On 25 Jul 2016, at 20:43, Chris Conroy <[email protected]> wrote:
> 
> 
> On Mon, Jul 25, 2016 at 2:35 PM, 'Norman Maurer' via Netty discussions 
> <[email protected] <mailto:[email protected]>> wrote:
> At the moment these Recyclers are not point to an EventLoopGroup as these are 
> no even aware of anything like EventLoops. For example you may use buffers 
> without EventLoops at all.
> 
>> This would be a bit easier to configure safe automatic defaults if it were a 
>> global (instead of per thread) recycler. How crazy would that be? Without 
>> that, the recyclers need to be small enough to multiply per thread in the 
>> app or there needs to be some kind of coordination mechanism to disable 
>> recycler growth in some threads if other threads are currently using a lot 
>> of capacity. There also might be some value in expiring older buffers so 
>> that after high pressure periods they are able to be reclaimed (I have had 
>> success doing this in MRU object pools elsewhere)
>> 
>> 
> 
> So you are talking about automatically drop stuff if its not used for X 
> timeframe ?
> 
> Exactly! This works best if the pool is MRU retrieval instead of LRU or 
> random access retrieval.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/netty/CA%2B%3DgZKC_f80VxeZOryQcOPHSZGEBLf0SuG6YS0eWx7T86%2Bb6zA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/netty/CA%2B%3DgZKC_f80VxeZOryQcOPHSZGEBLf0SuG6YS0eWx7T86%2Bb6zA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/A7B9770D-8385-4CFB-9D35-93DED749F1F2%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to