5, Memory structure
1. Virtual memory, physical memory, semiconductor memory and page feed file
Virtual memory: address space, virtual storage area, and virtual memory accessed by applications. Physical memory: storage space, the actual storage area. Only the system kernel can access the physical memory. Physical memory includes semiconductor memory and pa ...
Added by vtolbert on Fri, 18 Feb 2022 23:00:29 +0200
Redis learning notes
catalogue
1. Know Redis
What can Redis do?
characteristic
2. Basic knowledge
Redis is single threaded
Why is Redis single thread so fast?
3. Redis five data types
1,String
2,List
3,Set
4,Hash
5,Zset
4. Redis has three special data types
1,geospatial
2,hyperloglog
3,Bitmaps
5. Redis transaction
6. Redis implements optimistic ...
Added by Boz on Thu, 17 Feb 2022 16:03:52 +0200
Spring boot integrates Redis cache
1, Cache conceptual knowledge
1. What cache is it
The word Cache is often heard in daily life. What is Cache? In fact, Cache is the buffer of data exchange (called Cache), which is the place where data (frequently used data) is temporarily stored. When users query data, they first look for it in the Cache. If they find it, they will execu ...
Added by friendlylad on Wed, 16 Feb 2022 14:25:52 +0200
vue uses keep alive to cache page optimization projects
concept
Keep alive yes Vue When it wraps dynamic components, it caches inactive component instances instead of destroying them. Similar to transition, keep alive is an abstract component: it does not render itself as a DOM element or appear in the parent component chain.
effect
In the process of component switching, the switched components a ...
Added by fert on Tue, 15 Feb 2022 15:15:57 +0200
Deep understanding of redis -- cache avalanche / cache breakdown / cache penetration
1. Cache avalanche2. Buffer breakdown3. Cache penetration4. Summary 1. Cache avalancheHow does cache avalanche happen?1) The redis service directly hangs up, and redis crashes completely2) A large number of caches in redis expire at the same time, resulting in a large number of queries directly hitting mysqlsolve1.1) redis cache cluster achieve ...
Added by blackcow on Tue, 15 Feb 2022 11:24:34 +0200
Phase II NOSQLday01
I Redis (in memory nosql database)
NoSQL and RDBMS 1.1: the characteristics of RDBMS (relational database mysql): it reflects the relationship between data, supports transactions, ensures the integrity and stability of business, and has good performance with a small amount of data. However, high concurrency will lead to database crash. 1.2 NoS ...
Added by Hangston on Mon, 14 Feb 2022 11:56:27 +0200
Really explain the five Redis data structures
Preface
As a cached database, Redis currently has a large usage in the market. Most people use its string format storage in their work. For the rest of the data structure, it is rarely used. The basic data structure of Redis includes: string, hash, list, set, sorted set. These five data structures are often used in different scenarios in ...
Added by MatrixGL on Sat, 12 Feb 2022 20:35:22 +0200
Crazy God said Redis notes
Nosql overview
Why use Nosql
Stand alone MySQL Era In the 1990s, the number of visits to a website was generally not too large, and a single database was sufficient. However, with the increase of users, the following problems occurred:
The amount of data is too large for one machineThe index of data (B+ tree) can't fit into a machine's m ...
Added by chevys on Sat, 12 Feb 2022 11:43:15 +0200
Glide source code analysis and three-level cache principle
Glide is an open source image loading library for Android, which can help us download, cache and display images in various formats. It is also one of the mainstream image loading frameworks. How to realize the internal source code? Explain the main process and make a brief analysis.
The usage is as follows:
Glide.with(context).load(url).into ...
Added by ikon on Sat, 12 Feb 2022 10:26:38 +0200
Glide source code analysis and three-level cache principle
Glide is an open source image loading library for Android, which can help us download, cache and display images in various formats. It is also one of the mainstream image loading frameworks. How to realize the internal source code? Explain the main process and make a brief analysis.
The usage is as follows:
Glide.with(context).load(url).into ...
Added by Far Cry on Sat, 12 Feb 2022 09:47:41 +0200