java Concurrent Programming: using object waiting and notification mechanism to implement a connection pool with waiting timeout

As we all know, Java Object objects provide interfaces such as wait() and notify()/notifyAll(), which are important parts of concurrent programming. They play a very important role in the cooperation between multi threads, and there are many scenarios that can be used in the actual development. Needless to say, today we will use this mechanism ...

Posted by ZaphodQB on Sun, 17 May 2020 07:29:21 -0700

openstack Gets Started to Learn More

openstack to learn more Introduction to OpenStack Cloud Computing (1) Service types of cloud computing IAAS: Infrastructure as a service, such as cloud hosts; PAAS: Platform as a Service, e.g. docker; SAAS: Software as a Service, e.g., Purchase Enterprise Mailbox, CDN; Traditional IT IAAS PAAS SAAS 1 Application ...

Posted by Bricktop on Sat, 16 May 2020 18:17:01 -0700

MyBatis Series Talking about SQL Execution Process Analysis

Catalog Use Mybatis on its own Mybatis Execution Process SqlSessionFactory\SqlSession MapperProxy Excutor Use Mybatis on its own This article focuses on analyzing the Mybatis framework's processes for executing SQL. Recalling that we used the Mybatis semi-automation framework on our own, we needed to follow t ...

Posted by BradZynda on Fri, 15 May 2020 17:17:44 -0700

CentOS? 7.6 install Redis 6.0.1 and enable auto start

background Alibaba cloud's ECS server just bought is going to set up a website of its own. First install the Redis service. Download Redis Download address: https://redis.io/download Current version of Redis 6.0.1 Upgrade gcc #Check whether the gcc version is above 5.3. CentOS 7.6 installs 4.8.5 by default [root@liukai-ecs-01 system]# gcc -v # ...

Posted by blueguitar on Thu, 14 May 2020 07:56:20 -0700

Automatic operation and maintenance - record the work development of automatically adding customer leader

After the company started to use nails automatically, the related information software of the enterprise began to use the application program on nails. Related to the sales company is the CRM system. In CRM system, the customer is private. If you want more than one person to be responsible at the same time, you need to add the customer leader. ...

Posted by sn202 on Thu, 14 May 2020 01:43:02 -0700

Python uses Oracle to operate mysql database

install Oracle installation command pip install orator ##Easy to use Connection operation of database config = { 'mysql': { 'driver': 'mysql', 'host': 'localhost', 'database': 'test_one', 'user': 'root', 'password': '123456', 'prefix': ...

Posted by mrwutang on Wed, 13 May 2020 09:45:05 -0700

File download - Download Excel

1. Prepare the data first. The data here is not the data directly found in the database, but a copy of the data found. The data of the two does not affect each other, so that the copied data can be modified. (1) define a method (implementation class method of service layer) of data found from database, omit the method of mapper mapping file and ...

Posted by Duey on Tue, 12 May 2020 07:10:01 -0700

pg database security configuration

Safety configuration instruction [TOC] Database security configuration is one of the important links of database management. Security configuration mainly includes password, network access control, audit, etc. Next, we will explain how to realize the password related security configuration in Hangao database. 1 password encrypted storage The pa ...

Posted by zavin on Tue, 12 May 2020 01:04:56 -0700

Day 29 of egg learning notes: using mongoose in eggjs

1, Mongoose in egg 1. Installing mongoose in an egg project cnpm i mongoose --save 2. Configure the eg mongoose plug-in in config > plugin.js exports.mongoose = { enable: true, package: "egg-mongoose" }; 3. Configure the database connection address in config > config.default.js config.mongoose = { client: { // url ...

Posted by abisai on Mon, 11 May 2020 10:12:07 -0700

laravel5 route changed to rule matching

laravel has many projects in use, but routing configuration is an indispensable work. In many cases, routing configuration not only increases the repetitive work, but also increases the code overhead. When the project reaches a certain level, the number of routing configurations will be amazing. In many cases, we have to think that although th ...

Posted by ben2468 on Mon, 11 May 2020 00:57:47 -0700