[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-swt-dev] multiple swtBrowsers don't increase the throughput?
- From: Yuhan Zhang <yzhang@xxxxxxxxxxxxx>
- Date: Fri, 2 Dec 2011 19:01:00 -0800
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onescreen.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DTKZGP1Dcl2mPJbVh44IoiPneqawgtlhgmS9u6hGNEw=; b=i9N8IvAKyBoqr8l4lEjkmlnXAtRVdFvTUfmdaHyNwNn3t7D5CE2nolaWa4GmYr2ss6 BvK4GZNIXIjqdnspsO3fMDsCDCt/BPYxMIBzAH3vGdfURz7UtPGBpxx8HHD41l/zyMZr uqiBy348FAgBZS0FX6zHfWzNy6nxLWzPRBGTI=
I'm using swt version 3.7.1
On Fri, Dec 2, 2011 at 6:59 PM, Yuhan Zhang <yzhang@xxxxxxxxxxxxx>
I'm using SwtBrowser to load html pages in a loop, each page is given 10 seconds of time to load.
I'd like to increase the throughput by adding additional SwtBrowsers, each of which resides in a different
process (and is assigned with a different Xvfb screen buffer).
I have 5 processes running. supposedly it would be a lot faster. However, it looks like the total throughput
stays around the request period, as urls are processed at about a 10 seconds period. It makes me feel that
one browser is blocking the others when it is at work and cannot load two urls in parallel (shouldn't be a
thread issue, as they live in different processes). Is this true? or it is more likely that I did something wrong?