Feature Incorporated: Improve Speed for Skipper Edit Assignments by Event

If you have a suggestion for a new feature or modification, please post in this forum.
Post Reply
User avatar
admin
Site Admin
Posts: 308
Joined: Fri Dec 28, 2018 11:51 am
Location: Portsmouth, RI
Contact:

Feature Incorporated: Improve Speed for Skipper Edit Assignments by Event

Post by admin »

Dan Corcoran of J/109 Strider reported delays up to 36 seconds for the screen to update when changing or adding crew assignments on the Skipper Edit Assignments by Event menu option. This occurred both on mobile and desktops and different browsers. The final information saved & displayed was correct, but took a long time after clicking the Submit button.
Crew Manager Administrator
Image
User avatar
admin
Site Admin
Posts: 308
Joined: Fri Dec 28, 2018 11:51 am
Location: Portsmouth, RI
Contact:

Feature Incorporated: Improve Speed for Skipper Edit Assignments by Event

Post by admin »

The speed issue Dan described is real for sites that have many crew members with many events. The software was written with nested loops that iterated each crew member checking for changes on every event. Unfortunately this increased processing requirements exponentially as more crew and events were added.

Software release 2.10.0 was rolled out to all sites on 8 July 2020 to speed up the processing. There is no change to the user interface as everything happens behind the scene. The software was rewritten to post all changes into arrays, then compare the arrays before submission and after submission, resulting in a difference array being generated. The updates to the database are performed on the difference array, then the screen is updated. This reduced the 36 second processing and screen update time to 4 seconds.
Crew Manager Administrator
Image
Post Reply