Trần Huy

Trần Huy

Return First

REFERENCE https://dev.to/aurelmegn/setting-up-distributed-database-architecture-with-postgresql-261 https://www.postgresql.org/docs/9.5/sql-createforeigntable.html https://www.postgresql.org/docs/9.3/ddl-foreign-data.html

Đọc tiếp →

Build for global scale: distributed database

A distributed database is a database in which data is stored across different physical locations. It may be stored in multiple computers located in the same physical location (e.g. a data centre); or maybe dispersed over a network of interconnected computers. Some basic information and keyword Master server Slave Server Foreign Table Config file location: […]

Đọc tiếp →

Build for global scale: why to choose go lang ?

If you surfering the internet with the keyword “why choose golang” , you might go to a short brief why most people choose go lang for their project Five reasons to start with Golang include: + Golang is advanced and reliable, offering great built-in ways to handle errors. + It is efficient, compiling down to […]

Đọc tiếp →

Build for global scale: postgres vs mongodb vs mysql vs redis

SQL Server vs PostgreSQL Comparison Table Here are some of the Comparison: The Basis Of Comparison  SQL Server PostgreSQL Basic Difference SQL server is a database management system which is mainly used for e-commerce and providing different data warehousing solutions. PostgreSQL is an advanced version of SQL which provides support to different functions of SQL […]

Đọc tiếp →

RestAPI with GO

What is in this article ? In this artivle, we’ll try to build a bookstore REST API that provides book data and performs CRUD operations. Let’s start by initializing a new Go module. This will enable us to manage the dependencies that are specifically installed for this project. <pre> Note: you can use the command […]

Đọc tiếp →

Webserver with nginx and apache

What is in this article ? How to install nginx on centos 7 Some of the basics of NGINX as a refresher Logging, explains that monitoring for errors and access patterns are fundamental to running a server. Rewrites, covers how rewrites work and also specific implementations of many of the common scenarios. It will be […]

Đọc tiếp →

Build for global scale : message broker with rabbitMQ and MQTT

What is in this article ? Install rabbitMQ server Connecting to a broker Producing messages Consuming messages Broadcasting messages Guaranteeing message processing Distributing messages to many consumers Using message properties Messaging with transactions Handling unroutable messages Install rabbitMQ server on centos7 You can see a download list here https://www.rabbitmq.com/install-rpm.html#downloads Some basic step to install can […]

Đọc tiếp →

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 →