storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Patil <>
Subject Re: How to achieve throttling in storm ?
Date Tue, 28 Feb 2017 09:10:58 GMT
Hi Amber,

TOPOLOGY_MAX_SPOUT_PENDING is just a pipe width, open it with very small
value, obviously you will get less throughput with that, keep increasing it
till you achieve desired throughout (obviously you will need to
tune parallelism for bolts as per observed capacity). There is nothing like
ideal value for TOPOLOGY_MAX_SPOUT_PENDING, it all depends on how
much parallelism you have per worker.


On 28 February 2017 at 11:47, Amber Kulkarni <>

> I have a topology which reads data from Kafka and performs some
> actions(service calls). How do I ensure that service is hit with a
> certain QPS ?
> Setting TOPOLOGY_MAX_SPOUT_PENDING means that there are that many
> tuples which are not acked or failed.
> So Say that I need to throttle at 20 QPS what is the ideal value for
> TOPOLOGY_MAX_SPOUT_PENDING. Also will this approach work ?
> Thanks,
> Amber Kulkarni

View raw message