apache-commons commons-pool2 integrates commons-net custom FTPClient object pool
Introduction to commons-net package
commons-net is Apache commons tool kit for network. It implements some common network tools, such as smtp, pop3, telnet, ftp, udp and so on. This paper mainly uses its FTP tool.
Problems with FTP Tools
When using the ftp tool provided by commons-net, it is found that the complete connection and login process ...
Posted by slionheart on Fri, 13 Sep 2019 11:12:23 +0200
Why is the statefulset application of k8s learning notes always pending
Why can't k8s pv and PVC bind together
The statefuse is used to deploy statefuse applications. The application is always in pending state. Before starting, it introduces what statefuse is. In k8s, deployment is used to manage stateless applications. The statefuse is used to manage stateful applications, such as redis, mysql, zookper and othe ...
Posted by Prine on Thu, 12 Sep 2019 13:10:00 +0200
Service Gateway, Spring Cloud, Gateway Fusion, Current Limitation, Retry a little Classroom (Multi-shore College)
A filter that modifies the request path
StripPrefix Filter
StripPrefix Filter is a request path interception function that we can use to forward special services.
application.yml is configured as follows:
spring:
cloud:
gateway:
routes:
...
Posted by sobbayi on Thu, 12 Sep 2019 05:52:37 +0200
Distributed Id - redis
This article is about one of the schemes of generating distributed Id. Besides redis schemes, there are other schemes such as database, snowflake algorithm, mogodb(object_id is also database) and so on. For redis, we often use them and have a lot of contacts. So we mainly talk about how to combine redis to generate distributed ID schemes.
Dis ...
Posted by ManInBlack on Tue, 10 Sep 2019 13:51:17 +0200
Cheap and inexpensive - springboot Cluster Solution on Small and Micro Enterprise Cloud 2.1: Message subscription and session expiration mechanism for redis
1. session Storage Structure in redis 2
stay The previous chapter When we talk about spring session storage in redis, we can see that every session storage in redis generates three records. The record format is as follows:
This is very troublesome, why can't one by one correspond, do each other's angels, do a pair of three, very influential ...
Posted by funkdrm on Tue, 10 Sep 2019 12:21:47 +0200
Conquer Redis + Jedis + Spring - List Operation
Links to the original text: https://my.oschina.net/mohaiyong/blog/221261
At first, I thought that operating hash tables and lists under Spring was so dirty. In a trance, I found tha ...
Posted by Qense on Mon, 09 Sep 2019 07:50:49 +0200
Cheap and inexpensive approach - springboot cluster scenarios on small and micro enterprise clouds 2:session and redis
When talking about the cluster scenario, the first problem you will encounter is session. On a single machine, session problems are always solved by web containers, which we mainly use, but clustering means multiple containers.If load balancing is to randomly distribute server access, it is easy to cause server A to log on and then go to server ...
Posted by Shuriken1 on Sun, 08 Sep 2019 19:50:03 +0200
shiro shares a CacheManger with spring, using redis
1 Background
Most projects now use caching basically. The author encountered this problem when integrating shiro+spring. It is also through consulting data that shiro and spring share spring's CacheManger.
The cache managers included in Shiro are o ...
Posted by jbalanski on Fri, 06 Sep 2019 13:50:30 +0200
Message Middleware - RabbitMQ advanced features are all here!
Preface
Before that, we introduced the installation of RabbitMQ, the comparison of major message middleware, the core concept of AMQP, the use of management console, and the Quick Start RabbitMQ. This chapter introduces the advanced features of RabbitMQ. It is introduced in two parts (top/bottom).
How can messages be delivered 100% successfu ...
Posted by dechamp on Fri, 06 Sep 2019 12:32:12 +0200
Implementation Principle of Scanning Login
turn Implementation Principle of Scanning Login
...
Posted by TVining on Thu, 05 Sep 2019 03:56:51 +0200