You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Setrakyan (JIRA)" <ji...@apache.org> on 2018/08/16 20:45:00 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 ]

Dmitriy Setrakyan updated IGNITE-9295:
--------------------------------------
    Description: 
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 the DataStreamer. 
For best performance use a single instance and share it between multiple threads.
{quote}
Also, if user is using addData(key, value) method, we should print a warning suggesting to use addData(Map) method:
{quote}You are using DataStreamer.addData(key, value) method.
 For best performance use DataStreamer.addData(Map) method.
{quote}
Each of these warnings should be printed only once, the 1st time such a case was detected.

  was:
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:

Warning Text: “DataStreamer is already running. For best performance please use single instance”

The warning should be printed only once when the case is detected


> 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.7
>
>
> 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 the DataStreamer. 
> For best performance use a single instance and share it between multiple threads.
> {quote}
> Also, if user is using addData(key, value) method, we should print a warning suggesting to use addData(Map) method:
> {quote}You are using DataStreamer.addData(key, value) method.
>  For best performance use DataStreamer.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
(v7.6.3#76005)