February 12, 2020

Using AWS as infrastructure for high traffic “9999 Tet”

Partner name: Rikkeisoft Co., Limited

Case study: Using AWS as infrastructure for high traffic “9999 Tet” application

Scope of work: Development, deployment and maintenance

OS: Amazon Linux

Database: MySQL

AWS services: Amazon Elastic Beanstalk, Amazon EC2, Amazon RDS for MySQL, Amazon S3, Amazon Elastic Load Balancing, Amazon ElastiCache for Redis, Amazon CloudFormation, Amazon CloudWatch, Amazon Route 53

 

Customer information:

Customer name: AIC Joint Stock Company

Industry: Non disclosure

Number of employees: more than 1200

Founded year: 2005

System URL: https://api.tetvietaic.com/api/appstatus

 

Customer requirement:

Our customer, AIC Group had a plan to make an application for Vietnamese users in the event of Chinese new year in Vietnam, also known as Tet. Rikkeisoft was contracted for the whole design – development – deployment and maintenance services. “9999 Tet” was designed to be an all-in-one application, providing information on Tet in various categories such as culture, entertainment, spirituality, traffic, medical and shopping etc.

Due to the nature of the application, it was expected to have surge traffic during the period around the New year Eve. For example, this application especially had a feature called “Lucky Money Shake” where users can shake their mobile devices to receive lucky money in the form of gift cards during New year Eve. After Tet, traffic was expected to drop significantly.

AIC wanted a flexible solution for infrastructure that can automatically scale up during peak times, and scale back to normal load afterward. Security wise, desired solution must be robust against malicious attacks. On the other hand, solution must not require too much human effort to monitor and maintain.

 

Our proposed solution:

Due to the nature of our customer’s business, AIC has been relying on physical infrastructure; however, we realized that in this scenario a cloud based approach would be more time and cost-effective as there would be only 1.5 month for the whole development and release process. Hence, we proposed AWS as the provider for infrastructure thanks to its scalability and flexibility.

The backend was developed in Python Django as a standard web application, thus AWS Elastic Beanstalk was used to streamline the deployment process. For auto-scalability, we proposed using AWS CloudWatch to monitor load and AWS Autoscaling to manage clusters of AWS EC2. AWS LoadBalancer was proposed to connect to those clusters.

For data storage, we proposed combinations of three services:

  • AWS ElasticCache for application caching.

  • AWS RDS for database. In our case, RDS MySQL cluster was proposed with active replica configuration.

  • AWS S3 for storage and distribution for media including published content and user generated content and assets such as plugins or static contents.

For security, we proposed VPC to isolate private (dev environment and nodes running CMS) and public networks (nodes for application API).

AWS Route 53 was also proposed for domain name management.

 

Result:

During peak hour, we increased ElasticCache to boost performance as most users were requesting the same content. After the event, ElasticCache was scaled down to a smaller instance to save cost.

There was no reported incident of server overloading during the period around Chinese New Year.

The application served more than 1 millions users and performed well during Tet.

  • More than 1 millions app installations on Google Play Store and Apple Store

  • More than 8000 users online during peak time

  • More than 1.2 millions of transactions of Lucky Money Shake.

 

Customer feedback:

Our customer was happy with our solution based on AWS infrastructure, in terms of both quality of service and cost effectiveness.

This project was the first experience of AIC with AWS and considered as a success, which would lead to more use cases in the future.

 

Duration of project: 1.5 month

 

System architecture:

 

More From Newsroom

January 27, 2023

Rikkeisoft to Establish RKTech, our 1st US Subsidiary

In February 2023, Rikkeisoft are proud to introduce our first footprint in the US market with the opening of RKTech – a US company 100% owned by us. Providing our services to businesses in the world’s largest IT market, RKTech Corp. – our US subsidiary – will help us leverage Vietnamese values globally. Our US […]

December 27, 2022

2022 Year in Review: We Breakthrough

Rikkeisoft celebrated its 10th anniversary with remarkable milestones. After one decade of striving for excellence, the company proudly reached 1,600 IT talents and delivered over 1,000 projects for domestic and international clients. We have 08 offices worldwide, with 02 newly-opened branches in Hue City – Vietnam, and Fukuoka – Japan.  Our technology ecosystem is expanding […]

November 1, 2022

Rikkeisoft won Silver at Information Technology World Award 2022

As one of the few Vietnamese enterprises honored at IT World Award 2022, Rikkeisoft has once again proven that Vietnam’s technology quality and services are up to the world’s standard. Rikkeisoft has officially won Silver in Information Technology Products and Services category for Large Enterprises. The award is evaluated on the criteria of business operation […]

October 14, 2022

CHAIRMAN OF RIKKEISOFT IS ONE OF THE OUTSTANDING ENTREPRENEURS OF VIETNAM 2022

Co-founder and Chairman of Rikkeisoft, Mr. Ta Son Tung, is the youngest entrepreneur among 60 Outstanding Entrepreneurs in 2022, honored on October 12. The award is evaluated based on the process of starting a business, bravery, willpower, creativity to overcome difficulties, national pride, and especially entrepreneurial ethics (creating economic values for society, complying with the law, […]

October 10, 2022

Rikkei Digital was honored at the Vietnam Digital Transformation Awards 2022

On October 9, Rikkei Digital (a subsidiary of Rikkeisoft) was honored in the category of typical digital transformation products and solutions for businesses. Passing nearly 400 records, the Jury evaluates Rikkei Digital’s solutions for quality, relevance, and application results. As a subsidiary of Rikkeisoft, taking advantage of the digital transformation context with businesses, Rikkei Digital […]

September 19, 2022

TITAN HUNTER IS ‘THE NEW STAR’ AT TOKYO GAME SHOW 2022

Titan Hunters, one of the potential game blockchain of Rikkeisoft, successfully attended Tokyo Game Show 2022 (TGS 2022)  from September 15 to 18. During the expo, the project received more than hundreds of visits, organized two talk shows about GameFi. The project’s presence at TGS 2022 has renewed the vitality of GameFi in public eyes […]