Tomcat basic "three" -- load balancing

Tomcat basic "one" -- WEB TechnologyTomcat foundation II -- Introduction to Tomcat Foundation load balancing The problem of dynamic servers is that the concurrency is too weak, and multiple dynamic servers are often needed to provide services together. How to suppress concurrent Force alloca ...

Posted on Sun, 19 Jan 2020 07:01:34 -0800 by SQL Advanced

Spring cloud Alibaba 3. Create a microservice project with openFeign client (ribbon by default) + Nacos registry

Previous: project structure and description In this paper, we build a real project environment of spring cloud Alibaba. Based on the micro service project of nacos, we use openFeign client and the default Ribbon of openFeign to achieve load balancing 1. Environment use of this article Nacos: Registr ...

Posted on Sat, 18 Jan 2020 06:37:36 -0800 by Tyche

SpringBoot access external interface -- tool class

Preface In the actual project development, it is often necessary to call the third party interfaces in their own projects, such as service providers, and then process the returned data. The company I'm practicing in now uses a more native Http request method, which is more complex to implement. Late ...

Posted on Sat, 18 Jan 2020 06:17:29 -0800 by bskauge

About the Use and Configuration of Log4Net

0. Introduction The Log4Net library is an implementation of the Apache log4j framework under the.NET platform and is open source and free of charge.It can output logs to different media in different formats and levels. Official address: http://logging.apache.org/log4net/index.html Log4Net open so ...

Posted on Fri, 17 Jan 2020 18:08:39 -0800 by coffejor

14 tips of Spring MVC controller

Usually, in Spring MVC, we write a controller class to handle requests from clients. Then, the controller calls the business class to handle the business related tasks, and then redirects the client to the logical view name, which is parsed by Spring's scheduler Servlet to render the result or output. T ...

Posted on Fri, 17 Jan 2020 02:36:57 -0800 by r270ba

LVS load balancing: Dr + maintained deployment

What is keepalived List item keepalived is a service software to ensure high availability of cluster in cluster management. Its function is similar to heartbeat to prevent single point of failure.Three core modules of keepalived` core module chech health monitoring vrrp virtual routing Redundancy Pro ...

Posted on Thu, 16 Jan 2020 02:33:13 -0800 by DjNaF

Spring Cloud advanced Road 7: service gateway (zuul)

  For reprint, please indicate the author and source: Author: Galactic architect Original link: https://blog.csdn.net/liuminglei1987/article/details/104003890 Brief introduction Official statement Zuul is the front door for all requests from devices and web sites to the backend of the Netflix ...

Posted on Wed, 15 Jan 2020 23:52:20 -0800 by Design

Getting Started with rocketmq (Literacy Edition - demo with Example)

1. What is Rocketmq Message Queue RocketMQ is a professional message middleware independently developed by Alibaba Group. Based on highly available distributed cluster technology, it provides a series of message cloud services such as message subscription and publishing, message track query, timed (de ...

Posted on Wed, 15 Jan 2020 19:13:32 -0800 by chrisdarby

In a moment, the topic body of personal space design pattern goes deep into MyBatis source code to understand the adapter pattern of Java design pattern

What is adapter mode Definition: transform the interface of a system into another form, so that the interface that cannot be called directly can be called. Adapter pattern role division The adapter pattern involves three roles: 1. Adapter: the object or type to be adapted, equivalent to the plug ...

Posted on Tue, 14 Jan 2020 19:06:39 -0800 by ron8000

Talk about Client Producer Credits for artemis

order This article mainly studies Client Producer Credits of artemis ClientProducerCredits activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientProducerCredits.java public interface ClientProducerCredits { void acquireCredits(int credits) throws ActiveMQException; void receiveCredi ...

Posted on Tue, 14 Jan 2020 08:26:03 -0800 by Jabop