You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/03 10:03:06 UTC

[jira] [Updated] (IGNITE-9295) Add Warning message for multiple data streamers

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

Maxim Muzafarov updated IGNITE-9295:
------------------------------------
    Fix Version/s:     (was: 2.8)
                   2.9

> Add Warning message for multiple data streamers
> -----------------------------------------------
>
>                 Key: IGNITE-9295
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9295
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexander Gerus
>            Priority: Major
>             Fix For: 2.9
>
>
> DataStreamer is design to allocate as much resources as available. In case if user is starting more then one instance per cache, it can cause significant slowdown for the streaming due to significant consumption of resources 
> The proposal is to add warning message to the application log in case if two or more data streamers per cache:
> {quote}You are running multiple instances of IgniteDataStreamer. 
>  For best performance use a single instance and share it between threads.
> {quote}
> Also, if user is using addData(key, value) method, we should print a warning suggesting to use addData(Map) method (we should update the Javadoc as well):
> {quote}You are using IgniteDataStreamer.addData(key, value) method.
>  For best performance use addData(Map) method.
> {quote}
> Each of these warnings should be printed only once, the 1st time such a case was detected.



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