{"id":1072,"date":"2010-03-08T17:37:09","date_gmt":"2010-03-08T22:37:09","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/links\/boosting-mongodb-performance-with-unix-sockets.html"},"modified":"2010-03-08T17:37:09","modified_gmt":"2010-03-08T22:37:09","slug":"boosting-mongodb-performance-with-unix-sockets","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/links\/boosting-mongodb-performance-with-unix-sockets.html","title":{"rendered":"Boosting MongoDB performance with Unix sockets"},"content":{"rendered":"<p>MongoDB lacks Unix domain socket support. Using a file socket rather than a TCP socket results in better performance. &#8220;Running the same benchmarks gives [a] time of 35.8s, vs 43.9s over TCP, and 28.9s with the RAM cache vs 31.1s on TCP.&#8221; Here&#8217;s a patch implementing domain sockets for MongoDB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MongoDB lacks Unix domain socket support. Using a file socket rather than a TCP socket results in better performance. &#8220;Running the same benchmarks gives [a] time of 35.8s, vs 43.9s over TCP, and 28.9s with the RAM cache vs 31.1s on TCP.&#8221; Here&#8217;s a patch implementing domain sockets for MongoDB.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[33],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1072"}],"collection":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/comments?post=1072"}],"version-history":[{"count":0,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1072\/revisions"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=1072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=1072"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=1072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}