WenyuanShao / eos

this is the eos fork of composite
1 stars 0 forks source link

the number of packets processed by each fwp run #6

Open ryuxin opened 5 years ago

ryuxin commented 5 years ago

The problem is: on one connection, if ab will send out next request when current request is finished, fwp only have one packet (request) to process (assume each fwp only handles one connection), and then go to block waiting for next request. This will bring blocking overhead to each request. Probably we need to increase the number of packets processed by a fwp before it goes to block. The better way to is issues multiple concurrent requests over each connection . At least, we could handle multiple connections by each fwp.