Wednesday, May 12, 2010

Copying full Days of Therapy, and how we keep you speedy

As a therapist, I'm sure you already use our day copying feature.  If you have a day full of therapy this week, and it's basically going to be the same next wednesday, we give you the ability to just copy all the scheduling data from one day to the other so that you don't have to go through all the work of scheduling that again.  We think it's a great help!

But here's the problem.  The average page request on our system takes a little less than 1/2 a second (that's how long it takes between when you click on something and when you get to the next page).  Because of how much data there can be when copying one day to another, that can take sometimes 7 or 8 seconds to get all the data moved.  It's a long time to have our system locked up when there are other users trying to access other pages.  So, we've worked on a comprimise that we think will give you the same copying feature, but good performance for everyone else at the same time.  Here's how it works:

Here I have a day of therapy that I want to copy:


When I click Copy Day, it takes me to this form:


I pick what day I want to copy to, (or which two days, in this case), and click Copy, and the copying is sent off to our background queue (which doesn't affect the performance on the website), while you go back to the calendar.  If you look at any of those days before the copying is complete, you'll see this message:


There you can see that the copying is still going on. You can go copy a different day or do something else on the website while this is happening.  After about 30-60 seconds, if you come back to any of those days, you'll see that the copying is done:



And everything is back to normal!

We're always looking for ways to make our website more useful (and less slow), so if you have ideas or suggestions, we'd love to hear them!  Leave us a comment and we'll get back to you letting you know what we think we can do to make your feature idea happen.

No comments:

Post a Comment