Monday, May 20, 2019

NodeJS Error Handling

From StackOverFlow:  From NodeJS Document:   JavaScript language: Dynamic language, một biến có thể nhận giá trị các kiểu khác nhau ngay cả khi đã khởi tạo....

Redshift

Tool: https://app.jackdb.com   2. Copy data from S3 copy supplier from 's3://us-west-2-aws-training/awsu-spl/redshift-quest/supplier/supplier.json' CREDENTIALS 'aws_access_key_id=<YOUR-ACCESS-KEY-ID>;aws_secret_access_key=<YOUR-SECRET-ACCESS-KEY>' lzop delimiter '|' COMPUPDATE ON manifest; Check collum:   3. Debug select * from stl_load_errors; // Create view create view...

Protected: Simple image processing util

Simple image processing utility  

UNDERSTAND DYNAMODB

WHAT IS DYNAMODB? Read Unit: 4K, Write Unit: 1KB Requirements: 1000 4KB Item write/second >= 4000 Write Unit/second Avoid hot spot area: Limit: maximum record...

Adminstering RDS for SQL Server

Task: + Create DB instance + Scale DB + Access DB + Perform migration of large data to RDS   + DB backup + Recover from backup + Configure Cloudwatch to monitor...

Tool List for performance profile

https://s3-ap-southeast-1.amazonaws.com/kipalog.com/blob_glf97y7vzc  
video

How to increase upload file size limit for WordPress running on PHP-FPM and Nginx

I am running some Wordpress blogs on Ubuntu LTS server, with Nginx and PHP-FPM, it is really fast and using Nginx caching capabilities incredible...

Protected: SQL Anti Pattern

DB 만지는 분들만 공유할 까 하다가 생각보다 DB에 쿼리 날리시는 분들이 많은 것 같아 개발팀 공유드립니다. 아래 두 쿼리의 차이점은 무엇일까요? ㅎㅎ 1) select *...

Protected: Building Scalable Web Applications with AWS Elastic Beanstalk – Linux

Using git and AWS CLI to deploy web application on Elastic BeanTalk Sample code: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-windows-ec2.html   Management: Blue and Green Pattern https://run.qwiklab.com/focuses/2609?locale=en S3 CLIs EC2: aws ec2 create-snapshot --description CLI --volume-id <your-volume-id> Cloud...

Solution design

1. Customize template 2. Architecture design 3. Design a view that requires data from multiple Models There are three possible approaches to solving this problem. One is...