You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/12/22 13:14:58 UTC

[jira] [Updated] (IGNITE-2297) DirectByteBufferStreamImplV2: add special cases for maps with a single element.

     [ https://issues.apache.org/jira/browse/IGNITE-2297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov updated IGNITE-2297:
------------------------------------
    Priority: Minor  (was: Major)

> DirectByteBufferStreamImplV2: add special cases for maps with a single element.
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-2297
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2297
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Priority: Minor
>              Labels: performance
>             Fix For: 2.0
>
>
> The biggest hotspot in a simple PUT scenario is Entry[] creation caused by empty HashMap inflation inside DirectByteBufferStreamImplV2 read methods.
> It is interesting, that in lots cases the map being read contains only one element. 
> Looks like this common case could be optimized - create a map with single key/val pair with optional fallback to normal map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)