Abstract Factory Pattern

1, Definition Abstract Factory Pattern: one of the innovative patterns, which provides an interface to create a series of related or interdependent objects without specifying their specific classes. 2, UML class diagram 3, Roles and responsibilities Abstract Product: it is the interface that defines the Product. It is the supertype of the ...

Added by tarlejh on Sat, 05 Mar 2022 09:33:07 +0200

Back end composition before continuous integration of Jenkins microservices (SpringCloud microservices)

1, Pull image and publish application 1. Install the Publish Over SSH plug-in Publish Over SSH plug-in can send Shell commands remotely, and Jenkins needs to be restarted after installation 2. Configure remote deployment server Copy the public key and copy it to the production server on the Jenkins server [root@jenkins ~]# cd .ssh/ [r ...

Added by gushy on Sat, 05 Mar 2022 09:22:02 +0200

Microservice notes 02

01. Hystrix circuit breaker 1. General Problems faced by distributed systems Problems faced by distributed systems Applications in complex distributed architecture have dozens of dependencies, and each dependency will inevitably fail at some time. Service avalanche When calling between multiple microservices, suppose that microse ...

Added by BrandonE97 on Sat, 05 Mar 2022 09:21:08 +0200

Conclusion of Spring boot integrated learning 1.0: exception handling, integration of Mybatis, transaction, cache, JPA, dynamic log, RabbitMq, sending mail, background operation and deployment

https://blog.didispace.com/spring-boot-learning-1x/ 1. Unified exception handling of application Spring Boot provides a default mapping: / error. When an exception is thrown during processing, it will be transferred to the request for processing, and the request has a global error page to display the exception content. Access a nonexistent U ...

Added by mizz key_me on Sat, 05 Mar 2022 09:12:53 +0200

How to reallocate data after adding nodes in Kafka cluster

This redistribution is implemented by adding partitions to the specified nodes and sharing the pressure. For details of this scheme, please refer to the connection: Pit avoidance Guide: scheme summary of rapid expansion of Kafka cluster_ Java theory and practice - CSDN blog Steps to add a node Connect the server of other nodes After copying t ...

Added by rodneykm on Sat, 05 Mar 2022 09:02:03 +0200

Red team kill free training Chapter 1 - non executable shellcode

Close to the whole country hw, there will be a series of training articles on the free killing of the red team in the future. I hope you can avoid it indiscriminately on the field and will not release the ready-made loader, but the example is a good loader. Once again, free killing is not a unique talent of a technology, but a hundred flowers b ...

Added by jhuedder on Sat, 05 Mar 2022 08:59:22 +0200

Sentinel sentinel integrates Gateway to realize Gateway flow control console and rule configuration

1. Introduction The gateway is the common entrance for all requests, so the current can be limited in the gateway, and there are many ways to limit the current. The current limit of the gateway is realized through sentinel component. Sentinel supports current limiting for spring cloud gateway, Zuul and other mainstream gateways. The curre ...

Added by sargenle on Sat, 05 Mar 2022 08:51:47 +0200

(office class-05) batch modify the file name of docx

Office demand Recently, I have been making batch templates of routine materials (weekly plan, information window, theme knowledge and parenting knowledge). After I batch generated the 20 week content of the information window and subject knowledge, I spent two hours to fine tune the content of the information window inside (this is a set of in ...

Added by Boris Senker on Sat, 05 Mar 2022 08:49:26 +0200

Can't you learn Vue Router? Then don't miss this article!

introductionCreating a single page application with Vue + Vue Router is very simple: through Vue JS, the application has been composed of components. When joining the Vue Router, map the components to the route so that the Vue Router knows where to render them.HTML<script src="https://unpkg.com/vue@3"></script> <script src="https ...

Added by djBuilder on Sat, 05 Mar 2022 08:38:27 +0200

JS Foundation & Case

JS Foundation What is JS JS, the full name of JavaScript, is a literal script language. It is a dynamic type, weak type and object-based script language with built-in support types.Comparison between JS language and Java language: contrastJavaJSOperating environmentJVM virtual machineJS engine is a part of the browserCross platform opera ...

Added by godfrank on Sat, 05 Mar 2022 08:22:36 +0200