educative.io

Why use Hbase when we need consistency?

Why cant we use my sql instead of Hbase? Hbase will be strong consistence and partition tolerance so it cannot give availability? If you store all user data on one db, you can use my sql also?Only benefit I see is that it store current data in RAM. But again, it will have to log data when it writes to RAM and that log has to be synced to disk before we return success to user.

Anyhow HBASE in consistency will do Disk operation to log each write request, so can you tell how it is better than MYSQL?You said it will store in memory which is partially true as it also write to disk in case of consistency which makes it slow.

I feel you should give proper justification