David Smith
2015-08-07 13:31:21 UTC
I have a web crawler that crawls as many different websites as possible at
once. In this case, an async web client like aleph is perfect. My
question is, how many connections will aleph allow me to have at the same
time? Where is this limit set in the code? For the sake of the rest of
the system, I would like as few connections as possible to take all the
network bandwidth, I don't want to be trying to open new connections when
there is no bandwidth and so have a load of stuff queueing up inside
aleph/netty. Are there any ways to block creating a new connection until
there is sufficient resources for a connection to be worthwhile or is this
something that has to be set once in config and uses trial and error to get
right?
Thanks,
David.
once. In this case, an async web client like aleph is perfect. My
question is, how many connections will aleph allow me to have at the same
time? Where is this limit set in the code? For the sake of the rest of
the system, I would like as few connections as possible to take all the
network bandwidth, I don't want to be trying to open new connections when
there is no bandwidth and so have a load of stuff queueing up inside
aleph/netty. Are there any ways to block creating a new connection until
there is sufficient resources for a connection to be worthwhile or is this
something that has to be set once in config and uses trial and error to get
right?
Thanks,
David.
--
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.