Home > Database > Mysql Tutorial > body text

Yan Shiba redis video material download (courseware, source code)

黄舟
Release: 2017-12-04 11:28:35
Original
2116 people have browsed it

Redis is the main caching service used in PHP projects. We will introduce the advanced usage of redis in "Yan Shiba Redis Video Tutorial", and will also use cases to learn about Redis in depth. Redis is a very powerful tool. NoSQL database provides a lot of built-in data structure support (such as pure strings, lists, data sets, and publish and subscribe functions). It is a very good tool. Using Redis well can qualitatively improve your system performance (Sina Micro Weibo is the best company in China that uses Redis. You can imagine the power of Redis by imagining the amount of data on Weibo.) It is also a good new technology reserve.

Yan Shiba redis video material download (courseware, source code)

Course playback address: http://www.php.cn/course/498.html

The teacher’s teaching style:

The teacher’s lectures are vivid, witty, witty, and touching. A vivid metaphor is like the finishing touch, opening the door to wisdom for students; an appropriate humor brings a knowing smile to students, like drinking a glass of mellow wine, giving people aftertaste and nostalgia; a philosopher's aphorisms, cultural references Proverbs are interspersed from time to time in the narration, giving people thinking and warning.

The more difficult point in this video is the migration between aof recovery and rdb server:

1. Aof recovery

When we are not careful To execute flushall [clear all data in all libraries], what we must do immediately is to execute the day command:

shutdown nosave [turn off the server without saving]

Then open the aof file and find Is there a flushall or flushdb command? Open aof with vim, remove the related flush command
and then restart the server. Redis will first find the aof file to import, and then execute the rdb file import

Note: During the running of redis, Related handles will be occupied, and cp copying will cause problems. Therefore, to copy rdb, you need to shut down the redis server so that there will be no problems in the cp process.

2. RDB migration during service

(1) Turn off the aof log function of redis of the server you want to migrate to (I want to migrate to the local redis6380.conf)

vim redis6380.conf, change appendonly yes to appendonly no

(2) Let’s first take a look at the current redis data and use the save command to solidify the data into the rdb file. My rdb file is /var/rdb/dump6379.rdb

Here we also recommend downloading source code resources: http://www.php.cn/xiazai/learn/1840

The resources share video courseware and ppt with you:

  1. redis.ppt

  2. Redis notes.doc

  3. redis-configuration file detailed explanation.txt

  4. Weibo development flow chart.tif

The above is the detailed content of Yan Shiba redis video material download (courseware, source code). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!