Redis interview questions

1. What is Redis?

2. What are the advantages of Redis over memcached?

3. Which data types does Redis support?

4. What physical resources does Redis mainly consume?

5. What is the full name of Redis?

6. What data elimination strategies does Redis have?

7. Why does Redis not officially provide a Windows version?

8. What is the maximum capacity that a string type value can store?

9. Why does Redis need to put all data in memory?

10. What should the Redis cluster solution do? What plans are there?

11. Under what circumstances will the Redis cluster solution cause the entire cluster to be unavailable?

12. There are 2000w data in MySQL, and only 20w data in redis. How to ensure that the data in redis is hot data?

  13. What are the suitable scenarios for Redis?

  14. What are the Java clients supported by Redis? Which is the official recommendation?

15. What is the relationship between Redis and Redisson?

16. What are the advantages and disadvantages of Jedis and Redisson?

17. How does Redis set the password and verify the password?

18. Talk about the concept of Redis hash slot?

19. What is the master-slave replication model of Redis cluster?

20. Will write operations be lost in Redis cluster? Why?

21. How are Redis clusters replicated?

22. What is the maximum number of nodes in a Redis cluster?

23. How does Redis cluster choose a database?

24. How to test the connectivity of Redis?

25. What is the use of pipes in Redis?

26. How to understand Redis transaction?

27. What are the commands related to Redis transactions?

28. How to set the expiration time and permanent validity of Redis key?

29. How does Redis optimize memory?

30. How does the Redis recycling process work?

31. What algorithm does Redis use for recycling?

32. How does Redis do a large amount of data insertion?

33. Why do Redis partitions?

34. What Redis partition implementation schemes do you know?

35. What are the disadvantages of Redis partitioning?

36. How to expand Redis persistent data and cache?

37. Is distributed Redis to be done in the early stage or in the later stage when the scale is up? Why?

38. What is Twemproxy?

39. Which clients support consistent hashing?

40、Redis与其他key-value存储有什么不同?

41、Redis的内存占用情况怎么样?

42、都有哪些办法可以降低Redis的内存使用情况呢?

43、查看Redis使用情况及状态信息用什么命令?

44、Redis的内存用完了会发生什么?

45、Redis是单线程的,如何提高多核CPU的利用率?

46、一个Redis实例最多能存放多少的keys?List、Set、Sorted Set他们最多能存放多少元素?

47、Redis常见性能问题和解决方案?

48、Redis提供了哪几种持久化方式?

49、如何选择合适的持久化方式?

50、修改配置不重启Redis会实时生效吗?

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324517414&siteId=291194637