Open in app

Sign In

Write

Sign In

Adela Chao
Adela Chao

9 Followers

Home

About

Jul 29, 2022

AWS — Aurora DB Cluster

Amazon Aurora is a relational database management system (RDBMS) built for the cloud with full MySQL and PostgreSQL compatibility. It is a proprietary technology from AWS. Here are some of its significant features: Aurora get 5x performance improvements over MySQL on the RDS, 3x the performance of Postgres on RDS. …

Aurora

3 min read

AWS — Aurora DB Cluster
AWS — Aurora DB Cluster
Aurora

3 min read


Jun 9, 2022

Basic Docker commands

docker build -t [image tag] Build a new image, and give this image a tag name. docker run [image id or image tag] Create and start a container by image id or by image tag.

Docker

2 min read

Basic Docker commands
Basic Docker commands
Docker

2 min read


May 12, 2022

A quick look at Data Lake

The idea of data lake is, instead of using a formal database, we just throw all the raw data (could be log files, csv for JSON files, etc.) into a big data repository, that’s what we call a data lake. It’s a common approach for big data applications. AWS S3 + Glue + Athena For example…

Data Lake

1 min read

Data Lake

1 min read


May 10, 2022

System Scalability — Database failover strategy

We have talked about the scaling for web servers. System Scalability — Web servers As business grows, we are preparing our application to be able to handle significant traffic increase, like millions of…adelachao.medium.com In this article, we will look at the scaling of database. Cold standby — periodically backup We have a primary database running, and a standby database idling sideway. Periodically backup the primary database and save the backup file somewhere, for example, AWS S3.

Failover

2 min read

System Scalability — Database failover strategy
System Scalability — Database failover strategy
Failover

2 min read


Published in AWS Tip

·May 2, 2022

AWS — Sending real-time CloudWatch log events to Kinesis stream

In this article, we use a subscription to get access to a real-time feed of CloudWatch log events and have it delivered Kinesis stream. When log events are sent to Kinesis, they are base64 encoded and compressed with the gzip format. Prerequisite : CloudWatch log group/stream/event This article uses the test log group created in…

AWS

3 min read

AWS — Sending real-time CloudWatch log events to Kinesis stream
AWS — Sending real-time CloudWatch log events to Kinesis stream
AWS

3 min read


May 2, 2022

AWS — Sending CloudWatch log event from Lambda (node.js)

This article is to introduce how to send CloudWatch log event from Lambda function to a specific log stream. A log event is a record of some activity recorded by the application or resource being monitored. A log stream is a sequence of log events that share the same source. …

AWS

3 min read

AWS — Sending CloudWatch custom logs from Lambda (node.js)
AWS — Sending CloudWatch custom logs from Lambda (node.js)
AWS

3 min read


Apr 18, 2022

Radix Sort — JavaScript implementation

Radix sort does not compare numbers, instead, it takes advantage of number’s property, e.g. length, to fast sort numbers without having to do comparison. Given a list of numbers Find the maximum length among all numbers, that is, the largest number’s length Start a loop from 0 up to the…

Radix Sort

2 min read

Radix Sort

2 min read


Apr 10, 2022

Quick Sort — JavaScript implementation

The idea of quick sort is Given an array, recursively splitting the array by a pivot, that is, – all values less than the pivot value are moved to the left of pivot – all values greater than the pivot are moved to the right of pivot – until the array to…

Quicksort

1 min read

Quicksort

1 min read


Mar 26, 2022

System Scalability — Web servers

As business grows, we are preparing our application to be able to handle significant traffic increase, like millions of requests coming at the same time. Single Server = Single point of failure A single server architecture may be good enough for simple purpose which doesn’t get much traffic, for example, a personal website, a marketing website for…

System Scalability

3 min read

System Scalability — Web servers
System Scalability — Web servers
System Scalability

3 min read


Mar 31, 2021

Graph Topological Sort — Kahn’s Algorithm

In another article (Graph Topological Sort — JavaScript implementation) I implement topological sort using DFS, here is the implementation of Kahn’s Algorithm, inspired by this tutorial video: Kahn’s Algorithm Repeatedly remove vertices without any dependencies from the graph and add them to the topological ordering array When one vertex is removed…

JavaScript

2 min read

Graph Topological Sort — Kahn’s Algorithm
Graph Topological Sort — Kahn’s Algorithm
JavaScript

2 min read

Adela Chao

Adela Chao

9 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech