>Does "each thread gets the next entry in the log" mean each of the 100 threads will generate 10,000 requests? No - this will do what you want. It means the file is shared and if thread 1 reads line 1 then the next thread will read the next entry (i.e. line 2)
regards deepak On Thu, May 10, 2012 at 3:57 PM, James Musselwhite < [email protected]> wrote: > Hello > > I'm unsure how to interpret this statement > "The TCLogParser processes the access log independently for each thread. > The SharedTCLogParser and OrderPreservingLogParser share access to the > file, i.e. each thread gets the next entry in the log." > > For example, let's say I have 100 threads and 10,000 entries in a log. What > I want is to generate 10,000 requests split between the 100 threads. I > don't want each of the threads to generate 10,000 requests. > > Does "each thread gets the next entry in the log" mean each of the 100 > threads will generate 10,000 requests? > > And what does "processes the access log independently for each thread" mean > exactly? Is that what I want? > > Thanks >
