Docker-Compose one-click deployment of Ningx+Asp.net core site+Redis

Docker-Compose manages multiple Docker containers through a configuration file, defines services in the configuration file, and then uses scripts to start, stop and restart applications, as well as services in applications and all service-dependent containers. Docker-Compose is very suitable for combining application scenarios using multiple co ...

Posted by like_duh44 on Thu, 18 Apr 2019 02:03:34 -0700

Modifying Volume Information for Online Applications in K8S Cluster

Modify NAS version: from v4 to v3 1. To modify the nfs version, the nas volume needs to be reloaded, and the pod needs to be restarted. 2. If deployment application is used, refer to the following example. If deployment application is used with pod, the deployment template of pod is changed in the following example. Pre-modification application ...

Posted by Stole on Thu, 18 Apr 2019 01:30:32 -0700

Construction of FastDFS Cluster Edition

What is FastDFS FastDFS is an open source distributed file system written in c language. FastDFS is customized for the Internet. It fully considers the mechanism of redundant backup, load balancing, linear expansion, and pays attention to high availability, high performance and other indicators. Using FastDFS, it is easy to build a high-perform ...

Posted by daneilair on Wed, 17 Apr 2019 13:39:32 -0700

Writing chat rooms

In the previous section, we created a WebSocket application using the ws module. But it simply responds to ECHO: xxx messages, also belong to Hello, world-level applications. To create a real WebSocket application, first of all, we need to have a MVC-based Web application, that is, the Web we created earlier with koa2 and Nunjucks. On th ...

Posted by Loki_d20 on Tue, 16 Apr 2019 17:03:32 -0700

Server architecture

Ideas for solving high concurrency: 1: Hardware Hardware can use F5-bigIp 2: Software can use load balancing nginx to achieve load balancing strategy: (1) polling, load balancer forwards requests to the back web server in turn. (2) ip hash, the same address client, always requests the same host. (3) Connect the load balancer at least to which ...

Posted by magmazing on Tue, 16 Apr 2019 13:03:31 -0700

logstash configuration file details

Detailed application configuration of Logstash background The business purpose is to analyze the daily logs generated by nginx and apache, monitor the url, ip, rest interface and other information, and send the data to the elastic search service. config input Getting information from log files file { path => "/home/keepgostu ...

Posted by don_s on Sun, 14 Apr 2019 17:27:31 -0700

## N26 - Sixteenth Blog Assignment

Sixteenth Blog Assignment 1. Source code compilation and installation of LNMP architecture environment; Test environment: nginx host IP: 192.168.23.200 php-fpm host IP: 192.168.23.201 mysql host IP: 192.168.23.202 Test procedure (1) Install nginx on the nginx host by source code compilation (install pcre-devel and openssl-devel f ...

Posted by twinedev on Wed, 10 Apr 2019 21:39:31 -0700

Web Architecture-Server Architecture to Prevent High Concurrency

CDN (static resources) + Nginx (load balancing & reverse proxy) + Redis (master-slave configuration & Sentinel listening cluster) + Mysql (master-slave configuration) Introduction: Business from the initial stage of development to gradually mature, server architecture is also from relatively single to cluster, then to distributed, techn ...

Posted by frymaster on Sun, 07 Apr 2019 08:48:31 -0700

Basic configuration of nginx

Preface Memory is not good, the relevant nginx problems and solutions will be expanded on the above, if there are any problems, please leave a message. Catalog Install nginx Managing nginx Configure nginx.conf nginx advantages Debug nginx Reference resources Install nginx Install gcc g + + development library environment ubunto ...

Posted by eezmo on Sat, 06 Apr 2019 19:39:30 -0700

Mac OS X System Installation Nginx

1. Preparations When installing Nginx, because some modules of Nginx need to rely on other third-party libraries, such as pcre library (supporting rewrite module), zlib library (supporting gzip module) and openssl library (supporting ssl module), it is recommended to install with the help of Homebrew tool. Homebrew Reference: ...

Posted by robertf on Fri, 05 Apr 2019 15:18:31 -0700