Package Call Consolidation
In our most recent release of the ISP-in-a-box software, Jack, one of our developers, has consolidated all calls related to packages. As mentioned in a previous article, many of the features in the client require multiple server “calls” in order to retrieve required information to execute a task. The package listing and editing functionality was especially brutal in causing a long load time due to the possibility of a near-infinite number of packages with their coupled services. The “Automated Actions,” “Activate email account,” and “Send email” made several server calls, which also increased the time it took to add a package to a subscriber.
I would like to demonstrate how much time has been saved, and why, by combining these calls. For the sake of simplicity, let us assume that each server call takes one second to return from the server and the additional bandwidth from the extra server calls is negligible and doesn’t increase the time of the first call when combined. Adding a package used to take 11+ server calls, depending on how many packages your ISP has created. The “Activate email account” Automated Action took 12 server calls (if selected) and the “Send email” Automated Action took 3 server calls (if selected). Adding a package now only takes 1 call, a reduction in load time of 10+ seconds. Activating an email account has been reduced to 1 server call, a reduction in load time of 11 seconds. Sending an email has been reduced to 1 call, a reduction in load time of 2 seconds. There is another, final server call which updates the subscriber on your client with this new information. That is a minimum of 84% savings in load time.
Incidentally, the ISP Configuration window, specifically the “Packages” tab, has benefited from this consolidation. The window itself should load much faster. The Packages tab should be much more responsive. In our next release of the ISP-in-a-box software all of this will be threaded, further enhancing your package handling experience.
“84% savings in load time”