Jade Concurrent Process

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Jade Concurrent Process

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:50 pm

by quanmei >> Thu, 2 Jun 2005 3:35:53 GMT

Hi,
We are developping a web based application by Jade6021 which may have 100 concurrent web sessions, We are wondering how many least concurrent process need be purchased. How or where for us to configure Jade application or hardware to achieve the 100 concurrent sessions with least CPs?

I'd very appreciated if someone can give me some advice.

Many Thanks,
Scott

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade Concurrent Process

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:50 pm

by dcooper@jade.co.nz >> Thu, 2 Jun 2005 8:57:48 GMT

As with other technologies, the distribution of web sessions/requests to web application servers/threads (in JADE terms, web apps or processes) is application and hardware dependent.

However, as an indicator, I know of a site that processes on average 3.15 web requests per second (peaks will be higher than this) from perhaps 250 to 350 concurrent web sessions, using 30 web apps spread across 3 web app server nodes (30 web apps + 3 web app server nodes = 33 process licenses in JADE 6, in addition to whatever else is running in the system). This is a large system that requires short queue depths and fast response times, and runs on grunty gear.

So in this case, they're running about 10 concurrent sessions per web app. With the normal caveat of assuming a similar application profile to hardware ratio (ie: you've got the right size gear to run your system), 10 concurrent sessions per web app is a good place to start and we'd normally expect to be able to achieve this easily. Without knowing anything about a system, it's usage profile or the hardware it's going to run on, I'm uncomfortable recommending much more than 50 (genuinely, actively) concurrent sessions per web app.

So for the example you presented, you've got a range of 2 web apps (at 50 concurrent sessions per web app) through to 10 web apps (at 10 concurrent sessions per web app), all of which we'd expect to run inside a single web app server node. If all you're running are these web apps plus a database server node (which requires one process license), that's a range of 4 to 12 process licenses (the web app server node requires a process license as well).

If this is a *new* JADE 6 license (as opposed to extending an existing one), you can purchase a Production Process Base Kit for only US$600. This gives you 10 production process licenses. Given that license and my assumptions above, you'd be able to run up to 8 web apps (8 web apps, plus one web app server node, plus one db server node), which for 100 concurrent sessions would give you a loading of 12 to 13 sessions per web app. Given appropriate hardware, I'd expect this to be a more than comfortable loading, so that's where I'd start.

Dean.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade Concurrent Process

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:50 pm

by Scott Sheng >> Thu, 2 Jun 2005 11:13:45 GMT

Hi Dean,
Thanks very much for your reply. It makes me more clear about the Web CPs. How to make the web sessions connected to web apps have a good loading balance? That is, how to make 100 web sessions to be distributed averagely via 8 web apps? Does it need any other software or any configurations about Web apps to achieve this objective or just use 8 web apps with same function but different web app name added in Jade application browser?

Many Thanks,
Scott

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade Concurrent Process

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:50 pm

by dcooper@jade.co.nz >> Thu, 2 Jun 2005 23:05:46 GMT

You don't need any other software to distribute the sessions across the web apps. JADE does this for you.

Depending on the JADE HTML mechanism you're using, have a look at one of the following white papers on the web site:

http://www.jadeworld.com/downloads/jade ... uments.pdf

http://www.jadeworld.com/downloads/jade ... EForms.pdf

The first one relates to JADE's HTML Documents framework, which is where you build the HTML presentation externally, load it into JADE and populate the dynamic content from your JADE code. The second one relates to JADE's HTML Forms framework, which is where JADE generates the HTML for you automatically based on form definitions built using the JADE painter.

Both papers have a "Creating An HTML Thin Client Application" section that explains how to set up multiple web apps.

Dean.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade Concurrent Process

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:50 pm

by Scott Sheng >> Tue, 7 Jun 2005 5:55:31 GMT

Hi Dean,
Thanks a lot.
Can you also give me some advice on the hardware configuration for web application server with respect to the RAM requirements and processor requirements about 10 CPs for 100 sessions?

Many Thanks
Scott

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade Concurrent Process

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:50 pm

by dcooper@jade.co.nz >> Mon, 13 Jun 2005 5:36:15 GMT

Hi Scott,

Hardware configs are very much application dependent and in addition to the number of concurrent processes, what we generally want to know (at least) is the estimated database size and expected transaction/message rates.

So without knowing anything about your system and based only on the perception I have of it being small-ish with equivalently matched transaction/message rates (ie: you're not building a huge database that has to service large transaction/message rates through a small number of processes), you could start with an entry-level dual-processor (eg: say 2 x 3GHz CPUs) system with 2GB-3GB RAM. This doesn't take into account any clustering and/or hardware redundancy requirements you might have.

Also have a look at the "Environmental Considerations For Deploying JADE" White Paper on the web site:

http://www.jadeworld.com/Jade6/jade6_wh ... environcon

Dean.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 32 guests