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

Aleksey Plekhanov updated IGNITE-9295:
--------------------------------------
    Fix Version/s:     (was: 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
>
> 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)

Reply via email to