query regarding Configuration values permitted for bolt

55 views
Skip to first unread message

Richards Peter

unread,
May 26, 2012, 5:32:40 AM5/26/12
to storm-user
Hi,

I was going through this page:
https://github.com/nathanmarz/storm/wiki/Configuration

I could see four parameters which could be overridden per spout/bolt
basis. Among them I suppose "topology.max.spout.pending" is applicable
only for spouts.

If the answer is "yes", can you tell me whether it is possible to have
a similar parameter for bolts also which could prevent it from
overflowing the queue(zeromq) or buffer(maintained in the target bolt
code by the programmer) due to slow rate of processing the tuple in
the target bolt. I am aware about the message passing system of storm
with zeromq. But I guess my second case where we use buffer is
significant.

Thanks,
Richards Peter.

Richards Peter

unread,
May 26, 2012, 5:34:40 AM5/26/12
to storm-user
Hi,

My mistake: I am not aware about the message passing system of storm
with zeromq.

Richards Peter.

Nathan Marz

unread,
May 26, 2012, 5:27:04 PM5/26/12
to storm...@googlegroups.com
Yes, topology.max.spout.pending is overridable per spout, and yes, having that kind of backpressure feature would be nice. You should open up an issue for this on GitHub.
--
Twitter: @nathanmarz
http://nathanmarz.com

Richards Peter

unread,
May 27, 2012, 12:19:07 AM5/27/12
to storm...@googlegroups.com
Thanks Nathan,

That will be a great feature.But I don't have privileges to create issues.

Richards Peter.

Richards Peter

unread,
May 29, 2012, 5:42:44 AM5/29/12
to storm...@googlegroups.com
Hi Nathan,

I have one more suggestion about this feature. Can you make this value available to all the components in the topology?

That is if the topology looks like this:

S1 -> B1 -> B2 -> B3

B2 should be able to figure out how many unacked tuples can be captured from B1 and B3 should be able to figure out the same figure from B2.

Thanks,
Richards Peter.

Nathan Marz

unread,
May 29, 2012, 6:04:30 AM5/29/12
to storm...@googlegroups.com
Sorry... what value?

Richards Peter

unread,
May 29, 2012, 6:21:16 AM5/29/12
to storm...@googlegroups.com
The parameter similar to "topology.max.spout.pending"(as in Spout) which is planned for bolts.

Thanks,
Richards Peter.
Reply all
Reply to author
Forward
0 new messages