Application of cache and distributed lock

Application of cache and distributed lock 1. Cache application Cache usage scenario: In order to improve the system performance, we usually put some data into the cache to speed up access, while the database only undertakes the data dropping work So what data is suitable for caching? The requirements for immediacy and data consistency are n ...

Posted by billynastie2007 on Mon, 22 Nov 2021 15:33:09 +0100

Build ELK+EFK log analysis system

1, Configure ELK log analysis system 1. Topology Configure and install ELK log analysis system, install cluster mode, two elasticsearch nodes, and monitor tomcat server logs hostoperating systemIP addressMain softwareNode1Centos7.4192. 168.8.15Elasticsearch,KibanaNode2Centos7.4192.168.8.16ElasticsearchapacheCentos7.4192.168.8.17Logst ...

Posted by tbare on Mon, 22 Nov 2021 03:45:22 +0100

Detailed summary of JavaScript BOM and DOM and their compatible operations

BOM (browser object model) All browsers support window Object that represents the browser window. All js Global objects, functions, and variables automatically become window Object. The global variable is window Object. The global function is window Object. be based on html dom of document Also window One of the properties of the object. wi ...

Posted by matte on Wed, 17 Nov 2021 05:35:10 +0100

2 - [high concurrency - service] - 2 current limiting

When developing high concurrency systems, there are three sharp tools to protect the system: caching, degradation and current limiting. Cache: the purpose is to improve the system access speed and increase the capacity that the system can handle. It can be described as a silver bullet against high concurrent traffic; Degradation: when the se ...

Posted by Hoangsta on Wed, 17 Nov 2021 02:14:43 +0100

Chapter 2 Cache and memory

This blog is a brief note of DPDK in simple terms 2.1 introduction to storage system For packet processing, there are mainly two parts (personal understanding), one is CPU The other is CPU Scheduling of instructions and data to be processed. How to give full play CPU On the basis of performance Cache,Memory, SATA Disk, PCIe Devices (network ...

Posted by dbradbury on Mon, 08 Nov 2021 11:29:28 +0100

Redis's study notes day02_ Basic data type

As a data structure storage system in memory, Redis can be used as database, cache and message middleware. Its value supports many types of data structures. The basic data structures include: strings, hashes, lists, sets and sorted sets. These five data structures are often used in our work and often asked during the interview. Therefore, maste ...

Posted by rbastien on Fri, 05 Nov 2021 04:15:03 +0100

SpringBoot integrates Redis to implement caching (automatic caching + manual aop caching)

demo address: https://gitee.com/pdh_gitee/redis-cache-demo.git. Redis must be available locally, which is the premise. All demo s are tested on windows. In the spring boot project, you can usually use the automatic cache policy, or you can use the RedisTemplate class to operate redis, and redis can be configured (of course, this is trou ...

Posted by kslagdive on Thu, 28 Oct 2021 08:53:09 +0200

redis caching with Spring custom annotations

1, Foreword Redis is one of the basic components that must be used in distributed microservices. At present, it is basically used in most domestic projects, and caching is one of its main functions. Frequent use of set() method to add annotations in projects will cause code duplication and bloated. For those who do not have enough development ...

Posted by jaymc on Wed, 13 Oct 2021 04:26:16 +0200

vue routing cache ultimate solution

preface There is often such a demand in the business. When the page jumps, the state and data of the previous page are maintained to facilitate processing when returning For example, a - > B needs caching, and a - > C does not need caching Most online examples need to deal with business components, which is very unreasonable Ther ...

Posted by adders on Sun, 26 Sep 2021 02:48:24 +0200