Design and Implementation of a Non-Long Connection Communication Software Based on PHP
A sudden whim wants to implement a PHP-based communication software, compared with the traditional socket-based communication software.
Disadvantage: Non-real-time communication, passive transfer of data server, higher operating costs.
Advanta ...
Added by jasonok6 on Wed, 18 Sep 2019 09:04:21 +0300
linux variable, cut_sort_wc_uniq_tee_tr_split command usage
View system variables:1.env command
[root@localhost ~]# env
2.set command
[root@localhost ~]# set
*set can display user-defined variables
Custom variables:
1. Define variables:
[root@localhost ~]# a=test
[root@localhost ~]# echo $a
test
2. Naming rules for variables: can include upper and lower case letters, numbers, underscores (cannot start ...
Added by poncho4u on Tue, 17 Sep 2019 19:12:24 +0300
Scope of Spring 4-bean: Automatic Assembly
Spring
automatic assembly
xml file
<bean id="address" class="com.atguigu.spring.beans.autowire.Address"
p:city="BeiJing" p:street="HuiLongGuan">
</bean>
<bean id="address2" class="com.atguigu.spring.beans.autowire.Address"
p ...
Added by jonker on Sat, 14 Sep 2019 14:56:25 +0300
Build PHP+Nginx Environment on Linux
PHP+Nginx Environment Setup
Author: Mirror ^^
Reference article:
Nginx+PHP+MySQL Installation Reference
PHP Source Installation Experience
Common problems in PHP source environment building
CentOS environment
Configure the CentOS-7 network:
CentOS (minimum installation) does not open the network by default
Start the network
vi Open: / ...
Added by pdn on Fri, 13 Sep 2019 21:41:18 +0300
MySQL Database Cluster--Day6
One: MySQL master-slave configuration
1: MySQL master-slave backup
1.1: Master-slave backup concept
What is master-slave backup: a database application of master-slave mode. Master data is identical with Slave data, which can realize multiple ...
Added by gurroa on Thu, 12 Sep 2019 12:52:46 +0300
Deployment of SpringBoot applications using Docker Compose
SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall
abstract
Docker Compose is a tool for defining and running multiple docker container applications. With Compose, you can configure your application services with YAML files, and then with a command, you can deploy all the services you configure.
install
D ...
Added by creatives on Tue, 10 Sep 2019 06:12:52 +0300
99%SQL optimization encountered in your work, here are all solutions for you
-- Example table
CREATE TABLE `employees` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(24) NOT NULL DEFAULT '' COMMENT 'Full name',
`age` int(20) NOT NULL DEFAULT '0' COMMENT 'Age',
`position` varchar(20) NOT NULL DEFAULT '' COMMENT 'position',
`hire_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMEST ...
Added by Snart on Tue, 10 Sep 2019 04:29:34 +0300
Implementation of Distributed Lock Based on Redis
Let's start by describing what problems would be caused to our cache in the case of high concurrency?
1. Cache Breakdown: In the case of high concurrency, when a hot key fails, a large number of requests will be made to access our data, such as when a commodity is killed in seconds.
2. Cache avalanche: refers to a time when a large number of ke ...
Added by belaraka on Mon, 09 Sep 2019 06:21:20 +0300
A series of front-end tutorials for background programmers (18) - Composite selector
Complete Handbook of C Language Self-study (33 articles)
Android Multiresolution Adaptation Framework
HTML5 Front-end Development Practical Course Series
MySQL Database Practical Tutorial (35 Graphics Edition)
Overthrow Yourself and Past - Custom Vi ...
Added by steve448 on Sun, 08 Sep 2019 13:18:51 +0300
Mycat-based database subtables
There are two ways to subtable a database
vertical partitioning A database consists of many tables, each of which corresponds to a different business. Vertical slicing refers to classifying tables by business and distributing them over different databases, thus sharing data or pressure among different libraries.Advantage:
- Clear business an ...
Added by kr3m3r on Sun, 08 Sep 2019 09:07:05 +0300