Edmonton

How 3 brothers solved a tech glitch that was crashing Alberta's COVID-19 vaccine booking tool

Within minutes of its 8 a.m. opening Wednesday, the Alberta system allowing seniors to book for the COVID-19 vaccine had crashed. By noon, a trio of Edmonton brothers had figured out the problem and posted a solution to help others sidestep the glitch.

Like many others, the Mathewsons were keen to get their grandparents vaccinated

Kory Mathewson, right, with his grandparents Mufty and Bill Mathewson. He helped find a solution to a glitch in Alberta's online booking system for COVID-19 vaccine appointments. (Supplied by Kory Mathewson)

Within minutes of its 8 a.m. opening on Wednesday morning, the Alberta system allowing seniors to book for the COVID-19 vaccine had crashed.

By noon, a trio of Edmonton brothers had figured out the problem on the website and posted a solution on Twitter to help others sidestep the glitch.

The issue, according to Kory Mathewson, a research scientist with Google's DeepMind Technologies, was attached to one of the first steps of the form asking for a postal code.

"When you put in your postal code, it was trying to figure out the closest vaccine location to where your postal code is, but that's a difficult computing science problem," Mathewson told CBC Radio's Edmonton AM on Thursday.

"So we said, 'OK, what if it doesn't need to be the closest one? What if you just kind of get on to the next step and then book whatever sort of clinic you choose is the closest one to you.'"

According to Kory Mathewson, this field asking for a postal code was the weak link in the Alberta online tool to book appointments for the COVID-19 vaccine. (Kory Mathewson/Twitter)

Mathewson, who got his PhD in computing science from the University of Alberta, was alerted to the problem by his older brother, who — like many Albertans — was trying to book appointments for their grandparents. 

Ky Mathewson, an assistant professor of psychology at the U of A, had secured an appointment for their grandmother Mufty Mathewson, but when he went back to book his grandpa Bill, he "ran into a bit of quicksand on the online form.  

"It really slowed down to a crawl," Kory Mathewson said. "He tried to debug it … then he called in me and our younger brother."

Brothers collaborate to find solution

In short order, the brothers Mathewson — Kory in Montreal, Ky in Edmonton and Keyfer in Ottawa — diagnosed the problem, debugged it and deployed the solution.

"There was a small weak link in the chain. And I had an idea that I might remove that weak link and then reconnect the chain and then see if we could get onto the next step. And it worked. I booked my grandfather," Mathewson said.

"It was just kind of jumping over that one step that was slowing everything down." 

He shared the solution — which involved adding some code into the JavaScript developer console — with a friend, who confirmed that it worked. Then they shared it with a few other people, who also were able to book appointments.

"It was working for everybody. And we thought, 'OK, well, we've got to get this message out there.'"

That's when the brothers started sharing the instructions on Twitter — and quickly began hearing from grateful Albertans who'd used it successfully.

"Kory, your knowledge and help today, with booking these appointments has probably helped save the lives of many seniors," one Twitter user wrote. "People who have been isolated, lonely, and struggling for a year. THANK YOU!!!"

More than 70,000 vaccine appointments booked

An estimated 230,000 seniors age 75 and older were eligible for the vaccine when bookings opened up Wednesday morning. Seniors who are residents of public long-term care and designated supportive-living facilities have already received them.

In addition to the website issues, the 811 HealthLink phone line was flooded with calls.

On Thursday morning, AHS said that more than 72,000 Albertans had made appointments to be immunized, and that the online booking tool had stabilized.

Mathewson said the sheer size of a cohort that is so motivated to be vaccinated was an unavoidable part of the issue.

"What could I do for my grandparents who I haven't been able to see for a year? Finally, I can get on and do something. I can book them an appointment!" he said, describing the motivation that swept across the province Wednesday morning. 

Developers are working on new technologies that would prevent a website being overwhelmed by users, such as queuing people in a holding area. However, he said, these types of software solutions are challenging.

"Being able to estimate how many people are going to hit something not just per hour, but per minute, is a pretty tricky situation," he said.

However, reducing the size of the cohort — for example, by only allowing people born in a certain month or certain year to book at a given time — presents an equally difficult challenge in communicating the details in a manner that everyone understands, he added.

"It's a balancing act trying to get everyone through the system," he said.

"And, you know, people have lives. People are doing things. My grandparents, you know, I booked their appointment and I said, 'I hope this time works for you.' And my grandmother said, 'Well, jeez, we had to cancel puzzle time.'"

Add some “good” to your morning and evening.

Your daily guide to the coronavirus outbreak. Get the latest news, tips on prevention and your coronavirus questions answered every evening.

...

The next issue of the Coronavirus Brief will soon be in your inbox.

Discover all CBC newsletters in the Subscription Centre.opens new window

This site is protected by reCAPTCHA and the Google Privacy Policy and Google Terms of Service apply.