Debian cannot install software using apt, and the connection failure problem is solved Server operation and maintenance

Debian cannot install software using apt, and the connection failure problem is solved

Recently, I bought a new Debian server, ready to run and play by myself. However, when using apt to install the software, you will always be prompted with connection failure, 404 and other errors, that is, you cannot connect to the network (forget the screenshot, which will not be shown here). I went to the official image warehouse and found that
read the whole passage
 In PHP, how to implement a mutex to avoid cache invalidation (breakdown) caused by a large number of simultaneous requests to query the same data Server

In PHP, how to implement a mutex to avoid cache invalidation (breakdown) caused by a large number of simultaneous requests to query the same data

Many technologies can only be understood after being used. I heard three cases of cache invalidation before, cache avalanche, cache penetration, and cache breakdown are difficult to understand, because there were really fewer caches used at that time, and there were not so many problems, so I could not understand these theories. The cache has been used for some time recently
read the whole passage