{"id":1796,"date":"2014-12-16T18:05:27","date_gmt":"2014-12-16T18:05:26","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=1796"},"modified":"2017-02-27T15:09:19","modified_gmt":"2017-02-27T23:09:19","slug":"starting-membase-nodejs","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/","title":{"rendered":"Starting Membase with NodeJS"},"content":{"rendered":"<p>Happily, I&#8217;ve recently found an intersection of tasks that I can roll into a single, quick, unified project.\u00a0 Here&#8217;s a small subset of my to-do list&#8230;<\/p>\n<p>&#8211; build some automated Membase\/Moxi cluster testing, with a large number of nodes<br \/>\n&#8211; show how folks can use TAP streams in Membase for great good<br \/>\n&#8211; learn more about that other new hot thing, nodejs<br \/>\n&#8211; blog more<\/p>\n<p>Clearly, the stars are aligned for me to build a Membase cluster exerciser, in nodejs, and blog about it along the way.\u00a0 I certainly hope to learn a lot about nodejs by doing this, and I hope to impart some practical knowledge to you about Membase.<\/p>\n<p>Membase allows users to connect using either of the two memcached<br \/>\nprotocols: ascii or binary.<\/p>\n<p>TAP streams, however, are memcached binary protocol only.\u00a0 Step one, then, is to ensure that nodejs can support raw binary TCP communication, which it certainly can through its <a href=\"https:\/\/nodejs.org\/api.html#buffers-2\">binary buffer encodings<\/a>.\u00a0 However, nodejs seems to be missing the classic ntohl and htonl functions out of the box that are needed for any binary protocol manipulations.<\/p>\n<p>As a gentle start, then, here&#8217;s a first contribution to the nodejs world, which is a nodejs implementation of the ntohl\/htonl functions&#8230;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n\/* Copyright 2010 Membase, Inc.<br \/>\n*<br \/>\n* Licensed under the Apache License, Version 2.0 (the &#8220;License&#8221;);<br \/>\n* you may not use this file except in compliance with the License.<br \/>\n* You may obtain a copy of the License at<br \/>\n*<br \/>\n*\u00a0\u00a0 <a href=\"https:\/\/www.apache.org\/licenses\/LICENSE-2.0\">https:\/\/www.apache.org\/licenses\/LICENSE-2.0<\/a><br \/>\n*<br \/>\n* Unless required by applicable law or agreed to in writing, software<br \/>\n* distributed under the License is distributed on an &#8220;AS IS&#8221; BASIS,<br \/>\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br \/>\n* See the License for the specific language governing permissions and<br \/>\n* limitations under the License.<br \/>\n*\/<br \/>\nexports.htons = function(b, i, v) {<br \/>\nb[i]\u00a0\u00a0 = (0xff &amp; (v &gt;&gt; 8));<br \/>\nb[i+1] = (0xff &amp; (v));<br \/>\n}<br \/>\nexports.ntohs = function(b, i) {<br \/>\nreturn ((0xff &amp; b[i + 0]) &lt;&lt; 8) |<br \/>\n((0xff &amp; b[i + 1]));<br \/>\n}<br \/>\nexports.ntohsStr = function(s, i) {<br \/>\nreturn ((0xff &amp; s.charCodeAt(i + 0)) &lt;&lt; 8) |<br \/>\n((0xff &amp; s.charCodeAt(i + 1))); }<br \/>\nexports.htonl = function(b, i, v) {<br \/>\nb[i+0] = (0xff &amp; (v &gt;&gt; 24));<br \/>\nb[i+1] = (0xff &amp; (v &gt;&gt; 16));<br \/>\nb[i+2] = (0xff &amp; (v &gt;&gt; 8));<br \/>\nb[i+3] = (0xff &amp; (v));<br \/>\n}<br \/>\nexports.ntohl = function(b, i) {<br \/>\nreturn ((0xff &amp; b[i + 0]) &lt;&lt; 24) |<br \/>\n((0xff &amp; b[i + 1]) &lt;&lt; 16) |<br \/>\n((0xff &amp; b[i + 2]) &lt;&lt; 8) |<br \/>\n((0xff &amp; b[i + 3]));<br \/>\n}<br \/>\nexports.ntohlStr = function(s, i) {<br \/>\nreturn ((0xff &amp; s.charCodeAt(i + 0)) &lt;&lt; 24) |<br \/>\n((0xff &amp; s.charCodeAt(i + 1)) &lt;&lt; 16) |<br \/>\n((0xff &amp; s.charCodeAt(i + 2)) &lt;&lt; 8) |<br \/>\n((0xff &amp; s.charCodeAt(i + 3))); }<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nThis JavaScript stuff might actually go places.\u00a0 Above, a &#8220;b&#8221; parameter may either be an Array of octets or a nodejs Buffer.\u00a0 A &#8220;s&#8221; parameter is a JavaScript string. &#8220;i&#8221; is a zero-based index into an Array\/Buffer\/String.<\/p>\n<p>More&#8217;s coming soon, where I&#8217;ll next show how to create a connection to Membase in nodejs and encode\u00a0and decode binary protocol messages to Membase.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happily, I&#8217;ve recently found an intersection of tasks that I can roll into a single, quick, unified project.\u00a0 Here&#8217;s a small subset of my to-do list&#8230; &#8211; build some automated Membase\/Moxi cluster testing, with a large number of nodes &#8211; [&hellip;]<\/p>\n","protected":false},"author":42,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"ppma_author":[9006],"class_list":["post-1796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Starting Membase with NodeJS - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Starting Membase with NodeJS\" \/>\n<meta property=\"og:description\" content=\"Happily, I&#8217;ve recently found an intersection of tasks that I can roll into a single, quick, unified project.\u00a0 Here&#8217;s a small subset of my to-do list&#8230; &#8211; build some automated Membase\/Moxi cluster testing, with a large number of nodes &#8211; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-16T18:05:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-02-27T23:09:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/11\/couchbase-nosql-dbaas.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Steve Yen, Co-Founder, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Steve Yen, Co-Founder, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/\"},\"author\":{\"name\":\"Steve Yen, Co-Founder, Couchbase\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/049e9d291e3c800f3cebefb317eac4df\"},\"headline\":\"Starting Membase with NodeJS\",\"datePublished\":\"2014-12-16T18:05:26+00:00\",\"dateModified\":\"2017-02-27T23:09:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/\"},\"wordCount\":509,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/\",\"name\":\"Starting Membase with NodeJS - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2014-12-16T18:05:26+00:00\",\"dateModified\":\"2017-02-27T23:09:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/11\\\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/starting-membase-nodejs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Starting Membase with NodeJS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/admin-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/049e9d291e3c800f3cebefb317eac4df\",\"name\":\"Steve Yen, Co-Founder, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=ga3c5395b07cad124c876488aa4d9643b\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=g\",\"caption\":\"Steve Yen, Co-Founder, Couchbase\"},\"description\":\"Steve Yen is a Co-Founder and Senior Software Engineer, Couchbase. Mr. Yen is a UC Berkeley Computer Science graduate. Steve Yen co-founded Kiva Software.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/author\\\/steve-yen\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Starting Membase with NodeJS - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/","og_locale":"en_US","og_type":"article","og_title":"Starting Membase with NodeJS","og_description":"Happily, I&#8217;ve recently found an intersection of tasks that I can roll into a single, quick, unified project.\u00a0 Here&#8217;s a small subset of my to-do list&#8230; &#8211; build some automated Membase\/Moxi cluster testing, with a large number of nodes &#8211; [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/","og_site_name":"The Couchbase Blog","article_published_time":"2014-12-16T18:05:26+00:00","article_modified_time":"2017-02-27T23:09:19+00:00","og_image":[{"width":1800,"height":630,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/11\/couchbase-nosql-dbaas.png","type":"image\/png"}],"author":"Steve Yen, Co-Founder, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Steve Yen, Co-Founder, Couchbase","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/"},"author":{"name":"Steve Yen, Co-Founder, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/049e9d291e3c800f3cebefb317eac4df"},"headline":"Starting Membase with NodeJS","datePublished":"2014-12-16T18:05:26+00:00","dateModified":"2017-02-27T23:09:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/"},"wordCount":509,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/","url":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/","name":"Starting Membase with NodeJS - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2014-12-16T18:05:26+00:00","dateModified":"2017-02-27T23:09:19+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/starting-membase-nodejs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Starting Membase with NodeJS"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/049e9d291e3c800f3cebefb317eac4df","name":"Steve Yen, Co-Founder, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=ga3c5395b07cad124c876488aa4d9643b","url":"https:\/\/secure.gravatar.com\/avatar\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=g","caption":"Steve Yen, Co-Founder, Couchbase"},"description":"Steve Yen is a Co-Founder and Senior Software Engineer, Couchbase. Mr. Yen is a UC Berkeley Computer Science graduate. Steve Yen co-founded Kiva Software.","url":"https:\/\/www.couchbase.com\/blog\/author\/steve-yen\/"}]}},"acf":[],"authors":[{"term_id":9006,"user_id":42,"is_guest":0,"slug":"steve-yen","display_name":"Steve Yen, Co-Founder, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/2dc772ce88fe0b6b2d936151ab577215a006720e65a982f47f655eb58ea5bcf0?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/1796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=1796"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/1796\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=1796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=1796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=1796"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=1796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}