Read more

View all

Database Partitioning

Partitioning is an act of breaking data elements into multiple entities done for performance, mana…

Horizontal Partitioning vs Vertical Partitioning

Partitioning is an act of breaking data elements into multiple entities done for performance,manag…

Horizontal Scaling vs Vertical Scaling

Horizontal scaling means adding more machines, which is cheaper & more feasible  Vertical sca…

What is Sharding

Sharding is a technique to break a database into smaller parts(chunks) Each individual partitio…

Consistent Hashing

What is Hashing A hash function is any function that can be used to map data of arbitrary size …

LRU (Least Recently Used) Cache

What is Cache  Cache is a hardware or software component that Stores data to speed up the sam…

Operation requires a scrollable ResultSet, but this ResultSet is FORWARD_ONLY

a better way to count the number of rows would be rs = pstat . executeQuery (); …

How to Get the row count from ResultSet in JDBC

ResultSet rs = stmt . executeQuery ( "select count(*) from Student" ); rs . last (); …

How to add or insert ' (single quotes) for every string in a list in which strings are separated by commas using Java

I have a list as below [ url1 , url2 , url3 , url4 ] I want the above string list to be di…

How to Design a Distributed Caching System like Redis or Memcached

STEP 1: Talk on Features and Expectations Caching allows us to reuse previously retrieved data.…

Load More That is All