Java Paging Principle

Links to the original text: https://blog.csdn.net/winfredzen/article/details/52104251 Java paging Common paging types: Traditionally, using the traditional paging method, data information can be clearly obtained, such as how many pieces of data, how many pages to display and so on. Drop-down pagination: Pull-down pagination ...

Posted by moonoo1974 on Sat, 11 May 2019 17:12:42 +0200

DR Mode + Keepalived for LVS (High Availability)

1. Basic concepts 1.keepalived is a software similar to layer3, 4 & 5 exchange mechanism, which is commonly referred to as Layer 3, Layer 4 and Layer 5 exchange.Keepalived is done automatically without manual intervention.2.Keepalived's function is to detect the state of the server. If a web server is down or fails to work ...

Posted by d22552000 on Fri, 10 May 2019 19:41:10 +0200

Linux ctrl-c explain (ctrl-c detail)

Catalog 1 Background posture 2 foreplay 3 dinner 4 systemctl stop docker 5 demo 1 Background posture drive Driver, full name device driver, is a special program added to the operating system, which contains information about hardware devices. This information enables the computer to communicate with the corresponding equipment. interrupt A w ...

Posted by shenmue232 on Fri, 10 May 2019 16:38:56 +0200

Mybatis interface annotation

In the previous chapter, we have built the development environment of myeclipse, mybatis and mysql, and implemented a simple query of mybatis. Note that this approach uses SqlSession instances to directly execute the SQL statements mapped in the User.xml file: session.selectOne("com.yiibai.mybatis.models.UserMapper.getUser ...

Posted by ziggy3000 on Fri, 10 May 2019 14:22:03 +0200

Simple use of Mybatis framework

1. Configuration process 1. Process diagrams (implemented through XML mapping files): 2. Process: 2.1 Import package: 2.1.1 Download Package Database Driven Package (this article takes MySQL as an example): https://mvnrepository.com/artifact/mysql/mysql-connector-java Mybatis Framework Package: https://mvnrepository.com/artifact/org.myb ...

Posted by VK4KBG on Fri, 10 May 2019 03:06:03 +0200

Express Tutorial Series: Basic Use of session

1. About session session is another mechanism for recording the status of clients. Unlike cookie s, which are stored in client browsers, sessions are stored in servers.When the client accesses the server, the server generates a session object with the key:value stored in it, and the server passes the key back to the client's cookie. When the u ...

Posted by zilem on Wed, 08 May 2019 06:30:03 +0200

LVN and Its Implementation on Linux

Reference material: LVM Details - Junma Jinlong - Blog Garden How to reduce the size of an LVM partition formatted with xfs filesystem on CentOS7? Brother Junma's blog will go a little deeper, and he is based on ext filesystem to demonstrate expansion and scaling, while I use xfs filesystem. Basic concepts Traditional disk partitioning ...

Posted by rakhi on Tue, 07 May 2019 20:15:04 +0200

Use server to train and test YOLOv3

Server usage Remote Connection Use XShell to establish SSH connection with server, configure username and password Environment Configuration Create your own python environment and clone the base environment directly for convenience conda create --name yzh-env --clone base Switch to your environment and install jupyter n ...

Posted by EricC on Sun, 05 May 2019 10:40:03 +0200

nginx solves session consistency

session viscosity Each request is allocated according to the hash result of accessing ip, so that each visitor can access a back-end server regularly, which can solve the session problem.   upstream backserver { ip_hash; server 192.168.0.14:88; server 192.168.0.15:80; } However, there is a single risk. If I have logged in at ...

Posted by ckjian on Sun, 05 May 2019 09:00:05 +0200

Principle Analysis of Distributed Message Communication ActiveMQ II

This chapter focuses on: 1. unconsumed Message source code analysis 2. PrefetchSize on the consumer side 3. Message confirmation process 4. Message Retransmitting Mechanism 5. ActiveMQ multi-node high performance scheme Message Consumption Flow Chart Acquisition process of unconsumed Messages data Let's see what's going on in Acti ...

Posted by techker on Sun, 05 May 2019 08:42:22 +0200