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

ASF GitHub Bot commented on METRON-227:
---------------------------------------

GitHub user ajayydv opened a pull request:

    https://github.com/apache/incubator-metron/pull/188

    METRON-227 (Time based flushing)

    METRON-227 (Time based flushing)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajayydv/incubator-metron METRON-227

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/188.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #188
    
----
commit 6f091253f3d2716d0c286b2d3a232cd93a4872d2
Author: ajayydv <[email protected]>
Date:   2016-07-13T20:11:37Z

    METRON-227 (Time based flushing)

----


> Add Time-Based Flushing to Writer Bolt
> --------------------------------------
>
>                 Key: METRON-227
>                 URL: https://issues.apache.org/jira/browse/METRON-227
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Domenic Puzio
>            Assignee: Ajay Yadav
>              Labels: 0.2.1BETA
>             Fix For: 0.2.1BETA
>
>
> We need to change the BulkMessageWriterBolt and BulkWriterComponent to use 
> time-based flushing when writing data to Elasticsearch or Solr.
> Currently, we set a batch size, and the Writer waits for that number of 
> tuples to build up; however, Storm has a timeout value that prevents it from 
> waiting for too long. If the Writer does not get the batch size before the 
> timeout, then it recycles the tuples through the topology. In addition, Storm 
> only allows so many pending messages that have not been acked - if too many 
> messages are waiting for the bulk Writer, then it will recycle them through 
> the topology. This is not desired behavior and directly impacts the 
> performance of this Writer. We would like to be able to specify a unit of 
> time for which the topology would flush, writing the data it's currently 
> holding to Elasticsearch or Solr even if the batch size is not met.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to