Reference https://www.raywenderlich.com/5370-grand-central-dispatch-tutorial-for-swift-4-part-1-2#toc-anchor-006
Reference https://www.raywenderlich.com/5370-grand-central-dispatch-tutorial-for-swift-4-part-1-2#toc-anchor-006
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 […]
The theory Job A: 5 sec Job B: 6 sec Job C: 7 sec So, to handle job A,B,C we need 5 + 6 + 7 = 18 sec How to improve it ? You can do all job asynchronous So, all to job will be executed at the same time How to do it […]
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 […]
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 […]
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. […]
## Ref Building an API Gateway using Node.js https://github.com/motiv-labs/janus https://dev.to/alombarte/an-api-gateway-is-not-the-new-unicorn-2kk2
What is this article about? Import Debug Variables and Declarations Function Declarations Data Type Structure, enum, class Maps, Arrays and Slices Interfaces Concurrency Pointer How to create a routes ( Storing routes, static routes, dynamic routes, Forwarding routes… ) Working with web handlers, requests, and ResponseWriter instances: parse request data, response JSON Making a middleware […]
What is in this article in summary? + Install postgreSQL on centos 7 + Secure your database connection via ssh tunnel + Some basic guide on psql prompt (How to Switching Over to the postgres Account on server, exit postgres back to linux command prompt, Create a new role, Set password for postgres account, Create […]


