geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <>
Subject [jira] [Commented] (GEODE-332) Add thread pooling to peer to peer distribution layer
Date Tue, 15 Sep 2015 21:02:46 GMT


Anthony Baker commented on GEODE-332:

What is the reasoning behind doing the socket close on a separate thread?

> Add thread pooling to peer to peer distribution layer
> -----------------------------------------------------
>                 Key: GEODE-332
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> Every time geode makes a peer-to-peer connection it creates a thread to read from that
connection. When the connection is closed it creates another thread to do the socket close
in the background just in case the close hangs. For certain use cases the lifetime of these
threads can be short but the rate at which they are created can be high.
> It would both improve performance and improve memory footprint if these threads were
reused from a pool instead of creating them every time.

This message was sent by Atlassian JIRA

View raw message