René's URL Explorer Experiment


Title: JavaInterview/interviewDoc/Java/database/Redis.md at master · modiman/JavaInterview · GitHub

Open Graph Title: JavaInterview/interviewDoc/Java/database/Redis.md at master · modiman/JavaInterview

X Title: JavaInterview/interviewDoc/Java/database/Redis.md at master · modiman/JavaInterview

Description: Java面试整理,涵盖基础、JVM、线程并发、框架、MySQL、微服务、Redis、中间件、数据结构与算法等。陆续完善中 - JavaInterview/interviewDoc/Java/database/Redis.md at master · modiman/JavaInterview

Open Graph Description: Java面试整理,涵盖基础、JVM、线程并发、框架、MySQL、微服务、Redis、中间件、数据结构与算法等。陆续完善中 - modiman/JavaInterview

X Description: Java面试整理,涵盖基础、JVM、线程并发、框架、MySQL、微服务、Redis、中间件、数据结构与算法等。陆续完善中 - modiman/JavaInterview

Opengraph URL: https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:e8a8d075-14a1-87fb-1bc0-b636b188269d
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idCBC2:1DF585:3C8B29:54AC00:6A59CB95
html-safe-nonce9742d3443a31d07f0832f7ebf6c9bd1f6384dfba7656e98c8cf85ebf0de07395
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkMyOjFERjU4NTozQzhCMjk6NTRBQzAwOjZBNTlDQjk1IiwidmlzaXRvcl9pZCI6IjMxNTA5NzI2NDIxODM5OTAxNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3f037347f19a1ef0d1047cae8963b2d07baf2804de161cdae513c9b3da74d162
hovercard-subject-tagrepository:474028289
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/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md
twitter:imagehttps://opengraph.githubassets.com/aa570264725421e7321c6c25fd6eec9c8db269f0b0d47a2d8ab59ea528943519/modiman/JavaInterview
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa570264725421e7321c6c25fd6eec9c8db269f0b0d47a2d8ab59ea528943519/modiman/JavaInterview
og:image:altJava面试整理,涵盖基础、JVM、线程并发、框架、MySQL、微服务、Redis、中间件、数据结构与算法等。陆续完善中 - modiman/JavaInterview
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
turbo-cache-controlno-cache
go-importgithub.com/modiman/JavaInterview git https://github.com/modiman/JavaInterview.git
octolytics-dimension-user_id46517316
octolytics-dimension-user_loginmodiman
octolytics-dimension-repository_id474028289
octolytics-dimension-repository_nwomodiman/JavaInterview
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id245599072
octolytics-dimension-repository_parent_nwogsjqwyl/JavaInterview
octolytics-dimension-repository_network_root_id245599072
octolytics-dimension-repository_network_root_nwogsjqwyl/JavaInterview
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
releaseab680789ae4a316cdaf0d5a292a1760140931cc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodiman%2FJavaInterview%2Fblob%2Fmaster%2FinterviewDoc%2FJava%2Fdatabase%2FRedis.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
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%2Fmodiman%2FJavaInterview%2Fblob%2Fmaster%2FinterviewDoc%2FJava%2Fdatabase%2FRedis.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=modiman%2FJavaInterview
Reloadhttps://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md
Reloadhttps://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md
Reloadhttps://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md
modiman https://github.com/modiman
JavaInterviewhttps://github.com/modiman/JavaInterview
gsjqwyl/JavaInterviewhttps://github.com/gsjqwyl/JavaInterview
Notifications https://github.com/login?return_to=%2Fmodiman%2FJavaInterview
Fork 0 https://github.com/login?return_to=%2Fmodiman%2FJavaInterview
Star 0 https://github.com/login?return_to=%2Fmodiman%2FJavaInterview
Code https://github.com/modiman/JavaInterview
Pull requests 0 https://github.com/modiman/JavaInterview/pulls
Actions https://github.com/modiman/JavaInterview/actions
Projects https://github.com/modiman/JavaInterview/projects
Security and quality 0 https://github.com/modiman/JavaInterview/security
Insights https://github.com/modiman/JavaInterview/pulse
Code https://github.com/modiman/JavaInterview
Pull requests https://github.com/modiman/JavaInterview/pulls
Actions https://github.com/modiman/JavaInterview/actions
Projects https://github.com/modiman/JavaInterview/projects
Security and quality https://github.com/modiman/JavaInterview/security
Insights https://github.com/modiman/JavaInterview/pulse
https://github.com/modiman/JavaInterview
JavaInterviewhttps://github.com/modiman/JavaInterview/tree/master
interviewDochttps://github.com/modiman/JavaInterview/tree/master/interviewDoc
Javahttps://github.com/modiman/JavaInterview/tree/master/interviewDoc/Java
databasehttps://github.com/modiman/JavaInterview/tree/master/interviewDoc/Java/database
Historyhttps://github.com/modiman/JavaInterview/commits/master/interviewDoc/Java/database/Redis.md
https://github.com/modiman/JavaInterview/commits/master/interviewDoc/Java/database/Redis.md
JavaInterviewhttps://github.com/modiman/JavaInterview/tree/master
interviewDochttps://github.com/modiman/JavaInterview/tree/master/interviewDoc
Javahttps://github.com/modiman/JavaInterview/tree/master/interviewDoc/Java
databasehttps://github.com/modiman/JavaInterview/tree/master/interviewDoc/Java/database
Rawhttps://github.com/modiman/JavaInterview/raw/refs/heads/master/interviewDoc/Java/database/Redis.md
Java面试整理高清PDF下载https://gitee.com/tiger-a/java-interview/blob/master/interviewDoc/Java/index.md
Java面试整理高清PDF下载https://gitee.com/tiger-a/java-interview/blob/master/interviewDoc/Java/index.md
Java面试整理高清PDF下载https://gitee.com/tiger-a/java-interview/blob/master/interviewDoc/Java/index.md
什么是 Redis?简述它的优缺点?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BB%80%E4%B9%88%E6%98%AF-redis%E7%AE%80%E8%BF%B0%E5%AE%83%E7%9A%84%E4%BC%98%E7%BC%BA%E7%82%B9
Reids的特点https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#reids%E7%9A%84%E7%89%B9%E7%82%B9
使用redis有哪些好处?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BD%BF%E7%94%A8redis%E6%9C%89%E5%93%AA%E4%BA%9B%E5%A5%BD%E5%A4%84
为什么要用 redis/为什么要用缓存https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E7%94%A8-redis%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E7%94%A8%E7%BC%93%E5%AD%98
Redis 与 memcached 相比有哪些优势?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E4%B8%8E-memcached-%E7%9B%B8%E6%AF%94%E6%9C%89%E5%93%AA%E4%BA%9B%E4%BC%98%E5%8A%BF
Redis 支持哪几种数据类型?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E6%94%AF%E6%8C%81%E5%93%AA%E5%87%A0%E7%A7%8D%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B
Redis 主要消耗什么物理资源?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E4%B8%BB%E8%A6%81%E6%B6%88%E8%80%97%E4%BB%80%E4%B9%88%E7%89%A9%E7%90%86%E8%B5%84%E6%BA%90
Redis常用管理命令https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E5%B8%B8%E7%94%A8%E7%AE%A1%E7%90%86%E5%91%BD%E4%BB%A4
Redis与其他key-value存储有什么不同?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E4%B8%8E%E5%85%B6%E4%BB%96key-value%E5%AD%98%E5%82%A8%E6%9C%89%E4%BB%80%E4%B9%88%E4%B8%8D%E5%90%8C
Redis的内存占用情况怎么样?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E7%9A%84%E5%86%85%E5%AD%98%E5%8D%A0%E7%94%A8%E6%83%85%E5%86%B5%E6%80%8E%E4%B9%88%E6%A0%B7
Redis有哪些适合的场景?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E6%9C%89%E5%93%AA%E4%BA%9B%E9%80%82%E5%90%88%E7%9A%84%E5%9C%BA%E6%99%AF
Redis 有哪几种数据淘汰策略?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E6%9C%89%E5%93%AA%E5%87%A0%E7%A7%8D%E6%95%B0%E6%8D%AE%E6%B7%98%E6%B1%B0%E7%AD%96%E7%95%A5
Redis如何做内存优化?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E5%A6%82%E4%BD%95%E5%81%9A%E5%86%85%E5%AD%98%E4%BC%98%E5%8C%96
你知道有哪些Redis分区实现方案?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BD%A0%E7%9F%A5%E9%81%93%E6%9C%89%E5%93%AA%E4%BA%9Bredis%E5%88%86%E5%8C%BA%E5%AE%9E%E7%8E%B0%E6%96%B9%E6%A1%88
Redis分区有什么缺点?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E5%88%86%E5%8C%BA%E6%9C%89%E4%BB%80%E4%B9%88%E7%BC%BA%E7%82%B9
Redis持久化数据和缓存怎么做扩容?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E6%8C%81%E4%B9%85%E5%8C%96%E6%95%B0%E6%8D%AE%E5%92%8C%E7%BC%93%E5%AD%98%E6%80%8E%E4%B9%88%E5%81%9A%E6%89%A9%E5%AE%B9
分布式Redis是前期做还是后期规模上来了再做好?为什么?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%88%86%E5%B8%83%E5%BC%8Fredis%E6%98%AF%E5%89%8D%E6%9C%9F%E5%81%9A%E8%BF%98%E6%98%AF%E5%90%8E%E6%9C%9F%E8%A7%84%E6%A8%A1%E4%B8%8A%E6%9D%A5%E4%BA%86%E5%86%8D%E5%81%9A%E5%A5%BD%E4%B8%BA%E4%BB%80%E4%B9%88
Redis 官方为什么不提供 Windows 版本?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%AE%98%E6%96%B9%E4%B8%BA%E4%BB%80%E4%B9%88%E4%B8%8D%E6%8F%90%E4%BE%9B-windows-%E7%89%88%E6%9C%AC
一个字符串类型的值能存储最大容量是多少?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%B8%80%E4%B8%AA%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%B1%BB%E5%9E%8B%E7%9A%84%E5%80%BC%E8%83%BD%E5%AD%98%E5%82%A8%E6%9C%80%E5%A4%A7%E5%AE%B9%E9%87%8F%E6%98%AF%E5%A4%9A%E5%B0%91
为什么 Redis 需要把所有数据放到内存中?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%B8%BA%E4%BB%80%E4%B9%88-redis-%E9%9C%80%E8%A6%81%E6%8A%8A%E6%89%80%E6%9C%89%E6%95%B0%E6%8D%AE%E6%94%BE%E5%88%B0%E5%86%85%E5%AD%98%E4%B8%AD
如何保证缓存与数据库双写时的数据一致性?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%A6%82%E4%BD%95%E4%BF%9D%E8%AF%81%E7%BC%93%E5%AD%98%E4%B8%8E%E6%95%B0%E6%8D%AE%E5%BA%93%E5%8F%8C%E5%86%99%E6%97%B6%E7%9A%84%E6%95%B0%E6%8D%AE%E4%B8%80%E8%87%B4%E6%80%A7
Redis中数据库默认是多少个db即作用?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E4%B8%AD%E6%95%B0%E6%8D%AE%E5%BA%93%E9%BB%98%E8%AE%A4%E6%98%AF%E5%A4%9A%E5%B0%91%E4%B8%AAdb%E5%8D%B3%E4%BD%9C%E7%94%A8
都有哪些办法可以降低Redis的内存使用情况呢?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E5%8A%9E%E6%B3%95%E5%8F%AF%E4%BB%A5%E9%99%8D%E4%BD%8Eredis%E7%9A%84%E5%86%85%E5%AD%98%E4%BD%BF%E7%94%A8%E6%83%85%E5%86%B5%E5%91%A2
Redis的内存用完了会发生什么?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E7%9A%84%E5%86%85%E5%AD%98%E7%94%A8%E5%AE%8C%E4%BA%86%E4%BC%9A%E5%8F%91%E7%94%9F%E4%BB%80%E4%B9%88
一个Redis实例最多能存放多少的keys?List、Set、Sorted Set他们最多能存放多少元素?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%B8%80%E4%B8%AAredis%E5%AE%9E%E4%BE%8B%E6%9C%80%E5%A4%9A%E8%83%BD%E5%AD%98%E6%94%BE%E5%A4%9A%E5%B0%91%E7%9A%84keyslistsetsorted-set%E4%BB%96%E4%BB%AC%E6%9C%80%E5%A4%9A%E8%83%BD%E5%AD%98%E6%94%BE%E5%A4%9A%E5%B0%91%E5%85%83%E7%B4%A0
Redis是单线程的,如何提高多核CPU的利用率?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E6%98%AF%E5%8D%95%E7%BA%BF%E7%A8%8B%E7%9A%84%E5%A6%82%E4%BD%95%E6%8F%90%E9%AB%98%E5%A4%9A%E6%A0%B8cpu%E7%9A%84%E5%88%A9%E7%94%A8%E7%8E%87
Redis 集群方案应该怎么做?都有哪些方案?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E6%96%B9%E6%A1%88%E5%BA%94%E8%AF%A5%E6%80%8E%E4%B9%88%E5%81%9A%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E6%96%B9%E6%A1%88
Redis 集群方案什么情况下会导致整个集群不可用?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E6%96%B9%E6%A1%88%E4%BB%80%E4%B9%88%E6%83%85%E5%86%B5%E4%B8%8B%E4%BC%9A%E5%AF%BC%E8%87%B4%E6%95%B4%E4%B8%AA%E9%9B%86%E7%BE%A4%E4%B8%8D%E5%8F%AF%E7%94%A8
MySQL 里有 2000w 数据,redis 中只存 20w 的数据,如何保证 redis 中的数据都是热点数据?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#mysql-%E9%87%8C%E6%9C%89-2000w-%E6%95%B0%E6%8D%AEredis-%E4%B8%AD%E5%8F%AA%E5%AD%98-20w-%E7%9A%84%E6%95%B0%E6%8D%AE%E5%A6%82%E4%BD%95%E4%BF%9D%E8%AF%81-redis-%E4%B8%AD%E7%9A%84%E6%95%B0%E6%8D%AE%E9%83%BD%E6%98%AF%E7%83%AD%E7%82%B9%E6%95%B0%E6%8D%AE
Redis 有哪些适合的场景?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E6%9C%89%E5%93%AA%E4%BA%9B%E9%80%82%E5%90%88%E7%9A%84%E5%9C%BA%E6%99%AF
说说 Redis 哈希槽的概念?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E8%AF%B4%E8%AF%B4-redis-%E5%93%88%E5%B8%8C%E6%A7%BD%E7%9A%84%E6%A6%82%E5%BF%B5
Redis 集群的主从复制模型是怎样的?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E7%9A%84%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6%E6%A8%A1%E5%9E%8B%E6%98%AF%E6%80%8E%E6%A0%B7%E7%9A%84
Redis 集群会有写操作丢失吗?为什么?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E4%BC%9A%E6%9C%89%E5%86%99%E6%93%8D%E4%BD%9C%E4%B8%A2%E5%A4%B1%E5%90%97%E4%B8%BA%E4%BB%80%E4%B9%88
Redis 集群之间是如何复制的?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E4%B9%8B%E9%97%B4%E6%98%AF%E5%A6%82%E4%BD%95%E5%A4%8D%E5%88%B6%E7%9A%84
Redis 集群最大节点个数是多少?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E6%9C%80%E5%A4%A7%E8%8A%82%E7%82%B9%E4%B8%AA%E6%95%B0%E6%98%AF%E5%A4%9A%E5%B0%91
Redis 集群如何选择数据库?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E5%A6%82%E4%BD%95%E9%80%89%E6%8B%A9%E6%95%B0%E6%8D%AE%E5%BA%93
Redis 中的管道有什么用?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E4%B8%AD%E7%9A%84%E7%AE%A1%E9%81%93%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8
怎么理解 Redis 事务?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E6%80%8E%E4%B9%88%E7%90%86%E8%A7%A3-redis-%E4%BA%8B%E5%8A%A1
Redis 事务相关的命令有哪几个?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E4%BA%8B%E5%8A%A1%E7%9B%B8%E5%85%B3%E7%9A%84%E5%91%BD%E4%BB%A4%E6%9C%89%E5%93%AA%E5%87%A0%E4%B8%AA
单线程的redis为什么这么快https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%8D%95%E7%BA%BF%E7%A8%8B%E7%9A%84redis%E4%B8%BA%E4%BB%80%E4%B9%88%E8%BF%99%E4%B9%88%E5%BF%AB
Redis 为什么是单线程的https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E4%B8%BA%E4%BB%80%E4%B9%88%E6%98%AF%E5%8D%95%E7%BA%BF%E7%A8%8B%E7%9A%84
为什么Redis的操作是原子性的,怎么保证原子性的?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%B8%BA%E4%BB%80%E4%B9%88redis%E7%9A%84%E6%93%8D%E4%BD%9C%E6%98%AF%E5%8E%9F%E5%AD%90%E6%80%A7%E7%9A%84%E6%80%8E%E4%B9%88%E4%BF%9D%E8%AF%81%E5%8E%9F%E5%AD%90%E6%80%A7%E7%9A%84
Redis 常见性能问题和解决方案?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%B8%B8%E8%A7%81%E6%80%A7%E8%83%BD%E9%97%AE%E9%A2%98%E5%92%8C%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88
Redis事务https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E4%BA%8B%E5%8A%A1
Redis提供了哪几种持久化方式?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E6%8F%90%E4%BE%9B%E4%BA%86%E5%93%AA%E5%87%A0%E7%A7%8D%E6%8C%81%E4%B9%85%E5%8C%96%E6%96%B9%E5%BC%8F
如何选择合适的持久化方式?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%A6%82%E4%BD%95%E9%80%89%E6%8B%A9%E5%90%88%E9%80%82%E7%9A%84%E6%8C%81%E4%B9%85%E5%8C%96%E6%96%B9%E5%BC%8F
RDB和AOF的优缺点https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#rdb%E5%92%8Caof%E7%9A%84%E4%BC%98%E7%BC%BA%E7%82%B9
对于大量的请求怎么样处理https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%AF%B9%E4%BA%8E%E5%A4%A7%E9%87%8F%E7%9A%84%E8%AF%B7%E6%B1%82%E6%80%8E%E4%B9%88%E6%A0%B7%E5%A4%84%E7%90%86
Redis 集群方案应该怎么做?都有哪些方案?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E9%9B%86%E7%BE%A4%E6%96%B9%E6%A1%88%E5%BA%94%E8%AF%A5%E6%80%8E%E4%B9%88%E5%81%9A%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E6%96%B9%E6%A1%88
Redis key 的过期时间和永久有效分别怎么设置?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-key-%E7%9A%84%E8%BF%87%E6%9C%9F%E6%97%B6%E9%97%B4%E5%92%8C%E6%B0%B8%E4%B9%85%E6%9C%89%E6%95%88%E5%88%86%E5%88%AB%E6%80%8E%E4%B9%88%E8%AE%BE%E7%BD%AE
Redis 如何做内存优化?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%A6%82%E4%BD%95%E5%81%9A%E5%86%85%E5%AD%98%E4%BC%98%E5%8C%96
Redis 回收进程如何工作的?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%9B%9E%E6%94%B6%E8%BF%9B%E7%A8%8B%E5%A6%82%E4%BD%95%E5%B7%A5%E4%BD%9C%E7%9A%84
加锁机制https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%8A%A0%E9%94%81%E6%9C%BA%E5%88%B6
锁互斥机制https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E9%94%81%E4%BA%92%E6%96%A5%E6%9C%BA%E5%88%B6
watch dog 自动延期机制https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#watch-dog-%E8%87%AA%E5%8A%A8%E5%BB%B6%E6%9C%9F%E6%9C%BA%E5%88%B6
使用过 Redis 做异步队列么,你是怎么用的?有什么缺点?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BD%BF%E7%94%A8%E8%BF%87-redis-%E5%81%9A%E5%BC%82%E6%AD%A5%E9%98%9F%E5%88%97%E4%B9%88%E4%BD%A0%E6%98%AF%E6%80%8E%E4%B9%88%E7%94%A8%E7%9A%84%E6%9C%89%E4%BB%80%E4%B9%88%E7%BC%BA%E7%82%B9
什么是缓存穿透?如何避免?什么是缓存雪崩?何如避免?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BB%80%E4%B9%88%E6%98%AF%E7%BC%93%E5%AD%98%E7%A9%BF%E9%80%8F%E5%A6%82%E4%BD%95%E9%81%BF%E5%85%8D%E4%BB%80%E4%B9%88%E6%98%AF%E7%BC%93%E5%AD%98%E9%9B%AA%E5%B4%A9%E4%BD%95%E5%A6%82%E9%81%BF%E5%85%8D
缓存穿透、缓存击穿、缓存雪崩解决方案?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E7%BC%93%E5%AD%98%E7%A9%BF%E9%80%8F%E7%BC%93%E5%AD%98%E5%87%BB%E7%A9%BF%E7%BC%93%E5%AD%98%E9%9B%AA%E5%B4%A9%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88
缓存雪崩和缓存穿透问题解决方案https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E7%BC%93%E5%AD%98%E9%9B%AA%E5%B4%A9%E5%92%8C%E7%BC%93%E5%AD%98%E7%A9%BF%E9%80%8F%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88
讲解下Redis线程模型https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E8%AE%B2%E8%A7%A3%E4%B8%8Bredis%E7%BA%BF%E7%A8%8B%E6%A8%A1%E5%9E%8B
redis 和 memcached 什么区别?为什么高并发下有时单线程的 redis 比多线程的memcached 效率要高?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%92%8C-memcached-%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%E4%B8%BA%E4%BB%80%E4%B9%88%E9%AB%98%E5%B9%B6%E5%8F%91%E4%B8%8B%E6%9C%89%E6%97%B6%E5%8D%95%E7%BA%BF%E7%A8%8B%E7%9A%84-redis-%E6%AF%94%E5%A4%9A%E7%BA%BF%E7%A8%8B%E7%9A%84memcached-%E6%95%88%E7%8E%87%E8%A6%81%E9%AB%98
使用 redis 如何设计分布式锁?说一下实现思路?使用 zk 可以吗?如何实现?这两种有什么区别?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BD%BF%E7%94%A8-redis-%E5%A6%82%E4%BD%95%E8%AE%BE%E8%AE%A1%E5%88%86%E5%B8%83%E5%BC%8F%E9%94%81%E8%AF%B4%E4%B8%80%E4%B8%8B%E5%AE%9E%E7%8E%B0%E6%80%9D%E8%B7%AF%E4%BD%BF%E7%94%A8-zk-%E5%8F%AF%E4%BB%A5%E5%90%97%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E8%BF%99%E4%B8%A4%E7%A7%8D%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB
知道 redis 的持久化吗?底层如何实现的?有什么优点缺点?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E7%9F%A5%E9%81%93-redis-%E7%9A%84%E6%8C%81%E4%B9%85%E5%8C%96%E5%90%97%E5%BA%95%E5%B1%82%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E7%9A%84%E6%9C%89%E4%BB%80%E4%B9%88%E4%BC%98%E7%82%B9%E7%BC%BA%E7%82%B9
Redis 持久化机制(怎么保证 redis 挂掉之后再重启数据可以进行恢复)https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E6%8C%81%E4%B9%85%E5%8C%96%E6%9C%BA%E5%88%B6%E6%80%8E%E4%B9%88%E4%BF%9D%E8%AF%81-redis-%E6%8C%82%E6%8E%89%E4%B9%8B%E5%90%8E%E5%86%8D%E9%87%8D%E5%90%AF%E6%95%B0%E6%8D%AE%E5%8F%AF%E4%BB%A5%E8%BF%9B%E8%A1%8C%E6%81%A2%E5%A4%8D
redis 过期策略都有哪些?LRU 算法知道吗?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E8%BF%87%E6%9C%9F%E7%AD%96%E7%95%A5%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9Blru-%E7%AE%97%E6%B3%95%E7%9F%A5%E9%81%93%E5%90%97
Reids三种不同删除策略https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#reids%E4%B8%89%E7%A7%8D%E4%B8%8D%E5%90%8C%E5%88%A0%E9%99%A4%E7%AD%96%E7%95%A5
定时删除策略https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%AE%9A%E6%97%B6%E5%88%A0%E9%99%A4%E7%AD%96%E7%95%A5
定期删除策略https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%AE%9A%E6%9C%9F%E5%88%A0%E9%99%A4%E7%AD%96%E7%95%A5
惰性删除策略https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E6%83%B0%E6%80%A7%E5%88%A0%E9%99%A4%E7%AD%96%E7%95%A5
修改配置不重启Redis会实时生效吗?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BF%AE%E6%94%B9%E9%85%8D%E7%BD%AE%E4%B8%8D%E9%87%8D%E5%90%AFredis%E4%BC%9A%E5%AE%9E%E6%97%B6%E7%94%9F%E6%95%88%E5%90%97
Redis的过期策略以及内存淘汰机制https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E7%9A%84%E8%BF%87%E6%9C%9F%E7%AD%96%E7%95%A5%E4%BB%A5%E5%8F%8A%E5%86%85%E5%AD%98%E6%B7%98%E6%B1%B0%E6%9C%BA%E5%88%B6
Redis 到底是怎么实现“附近的人”https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%88%B0%E5%BA%95%E6%98%AF%E6%80%8E%E4%B9%88%E5%AE%9E%E7%8E%B0%E9%99%84%E8%BF%91%E7%9A%84%E4%BA%BA
使用方式https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F
在选择缓存时,什么时候选择 redis,什么时候选择 memcached?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E5%9C%A8%E9%80%89%E6%8B%A9%E7%BC%93%E5%AD%98%E6%97%B6%E4%BB%80%E4%B9%88%E6%97%B6%E5%80%99%E9%80%89%E6%8B%A9-redis%E4%BB%80%E4%B9%88%E6%97%B6%E5%80%99%E9%80%89%E6%8B%A9-memcached
缓存与数据库不一致怎么办https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E7%BC%93%E5%AD%98%E4%B8%8E%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B8%8D%E4%B8%80%E8%87%B4%E6%80%8E%E4%B9%88%E5%8A%9E
Redis 常见的性能问题和解决方案https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%B8%B8%E8%A7%81%E7%9A%84%E6%80%A7%E8%83%BD%E9%97%AE%E9%A2%98%E5%92%8C%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88
Redis 的数据淘汰策略有哪些https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E7%9A%84%E6%95%B0%E6%8D%AE%E6%B7%98%E6%B1%B0%E7%AD%96%E7%95%A5%E6%9C%89%E5%93%AA%E4%BA%9B
redis 常见数据结构以及使用场景分析https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%B8%B8%E8%A7%81%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%A5%E5%8F%8A%E4%BD%BF%E7%94%A8%E5%9C%BA%E6%99%AF%E5%88%86%E6%9E%90
Redis的数据类型,以及每种数据类型的使用场景https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis%E7%9A%84%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E4%BB%A5%E5%8F%8A%E6%AF%8F%E7%A7%8D%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E5%9C%BA%E6%99%AF
Redis 当中有哪些数据结构https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%BD%93%E4%B8%AD%E6%9C%89%E5%93%AA%E4%BA%9B%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84
Redis 内部结构https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%86%85%E9%83%A8%E7%BB%93%E6%9E%84
使用 Redis 做过异步队列吗,是如何实现的https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%BD%BF%E7%94%A8-redis-%E5%81%9A%E8%BF%87%E5%BC%82%E6%AD%A5%E9%98%9F%E5%88%97%E5%90%97%E6%98%AF%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E7%9A%84
Redis 如何实现延时队列https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E5%BB%B6%E6%97%B6%E9%98%9F%E5%88%97
请用Redis和任意语言实现一段恶意登录保护的代码,限制1小时内每用户Id最多只能登录5次。具体登录函数或功能用空函数即可,不用详细写出。https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E8%AF%B7%E7%94%A8redis%E5%92%8C%E4%BB%BB%E6%84%8F%E8%AF%AD%E8%A8%80%E5%AE%9E%E7%8E%B0%E4%B8%80%E6%AE%B5%E6%81%B6%E6%84%8F%E7%99%BB%E5%BD%95%E4%BF%9D%E6%8A%A4%E7%9A%84%E4%BB%A3%E7%A0%81%E9%99%90%E5%88%B61%E5%B0%8F%E6%97%B6%E5%86%85%E6%AF%8F%E7%94%A8%E6%88%B7id%E6%9C%80%E5%A4%9A%E5%8F%AA%E8%83%BD%E7%99%BB%E5%BD%955%E6%AC%A1%E5%85%B7%E4%BD%93%E7%99%BB%E5%BD%95%E5%87%BD%E6%95%B0%E6%88%96%E5%8A%9F%E8%83%BD%E7%94%A8%E7%A9%BA%E5%87%BD%E6%95%B0%E5%8D%B3%E5%8F%AF%E4%B8%8D%E7%94%A8%E8%AF%A6%E7%BB%86%E5%86%99%E5%87%BA
为什么redis需要把所有数据放到内存中?https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#%E4%B8%BA%E4%BB%80%E4%B9%88redis%E9%9C%80%E8%A6%81%E6%8A%8A%E6%89%80%E6%9C%89%E6%95%B0%E6%8D%AE%E6%94%BE%E5%88%B0%E5%86%85%E5%AD%98%E4%B8%AD
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#什么是-redis简述它的优缺点
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#reids的特点
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#使用redis有哪些好处
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#为什么要用-redis为什么要用缓存
https://camo.githubusercontent.com/c046833a8ef9e0a306510e6b6ec40e98f5de23eb4fd53bf6a5281223b7b39032/68747470733a2f2f67697465652e636f6d2f67736a7177796c2f696d616765735f7265706f2f7261772f6d61737465722f323032312d332d31312f32303231303332353131303135312e706e67
https://camo.githubusercontent.com/696588db561aa930549d11da6d44661a9424fa84c1fd00b1d753c3cc6bdb2bfc/68747470733a2f2f67697465652e636f6d2f67736a7177796c2f696d616765735f7265706f2f7261772f6d61737465722f323032312d332d31312f32303231303332353131303232392e706e67
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-与-memcached-相比有哪些优势
https://camo.githubusercontent.com/57e1aea3479a680947de95ff295c574aa4a3f32e3df67eeb34739a2d62378313/68747470733a2f2f67697465652e636f6d2f67736a7177796c2f696d616765735f7265706f2f7261772f6d61737465722f323032312d332d31312f32303231303332353131303433372e706e67
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-支持哪几种数据类型
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-主要消耗什么物理资源
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis常用管理命令
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis与其他key-value存储有什么不同
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis的内存占用情况怎么样
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis有哪些适合的场景
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-有哪几种数据淘汰策略
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis如何做内存优化
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#你知道有哪些redis分区实现方案
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis分区有什么缺点
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis持久化数据和缓存怎么做扩容
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#分布式redis是前期做还是后期规模上来了再做好为什么
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-官方为什么不提供-windows-版本
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#一个字符串类型的值能存储最大容量是多少
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#为什么-redis-需要把所有数据放到内存中
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#如何保证缓存与数据库双写时的数据一致性
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis中数据库默认是多少个db即作用
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#都有哪些办法可以降低redis的内存使用情况呢
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis的内存用完了会发生什么
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#一个redis实例最多能存放多少的keyslistsetsorted-set他们最多能存放多少元素
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis是单线程的如何提高多核cpu的利用率
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群方案应该怎么做都有哪些方案
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群方案什么情况下会导致整个集群不可用
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#mysql-里有-2000w-数据redis-中只存-20w-的数据如何保证-redis-中的数据都是热点数据
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-有哪些适合的场景
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#说说-redis-哈希槽的概念
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群的主从复制模型是怎样的
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群会有写操作丢失吗为什么
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群之间是如何复制的
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群最大节点个数是多少
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群如何选择数据库
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-中的管道有什么用
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#怎么理解-redis-事务
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-事务相关的命令有哪几个
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#单线程的redis为什么这么快
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-为什么是单线程的
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#为什么redis的操作是原子性的怎么保证原子性的
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-常见性能问题和解决方案
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis事务
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis提供了哪几种持久化方式
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#如何选择合适的持久化方式
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#rdb和aof的优缺点
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#对于大量的请求怎么样处理
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-集群方案应该怎么做都有哪些方案-1
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-key-的过期时间和永久有效分别怎么设置
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-如何做内存优化
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-回收进程如何工作的
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#加锁机制
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#锁互斥机制
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#watch-dog-自动延期机制
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#使用过-redis-做异步队列么你是怎么用的有什么缺点
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#什么是缓存穿透如何避免什么是缓存雪崩何如避免
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#缓存穿透缓存击穿缓存雪崩解决方案
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#缓存雪崩和缓存穿透问题解决方案
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#讲解下redis线程模型
https://camo.githubusercontent.com/191b42d8da8b800a59615dc19bf3d491cc2da43a31743ad7b3a230c826f31ecc/68747470733a2f2f6d6d62697a2e717069632e636e2f6d6d62697a5f706e672f384b4b72484b356963365842787977347a777a48724e38374f7453536c72484d706b5752687538797262564a76764d3059716e456c585935684c744c465045747668794147454d597233394c5137746731784c42726f772f3634303f77785f666d743d706e672674703d7765627026777866726f6d3d352677785f6c617a793d312677785f636f3d31
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-和-memcached-什么区别为什么高并发下有时单线程的-redis-比多线程的memcached-效率要高
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#使用-redis-如何设计分布式锁说一下实现思路使用-zk-可以吗如何实现这两种有什么区别
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#知道-redis-的持久化吗底层如何实现的有什么优点缺点
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-持久化机制怎么保证-redis-挂掉之后再重启数据可以进行恢复
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-过期策略都有哪些lru-算法知道吗
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#reids三种不同删除策略
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#定时删除策略
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#定期删除策略
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#惰性删除策略
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#修改配置不重启redis会实时生效吗
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis的过期策略以及内存淘汰机制
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-到底是怎么实现附近的人
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#使用方式
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#在选择缓存时什么时候选择-redis什么时候选择-memcached
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#缓存与数据库不一致怎么办
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-常见的性能问题和解决方案
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-的数据淘汰策略有哪些
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-常见数据结构以及使用场景分析
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis的数据类型以及每种数据类型的使用场景
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-当中有哪些数据结构
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-内部结构
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#使用-redis-做过异步队列吗是如何实现的
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#redis-如何实现延时队列
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#请用redis和任意语言实现一段恶意登录保护的代码限制1小时内每用户id最多只能登录5次具体登录函数或功能用空函数即可不用详细写出
https://github.com/modiman/JavaInterview/blob/master/interviewDoc/Java/database/Redis.md#为什么redis需要把所有数据放到内存中
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.