ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Mashenkov (Jira)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-12334) Throttle getAll operations on the grid
Date Wed, 30 Oct 2019 09:45:00 GMT

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

Andrey Mashenkov commented on IGNITE-12334:
-------------------------------------------

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)

Mime
View raw message