{"id":39,"date":"2015-10-10T20:00:51","date_gmt":"2015-10-10T14:30:51","guid":{"rendered":"http:\/\/madhurendra.com\/?p=39"},"modified":"2016-01-29T09:14:42","modified_gmt":"2016-01-29T03:44:42","slug":"redis-vs-mongodb","status":"publish","type":"post","link":"https:\/\/madhurendra.com\/redis-vs-mongodb\/","title":{"rendered":"Redis Vs MongoDB"},"content":{"rendered":"

Redis and Mongodb are considered to solve a common problem that “There is something wrong with RDBMS”
\nSo what is difference ?<\/p>\n

    \n
  1. Redis is stored in memory and swapped with disk, So data is not lost and you can enjoy performance of your RAM. (Not to be confused with Memcached it is memory only database) whereas<\/em> Mongodb is disk only database.<\/li>\n
  2. Redis can store many type of object strings, hashes, lists, sets, sorted sets whereas<\/em> Mongo can only store key value pair in form of document (mongo is schemaless).<\/li>\n
  3. Redis is hard to learn whereas<\/em> mongo is easier to understand and get started.<\/li>\n
  4. Redis has no support for clustering (Clustering support has been added since version 3.0) whereas<\/em> mongo has inbuilt clustering support.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

    Redis and Mongodb are considered to solve a common problem that “There is something wrong with RDBMS” So what is difference ? Redis is stored in memory and swapped with disk, So data is not lost and you can enjoy performance of your RAM. (Not to be confused with Memcached it is memory only database) … <\/p>\n

    Continue reading<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-uncategorized","item-wrap"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_shortlink":"https:\/\/wp.me\/pciGs2-D","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":5,"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/posts\/39\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/madhurendra.com\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}