Records: 476 Scenario: Use ExecutorService to manage Java thread pool in Spring Boot microservice. Use Executors to create a thread pool. Use the Runnable interface implementation class to submit thread tasks to the thread pool for execution. Version: JDK 1.8, Spring Boot 2.6.3. 1. Thread and thread pool basics JDK comes with thread and thread […]
Tag: ppl
There are two ways to deploy applications (nginx) in Kubernetes, which one do you prefer?
There are two ways to publish applications in k8s: kubernetes-dashboard kubectl command line 1. Dashboard method Configuration and deployment: It includes the application name, container number, pod number, and service. It is very convenient. If you don’t want to set up the configuration yaml, you can deploy it very conveniently. Click Deploy to successfully deploy […]
6. Hive transactions for Hive data warehouse application (super detailed step-by-step guidance, WIN10, VMware Workstation 15.5 PRO, CentOS-6.7)
Hive remote mode deployment reference: 1. Hive deployment of Hive data warehouse application (super detailed step-by-step guidance, WIN10, VMware Workstation 15.5 PRO, CentOS-6.7) Article directory 1. Design and characteristics of affairs 1. Characteristics of affairs 2. Business design 3. Implementation of transactions 2. Operation of transaction table 1. Opening of business 2. Creation of transaction […]
[.NET 6] Call to IHostedService Wait My Love – Waiting for the web application to be ready
Welcome to like: Collection ?Leave a message Please correct me if there are any mistakes, give people roses, and leave lingering fragrance in your hands! Author of this article: Original by webmote Author’s motto: In the new journey, what we face is not technology but the human heart. The human heart is immeasurable, and the […]
Launcher3 custom desktop application [Android13 version]
Article directory summary Change default layout Dynamically add apps to the home screen in code summary Summary Launcher3 project address: AOSP source code/packages/apps/Launcher3 Launcher3 customizes desktop applications. I currently have two methods in practice: Change the default layout file and specify which apps to add to the home screen Dynamically add apps to the home […]
Application of chaos system in image encryption (randomness test: FIPS 140-2 test and SP800-22 test)
Application of chaos system in image encryption (randomness test: FIPS 140-2 test and SP800-22 test) Preface 1. FIPS 140-2 test 2. SP800-22 test 3. python code description Foreword In this section, we will learn about the randomness test of chaotic sequences. As mentioned earlier, whether the random sequence generated by the chaotic system is good […]
Application of Nacos configuration center based on distributed system structure
Foreword In the previous nacos initialization, the basic knowledge of Nacos has been described. What is recorded in this blog is the use of the Nacos configuration center. The role of Nacos configuration center Centralized configuration management: The Nacos configuration center supports centralized management of application configuration information, including regular attribute configuration, text configuration, JSON […]
MyBatis-Plus specific practical application
1. Logical deletion The deletion code we wrote in the past was all physical deletion. Tombstone: Delete turns into update ? update user set deleted=1 where id = 1 and deleted=0 Search: append the where condition to filter out deleted data. If you use the where condition generated by wrapper.entity, this field will also be […]
“JSON Processing in PostgreSQL: Techniques and Applications”
Blogger Maotouhu () takes you Go to New World? Maotouhu recommends a list of essential technology stacks for programmers: ? Full Stack Technology Full Stack: MERN/MEAN/MEVN Stack | Jamstack | GraphQL | RESTful API | ? WebSockets | CI/CD | Git & Version Control | DevOps Front-end technology Frontend: ? HTML & amp; CSS | […]
Java server-side applet_inheritance structure_life cycle_request object_response object
1. Tips for restarting the service 1.update resources: changed resources, indicating that static resources, such as HTML, have been modified. css etc. 2.update classes and resources: Modification of classes will not take effect and is not recommended. 3.Redeploy: Not familiar with it. It is suitable for modifying the code. You can redeploy the project to […]