René's URL Explorer Experiment


Title: JavaGuide-Interview/docs/d-2-redis.md at master · markgit666/JavaGuide-Interview · GitHub

Open Graph Title: JavaGuide-Interview/docs/d-2-redis.md at master · markgit666/JavaGuide-Interview

X Title: JavaGuide-Interview/docs/d-2-redis.md at master · markgit666/JavaGuide-Interview

Description: JavaGuide面试突击版. Contribute to markgit666/JavaGuide-Interview development by creating an account on GitHub.

Open Graph Description: JavaGuide面试突击版. Contribute to markgit666/JavaGuide-Interview development by creating an account on GitHub.

X Description: JavaGuide面试突击版. Contribute to markgit666/JavaGuide-Interview development by creating an account on GitHub.

Opengraph URL: https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:99d9f133-a715-05d1-c2f6-48def2ee056a
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE986:294157:2E4A002:3DE5DB4:6A6525FA
html-safe-nonce0d0d6f004241427d4875a26620e25578e5fac9f1e1de0633fb28ced2ee3a04e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTg2OjI5NDE1NzoyRTRBMDAyOjNERTVEQjQ6NkE2NTI1RkEiLCJ2aXNpdG9yX2lkIjoiNzc0NzE5MDU1NDkzODkxMDIwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfef484b5410415cb4ba763da65a1bdc9a5bc2672e1d799d8e42cd5db846dd186
hovercard-subject-tagrepository:354469303
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md
twitter:imagehttps://opengraph.githubassets.com/6cf2d80abe4c657c2d71c6d2854787189ff3ed81614c2ebe33edd6d95e3402e4/markgit666/JavaGuide-Interview
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6cf2d80abe4c657c2d71c6d2854787189ff3ed81614c2ebe33edd6d95e3402e4/markgit666/JavaGuide-Interview
og:image:altJavaGuide面试突击版. Contribute to markgit666/JavaGuide-Interview development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/markgit666/JavaGuide-Interview git https://github.com/markgit666/JavaGuide-Interview.git
octolytics-dimension-user_id27467272
octolytics-dimension-user_loginmarkgit666
octolytics-dimension-repository_id354469303
octolytics-dimension-repository_nwomarkgit666/JavaGuide-Interview
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id251061141
octolytics-dimension-repository_parent_nwoSnailclimb/JavaGuide-Interview
octolytics-dimension-repository_network_root_id251061141
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide-Interview
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmarkgit666%2FJavaGuide-Interview%2Fblob%2Fmaster%2Fdocs%2Fd-2-redis.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmarkgit666%2FJavaGuide-Interview%2Fblob%2Fmaster%2Fdocs%2Fd-2-redis.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=markgit666%2FJavaGuide-Interview
Reloadhttps://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md
Reloadhttps://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md
Reloadhttps://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md
markgit666 https://github.com/markgit666
JavaGuide-Interviewhttps://github.com/markgit666/JavaGuide-Interview
Snailclimb/JavaGuide-Interviewhttps://github.com/Snailclimb/JavaGuide-Interview
Notifications https://github.com/login?return_to=%2Fmarkgit666%2FJavaGuide-Interview
Fork 0 https://github.com/login?return_to=%2Fmarkgit666%2FJavaGuide-Interview
Star 0 https://github.com/login?return_to=%2Fmarkgit666%2FJavaGuide-Interview
Code https://github.com/markgit666/JavaGuide-Interview
Pull requests 0 https://github.com/markgit666/JavaGuide-Interview/pulls
Actions https://github.com/markgit666/JavaGuide-Interview/actions
Projects https://github.com/markgit666/JavaGuide-Interview/projects
Security and quality 0 https://github.com/markgit666/JavaGuide-Interview/security
Insights https://github.com/markgit666/JavaGuide-Interview/pulse
Code https://github.com/markgit666/JavaGuide-Interview
Pull requests https://github.com/markgit666/JavaGuide-Interview/pulls
Actions https://github.com/markgit666/JavaGuide-Interview/actions
Projects https://github.com/markgit666/JavaGuide-Interview/projects
Security and quality https://github.com/markgit666/JavaGuide-Interview/security
Insights https://github.com/markgit666/JavaGuide-Interview/pulse
https://github.com/markgit666/JavaGuide-Interview
JavaGuide-Interviewhttps://github.com/markgit666/JavaGuide-Interview/tree/master
docshttps://github.com/markgit666/JavaGuide-Interview/tree/master/docs
Historyhttps://github.com/markgit666/JavaGuide-Interview/commits/master/docs/d-2-redis.md
https://github.com/markgit666/JavaGuide-Interview/commits/master/docs/d-2-redis.md
JavaGuide-Interviewhttps://github.com/markgit666/JavaGuide-Interview/tree/master
docshttps://github.com/markgit666/JavaGuide-Interview/tree/master/docs
Rawhttps://github.com/markgit666/JavaGuide-Interview/raw/refs/heads/master/docs/d-2-redis.md
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#42-redis
JavaGuidehttps://github.com/Snailclimb/JavaGuide
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#1-简单介绍一下-redis-呗
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#2-分布式缓存常见的技术选型方案有哪些
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#3-说一下-redis-和-memcached-的区别和共同点
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#4-缓存数据的处理流程是怎样的
https://camo.githubusercontent.com/ebf6e844fd55a7ef05a35b5f590826a838d0b4dd7985aaf576c0cc1ca339da5a/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f66373265643433333262646234646236393536373735393532366239663938397e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#5-为什么要用-redis为什么要用缓存
https://camo.githubusercontent.com/d4f7f55aafb18f974e171e0faeab8e0ba2724dccc62b1af476e3c691ef2f12f5/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f62626535386463393230613834666363386333613633633930313264636465387e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#6-redis-常见数据结构以及使用场景分析
在线 redis 环境https://try.redis.io/
https://camo.githubusercontent.com/c680d0366adf89e3cc269d9f612d001d50d96e58864f22f31a5135647d1b7561/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f63336136393635376261363334636561396663623135386139383666346266657e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#61-string
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#62-list
https://camo.githubusercontent.com/2873458f7e1729b652d99fa7d7621dd0039b85220cf7aa4518d1c2b979e275cf/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f32363637336461373365666334313062386631616538653166626332343665637e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#63-hash
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#64-set
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#65-sorted-set
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#7-redis-单线程模型详解
https://camo.githubusercontent.com/19425bf85c505d74373e67b172a6406751403529fcec6febf2a64f9a462a8cb3/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f31326136363561383663616234316234393039656362373436343239326262397e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#8-redis-没有使用多线程为什么不使用多线程
https://camo.githubusercontent.com/dc448290d391948d4a0ec68b3f22414298947d08f44ef021eb35cb98886177c6/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f61356164623463396461353334343736386164366536373065303731336565667e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#9-redis60-之后为何引入了多线程
Redis 6.0 新特性-多线程连环 13 问!https://mp.weixin.qq.com/s/FZu3acwK6zrCBZQ_3HoUgw
为什么 Redis 选择单线程模型https://draveness.me/whys-the-design-redis-single-thread/
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#10-redis-给缓存数据设置过期时间有啥用
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#11-redis是如何判断数据是否过期的呢
https://camo.githubusercontent.com/59716d108461dc1c9103c3acf008d6f27b0977c427979065b8f6f39d3eaed9e7/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f34313765326630303136333434393266393237626533333130376566623134337e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#12-过期的数据的删除策略了解么
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#13-redis-内存淘汰机制了解么
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#14-redis-持久化机制怎么保证-redis-挂掉之后再重启数据可以进行恢复
783:Redis 的 AOF 方式https://github.com/Snailclimb/JavaGuide/issues/783
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#15-redis-事务
MULTIhttps://redis.io/commands/multi
EXEChttps://redis.io/commands/exec
https://redis.io/topics/transactionshttps://redis.io/topics/transactions
https://camo.githubusercontent.com/6411867703843eb3f06719f675a271a4a60361f47e40402e18daedf8383b7844/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f33643036626163633432646434346339616162386531666462666331326439637e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://camo.githubusercontent.com/f71df4eb9440cc67725b7ec05acaaa1749dcaf163c499a4c5bf16cc2684b2137/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f30653164346362343135613034653564623663626537353932373663393930617e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
issue452: 关于 Redis 事务不满足原子性的问题https://github.com/Snailclimb/JavaGuide/issues/452
https://zhuanlan.zhihu.com/p/43897838https://zhuanlan.zhihu.com/p/43897838
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#16-缓存穿透
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#161-什么是缓存穿透
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#162-缓存穿透情况的处理流程是怎样的
https://camo.githubusercontent.com/290a55973c62e26380a6d7ce7be9a52357f1fd68ba2b49eb2f618652990325e8/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f62366330363435633937613834396262613964656639666237336464376161667e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#163-有哪些解决办法
https://camo.githubusercontent.com/5613522a8e14d33cf8b950623ec5ccc894c18e1eedb15af6eba602de553db508/68747470733a2f2f70332d6a75656a696e2e62797465696d672e636f6d2f746f732d636e2d692d6b3375316662706663702f61646335633363323664616634316335626562386437643062313138633038627e74706c762d6b3375316662706663702d7a6f6f6d2d312e696d616765
《不了解布隆过滤器?一文给你整的明明白白!》https://github.com/Snailclimb/JavaGuide/blob/master/docs/dataStructures-algorithms/data-structure/bloom-filter.md
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#17-缓存雪崩
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#171-什么是缓存雪崩
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#172-有哪些解决办法
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#18-如何保证缓存和数据库数据的一致性
https://github.com/markgit666/JavaGuide-Interview/blob/master/docs/d-2-redis.md#19-参考
http://Redisdoc.com/string/set.htmlhttp://Redisdoc.com/string/set.html
https://juejin.im/post/5b53ee7e5188251aaa2d2e16https://juejin.im/post/5b53ee7e5188251aaa2d2e16
https://medium.com/@jychen7/sharing-redis-single-thread-vs-multi-threads-5870bd44d153https://medium.com/@jychen7/sharing-redis-single-thread-vs-multi-threads-5870bd44d153
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.