Malaysia

Proper queuing system would have saved vaccine registration site: IT expert

Breakdown likely not due to Cloudflare set-up, says Yusseri Yusoff

Updated 5 years ago · Published on 27 May 2021 9:00AM

Proper queuing system would have saved vaccine registration site: IT expert
Yusseri Yusoff says that there could have been a host of factors that led to yesterday’s mishap – the planning and coding of the website, along with other features and applications working in the background, such as automated links with the MySejahtera app that could have added to the latency of the site. – The Vibes file pic, May 27, 2021

by A. Azim Idris

KUALA LUMPUR – A proper queuing system would have prevented the technical glitches faced by Malaysians attempting to sign up for the latest round of the AstraZeneca Covid-19 opt-in registrations yesterday, said an IT expert.

Yusseri Yusoff said he believed the errors in the Covid-19 Vaccine Supply Access Guarantee Special Committee (JKJAV) website were caused by the lack of a queueing system as a high number of users were attempting to register at the same time.

He said the breakdown of the site caused by the overwhelming number of registrations was likely not due to the configuration of the content delivery network (CDN) Cloudflare.

“It’s likely that without Cloudflare’s rate limits, the API server itself would have been overwhelmed and simply died. In that sense, it could be that Cloudflare was doing the server a favour.”

IT expert Yusseri Yusoff says the lack of a queueing system coupled with the high number of users attempting to register at the same time caused glitches on the AstraZeneca registration website yesterday.  File pic, May 27, 2021
IT expert Yusseri Yusoff says the lack of a queueing system coupled with the high number of users attempting to register at the same time caused glitches on the AstraZeneca registration website yesterday. File pic, May 27, 2021

Yusseri also said that while many netizens complained that they were not able to register due to the Captcha image tests on the site, this was not likely the main reason why they could not book their jabs.

Captcha tests are placed to determine if an online user is a genuine human user and not a bot, but he said this was redundant.  

“It looks like a classic problem that any half-baked computer science student should be able to identify, namely: what do you do when a huge number of transactions are about to be requested? You queue them, of course.

“You have to do a queuing system or have a waiting room. Essentially, it’s a way of telling users to take a number and sit down before you will be called.”

He told The Vibes that with a proper queuing system, the website could resolve the issue of handling one million transactions.

He added that although many have criticised the website and JKJAV, there could have been a host of factors that led to yesterday’s mishap – the planning and coding of the website, along with other features and applications working in the background, such as automated links with the MySejahtera app that could have added to the latency of the site.

“And you can’t just throw hardware into the matter as it might not necessarily solve the problem. We are unsure as to what the core problem is, but even if it was because of a free or paid (Cloudflare) service, they (JKJAV) would have suffered (due to overwhelming site visitors).”

Yusseri says that it is likely that without Cloudflare's rate limits, the API server itself would have been overwhelmed and simply died. – Ashvin Menon Twitter pic, May 27, 2021
Yusseri says that it is likely that without Cloudflare's rate limits, the API server itself would have been overwhelmed and simply died. – Ashvin Menon Twitter pic, May 27, 2021

He added the system simply broke down because it attempted to honour every request by users, eventually leading to a distributed denial-of-service (DDoS) occurrence.

Unlike the first round of the opt-in registrations of more than 260,000 candidates earlier this month, Yusseri said the current round had nearly one million slots to manage, and with more venues available.

On whether there was widespread use of bots to book the appointment, he said this was unlikely because programming such bots to register for the vaccination required much effort and some knowledge in scripting.

“It’s all about a cost-and-benefit analysis, really. It is not like you can use bots to sell vaccine appointments. It does not make sense to use bots for this purpose.”

Meanwhile, web architect Timothy Teoh said designing for traffic spikes is a challenge and that the litmus test for application design is dealing with traffic spikes, especially for transactional use-cases such as booking AstraZeneca appointments.

In a blogpost, he said the “overarching failure” yesterday was in the design of the database, which prevented the site from being able to handle the surge in users and transactions.

He also suggested data partitioning on the site, as architecting internet-scale databases has been a problem that has been resolved.

“Breaking your data into partitions is hard if you don’t know how the data needs to be accessed – but this was not the case here.

“There are definitely other things that could have been done – a queue system, a waiting area, etc – or not to have a booking system at all.” – The Vibes, May 27, 2021

Related News

Malaysia / 2y

Current health ailments not related to AstraZeneca vaccine, says Noor Hisham

Malaysia / 2y

Govt aware of AstraZeneca vaccine side effects when it was deployed, says Noor Hisham

Malaysia / 2y

Govt to address AstraZeneca vaccine worries this week

World / 2y

AstraZeneca Covid-19 vaccine to be withdrawn globally

World / 2y

AstraZeneca admits Covishield can cause blood clots, low platelet count

Malaysia / 2y

8.5 million doses of Covid-19 vaccine worth RM505 mil expired since June 1: PAC

Spotlight

Malaysia

Private university CFO charged over alleged RM6.56m CBT

World

Unleashed 60kg dog in Hong Kong mauls poodle, bichon frise to death (video)

Malaysia

Three family members killed after Immigration truck runs red light

Malaysia

Woman, believed to be foreigner, allegedly causes disturbance at KLIA (video)

Opinion

Has DAP chosen the path to a slow death?

Malaysia

Three years of bullying at school puts 15-year-old at risk of hearing loss

By Alfian Z.M. Tahir

Malaysia

Police officer's wife cries, pleads for leniency after misusing disabled child's account

Malaysia

Organised cybergroups likely behind rise in racial hate on social media

You may be interested

Malaysia

Immigration's 'Black Maria' driver charged with causing death of three family members

Malaysia

SC ready to regulate Tabung Haji investments if required, says chairman

By Ian McIntyre

Malaysia

I am touched by M. Kavita’s dedication – PM Anwar

Malaysia

Anwar: Malaysia’s One China policy has not changed since 1974

Malaysia

Wife of Pantai Jerejak ADUN urges court to drop case against husband

By Ian McIntyre

Malaysia

Maritime expert urges MACC to break silence on petroleum cargo commingling issue

Malaysia

MACC probe into Dr Xavier Jayakumar closed in 2024 over lack of evidence

Malaysia

Cabinet approves 17 measures to beef up KLIA security checks, controls

By Alfian Z.M. Tahir