Trần Huy

Trần Huy

Build CDN for a global scale system

Some basic questions about CDN and what for 1. What are the seven requirements of end users that relate to Content Networking? The seven requirements of end users that relate to Content Networking are performance, availability, anonymity, ubiquity/accessibility, security, privacy, and personalization/relevancy. 2. What are the nine requirements of service providers that relate to Content […]

Đọc tiếp →

Use Design Patterns in developing an ios application or any system

There are around 21 design patterns and categorize in 3 categories that we will mention here First, just have a look at the list and categorize it Creational patterns: Creational patterns support the creation of objects Singleton pattern Builder pattern Factory pattern Abstract Factory Pattern Prototype Pattern Structural patterns: Structural patterns concern class and object […]

Đọc tiếp →

Build a system for global scale: basic theory

If you are trying to build a system and try to scale it globally, sell your product all over the world, you will need a collection of rules that are implemented in design and code. In this article, we will make clear some basic knowledge on how to build an system able to scale globally […]

Đọc tiếp →

HAPROXY IN USE

What is this article about ? What is HAProxy ? Install HAProxy Configure the load balancer Use HAProxy to balance Websocket traffic Use HAProxy to configue backup server HAProxy algo Use HAProxy to Observe all requests for errors Use HAProxy to Monitor for server downtime Use HAProxy to send logs to syslog Separating errors into […]

Đọc tiếp →

Use VIM for coding

Vim for coding

What is in this article about vim? Some Basic knowledge and keyword to use VIM Basic search in document with VIM Basic select text and block with VIM Basic copy and paste with VIM Basic moving in VIM Copy and paste in vim over ssh with X11 forwarding Replace content with VIM Replace content with […]

Đọc tiếp →

Docker on Centos

Using Docker Machine, we can set up Docker hosts on local systems, on cloud providers, and other environments very easily. We’ll cover that in a different recipe. How to To Install Docker on centos $ yum -y install docker How it works… The preceding command will install Docker and all the packages required by it. […]

Đọc tiếp →