How HashMap work in Java?
1. internal working - https://t.co/RarKNNTlYd
2. get and put working -https://t.co/7LrdXh35sN
3. core java courses - https://t.co/ErQM5pNm5q Best-10-advanced-core-java-courses-for-experienced-developers.html
How can Redis be used?
There is more to Redis than just caching.
Redis can be used in a variety of scenarios as shown in the diagram.
🔹Session
We can use Redis to share user session data among different services.
🔹Cache
We can use Redis to cache objects or pages, especially for hotspot data.
🔹Distributed lock
We can use a Redis string to acquire locks among distributed services.
🔹Counter
We can count how many likes or how many reads for articles.
🔹Rate limiter
We can apply a rate limiter for certain user IPs.
🔹Global ID generator
We can use Redis Int for global ID.
🔹Shopping cart
We can use Redis Hash to represent key-value pairs in a shopping cart.
🔹Calculate user retention
We can use Bitmap to represent the user login daily and calculate user retention.
🔹Message queue
We can use List for a message queue.
🔹Ranking
We can use ZSet to sort the articles.
Over to you: Have you used Redis for other use cases? What are they?
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/FIzCeaWsZV
Ever wonder how databases store all that info so quickly?
These 8 data structures are the backbone of databases, keeping your information organized, accessible, and ready to use!
Head over to the full blog post ➡️ https://t.co/Me1zISHE51
#Database#DataStructures
CSS units let you measure & specify different property values in your code.
There are lots of types of units - when do you use each one?
In this guide, @thedocsgirl explains relative vs absolute units & how rem, em, px, vh, vw, and % work with examples.
https://t.co/o8sUKlJ8r9