Just by way of closure, I did test using a Connection Pooling temporary license (which took a while, as I ended up having to whitelist Rocket's DNS hostname to enable Deactivation/Activation).
Testing a batch of 110 consecutive calls, it took just a few seconds (after waiting three seconds for the initial connection). This would have taken more than five minutes with the original non-CP license. So I was very pleased with the result.
I had anticipated upgrading all three of our sites (D3 Servers) if I was happy with the results, but these CP licenses aren't cheap. So I've purchased for just one site, and am now using Super Q Pointers for communication between servers, which for our purposes is a perfectly good workaround for a more-economical outcome.
Thank you everybody for your assistance on this topic - all of your comments and suggestions were very helpful.
------------------------------
Simon Hawkins
Group General Manager
Canberra Raiders Group
Queanbeyan NSW AU
------------------------------
Original Message:
Sent: 08-06-2022 21:28
From: John Jenkins
Subject: MVS Response time
If using Connection Pooling it is important to make the server code transactional and stateless as it will not have any 'memory' of prior usage. The rules are:
- Do not have any expectations on first invocation - the connection pool server process will be a 'tabula rasa' - i.e. blank.
- Leave the connection pool server process in the state in which anyone else would want to find it, leaving nothing behind - e.g. record locks.
- If you need to have commonly re-used shared objects such as file handles that are opened once and once only and the kept open then put these in specific COMMON block variables and use program logic and matching boolean flags in COMMON so that they are opened once and once only. These will persist on the connection pooling server process and can be re-used by subsequent invocations. You can use one of two approaches here:
- Open all files on first invocation in case needed - this simplifies logic a little but at the expense of a potentially significant delay if a lot of files are opened in one fell swoop.
- Only open a file as it is needed by the application - this is generally a better approach if not all calls to a connection pooling process require all the files.
Connection Pooling is a useful feature, though be aware that the client-server relationship is no longer based on a dedicated server process and a one-to-one relationship with a specific client process, but on a many-to-many freely shareable process basis.
Regards
JJ
------------------------------
John Jenkins
Thame, Oxfordshire
Original Message:
Sent: 07-13-2022 22:40
From: Simon Hawkins
Subject: MVS Response time
We run Windows D3, and utilise MVS Toolkit extensively. It's a very stable and useful product, but there is always a three-second timespan between the request and response within the server (shown in the log).
Does anyone know of a way to reduce this time, as it can make things quite slow when numerous requests are made? It doesn't seem to be a network-related issue.
Many thanks in advance.
------------------------------
Simon Hawkins
General Manager
Queanbeyan Leagues Club
Queanbeyan NSW AU
------------------------------