Are you, as a programmer, still collecting interview questions around the corner? Even if you do find the interview questions, it’s hard to find the right answers.

Sorry, your welfare so come, pay attention to me, every day off work glance, the most authoritative BATJ and other big factory interview questions and answers to your own collection.

Without further ado, enter the first question in the BAT Interview series every day:

Today’s topic is about Redis:

Q:

How to design distributed locks using Redis? What is the implementation idea? Is zK ok? How to do that? What’s the difference between the two?

Post your answers in the comments section, and your answers will be revealed after the interview questions the next day. See how close you are to BATJ?