[ 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 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: {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. 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: {quote}You are running multiple instances of 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. > 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 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: > {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 (v7.6.3#76005)