You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2019/10/31 13:36:00 UTC

[jira] [Comment Edited] (IGNITE-12334) Throttle getAll operations on the grid

    [ https://issues.apache.org/jira/browse/IGNITE-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962853#comment-16962853 ] 

Andrey Mashenkov edited comment on IGNITE-12334 at 10/31/19 1:35 PM:
---------------------------------------------------------------------

Cache API getAll method returns a collection java.util.Map, but not an iterator.
How you imagine Map with lazy load can be implemented?




was (Author: amashenkov):
Cache API getAll method returns a collection java.util.Map, but not an iterator.
How you suggest to implement Map with lazy load?



> Throttle getAll operations on the grid
> --------------------------------------
>
>                 Key: IGNITE-12334
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12334
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.7.5
>            Reporter: ABHISHEK SHUBH GUPTA
>            Priority: Major
>
> Per [this thread|http://apache-ignite-users.70518.x6.nabble.com/Throttling-getAll-tt29956.html], in a situation where a large number of keys are requested using getAll and/or the value objects are large, there is a worry about GC issues/humongous objects/OOM on the grid. It would, therefore, be beneficial to the stability of the product if there was throttling available on the ignition nodes when clients do large getAll operations.  
> The throttling could perhaps be based on the number of keys passed on to getAll. If it exceeds threshold it could reject the request or optionally, auto-create multiple smaller batches.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)