This article source code: GitHub. Click here || GitEE. Click here
Introduction to ClickHouse
1. Basic Introduction
Yandex open source data analysis database, named ClickHouse, is suitable for streaming or batch warehousing of sequential data. ClickHouse should not be used as a general database, but as a distributed real-time processing platfor ...
Posted on Tue, 08 Oct 2019 21:59:48 -0700 by ubersmuck
1. New Web Project
2. Add jar packages
3. Through reverse engineering, the corresponding entity and mapping files and interfaces are generated as follows
4. Create configuration files
4.1 spring configuration file
(1) 4.1.1 Application Context-dao.xml (dao layer configuration file)
Posted on Tue, 08 Oct 2019 02:10:39 -0700 by trackz
Use of Druid Database Connection Pool
I. Basic use of Druid_
Druid: database connection pool implementation technology, provided by
1. Import the jar package druid-1.0.9.jar
* Don't forget to import database-driven jar packages
2. Define the configuration file:
* It's in the form of p ...
Posted on Mon, 07 Oct 2019 04:39:35 -0700 by emdee
The functions of ConfigFilter include:
Read the configuration from the configuration file
Read configuration from remote http file
Encryption for database passwords
1 ConfigFilter Configuration
1.1 Configuration file read from local file system
<bean id="dataSource" class ...
Posted on Sun, 06 Oct 2019 15:21:14 -0700 by dtyson2000
Database connection pool
1. The database connection pool is a container. There are several connection objects in the container. We can use them directly and return them automatically after using them. It is a factory of physical data sources.
2. getConnection(); ...
Posted on Wed, 02 Oct 2019 08:41:48 -0700 by tommix
Background: For the problem of loading data sources that need to be configured in the database for SQL statements, it is impossible to load dynamically configured databases directly using external database connection pools.
The simple way is to use JDBC to get configuration information separately t ...
Posted on Tue, 01 Oct 2019 18:11:56 -0700 by ajfton
Database connection pool built by SSM framework (3)
Spring provides two such data sources (both in the org.springframework.jdbc.datasource package):DriverManagerDataSource: This class implements the javax.sql.DataSource interface, but it does not provide a mechanism for pooling connections. Each time getConnection() is called to get a new con ...
Posted on Tue, 24 Sep 2019 17:14:33 -0700 by zachatk1
About Redis Cache
Why use caching?
Enhance the efficiency of accessing duplicate access data.
Three uses of Redis
Database, Cache, Message Middleware
Redis scenario (for data that is accessed repeatedly)
Page caching (static data such as pictures, CSS, html etc.) - hot spot data
Use Sugge ...
Posted on Tue, 17 Sep 2019 18:48:30 -0700 by denniston
Wechat Public Number: Architect Front Line
Original Statement: This article is originally created by the author. It refuses unauthorized reprinting of personal, media, public numbers or websites. Violators shall be held liable.
Posted on Tue, 17 Sep 2019 07:03:11 -0700 by supermars
Public Configuration application.yml
👉 Official Full Configuration for SpringBoot
Tomcat related configuration
context-path: project access path
max-threads:tomcat thread pool size setting
min-spare-threads: number of to ...
Posted on Mon, 12 Aug 2019 09:13:30 -0700 by mjs87