| F l a s h C O N N E C T F L A S H C O N N E C T 1. What is the maximum number of connections allowed by FlashCONNECT? When using FlashCONNECT, there are several points at which user limits can be reached.
Issues 3 and 4 can be controlled by hardware/software, i.e. faster O/S, Web server, faster hardware. There is a maximum switching rate for the w3Agent, however, for small fast applications; we've pumped hundreds of connections per minute through the w3Agent. I suspect that in most cases the application and Web server and host O/S will choke before the w3Agent chokes. 2. How do I determine the number of licenses to use? The answer to this questions depends mostly upon how your FlashCONNECT application is designed and implemented. For purposes of this discussion the following terms need to be defined:
For applications which exclusively use persistent connections, the number of shared users is 1. For applications which use some persistent connections, count the total time from when the persistent connection starts until it ends as processing time, regardless of the number of Web pages involved in the persistent connection. Shared users = (Face Time + Processing Time) / Processing Time Licenses = Concurrent users/Shared Users * Fudge factor Examples:
An average Web page takes 1 second to generate. Before replying, the user looks at the Web page for 9 seconds. Support for 100 concurrent users is needed; a 15% fudge factor is desired. Face time, 9 seconds; Processing time, 1 second; Concurrent users, 100 users/second; Fudge factor 15%; Shared users = (1+9)/1 = 10 Licenses = 100/10*1.15 = 11.5 = 12 rounded up.
An average Web page takes 2 seconds to generate. Before replying, the user looks at the Web page for 15 seconds. Support for 200 concurrent users is needed; a 10% fudge factor is desired. Face time, 15 seconds; Processing time, 2 seconds; Concurrent users, 200 users/second; Fudge factor 10%; Shared users = (2+15)/2 = 8.5 Licenses = 200/8.5*1.1 = 25.8 = 26 rounded up. These equations are a suggestion from TigerLogic and may not be applicable to your site. TigerLogic assumes no responsibility for calculating the number of licenses needed for your site. 3. How do you determine the meaning of a connect or socket error message? If logging is enabled in the w3Agent.conf file, an error message may be written to the log file. This FAQ describes how to backtrack the error code to the appropriate man page on Linux (D3 ProPlus) systems.
4. A FlashCONNECT port dies if the FlashCONNECT program isn't catalogued when it is used.
5. How is caching of forms allowed? Or, sometimes when I go back to a FlashCONNECT generated Web page the browser presents a "Data Missing" message?
call w3HtmlInit("background", w3HtmlFormCache)
For the FlashCONNECT 1.x releases, use w3HTMLPragma to change the form's pragma before using w3HTMLInit to initialize the background. For example:
6. If logging is turned off in the w3Logs.control file, the next process which attempts to log an entry in that log file, locks the w3Logs.control item and never releases it. All later processes attempting to access the log file hang on an item lock.
7. After I install FlashCONNECT the D3 programs don't start. This problem has several causes: Cause 1: Failure to update the www account md after doing the account-restore and before logging to the www account for the first time.
Cause
2: FlashCONNECT is not activated.
Cause 3: Insufficient D3 licenses.
8. How can I use FlashCONNECT from within JavaScript to perform pre and post field processing? The following line of JavaScript shows running a FlashCONNECT application and optioning the results from JavaScript. A line such as this can be embedded within JavaScript methods and used as needed within a Web page.
top.content.body.document.location = "http://"+ hostname
+ 9. How can you start FlashCONNECT as an arbitrary user? The following program starts a child program as phantom running in a specified account as a specified user, then runs a specified command.
Usage: parent-program data Parent program:
Program
called test which exists in the target
10: My FlashCONNECT connection dies after a period where it isn't being used. All reported instances of this problem have been related to one or more the following:
11. What development guidelines do you have? While we cannot provide design information specific to any application, the following comments are available. General comments:
Web page design comments:
Program design comments:
For more assistance:
12. What are common administrative problems? The
most common problems can be resolved by:
13. When the logon screen is displayed rather than seeing the label "User name" or "Password", "Message 19 was not found" is displayed. Most of the messages displayed by FlashCONNECT are read from the system Messages files. When FlashCONNECT is installed these messages are copied from the w3Messages file to the system Messages file. For the FlashCONNECT 1.1, 1.2, 2.0, and 2.1 releases, this can be done manually by running the following commands from TCL in the www account: D3
Unix releases:
D3
NT releases:
|
