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

Business

Tycoon Vincent Tan trims BCorp stake further in RM115m share sale

Malaysia

UMNO’s solo gamble in Johor: A show of strength or risky miscalculation?

By The Vibes Says

Malaysia

Nik Aziz’s grandson allegedly slapped by senator: Father ready to take case to court

Malaysia

Lorry driver jailed a day, fined for making obscene gestures, dangerous driving (video)

Malaysia

PKR leader defends MyKhas access suspension for PJ, Subang MPs, cites ‘political choices’

Opinion

Social media set to dominate Johor polls as election kingmaker

Malaysia

Man charged in Butterworth parang attack case that left victim fearing permanent disability

Malaysia

Teen mothers must return to school, says Fadhlina as education remains priority

Malaysia

Penang water tariffs to increase from July 1 after year-long deferment

You may be interested

Malaysia

Press conference cancelled as MB has 'important business'

Malaysia

Former head of a ministry's corporate communications unit acquitted of bribery charge

Malaysia

Police capture wanted organised crime suspect in cross-border operation with India and Thailand

Malaysia

Nik Aziz’s grandson allegedly slapped by senator: Father ready to take case to court

Malaysia

Lorry driver jailed a day, fined for making obscene gestures, dangerous driving (video)

Malaysia

TNB central to Malaysia’s “just transition” as AI boom drives energy demand surge

Malaysia

Cops dismantle 3 international fraud syndicates in Penang, arrest 32 suspects

Malaysia

MITI: Malaysia rejects forced labour claims as US Section 301 tariff proposal enters consultation phase