{"id":5247,"date":"2020-01-08T05:13:16","date_gmt":"2020-01-08T05:13:16","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=5247"},"modified":"2020-01-08T06:22:12","modified_gmt":"2020-01-08T06:22:12","slug":"how-to-do-load-balancing-and-connection-pooling-with-pgpool","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/","title":{"rendered":"Load balancing &amp; connection pooling using Pgpool-II"},"content":{"rendered":"<p>In this post, We are going to perform load balance with master-slave mode and connection pooling using Pgpool on a Amazon RDS postgresql cluster.<\/p>\n<p>&nbsp;<\/p>\n<h2>What is Pgpool-II?<\/h2>\n<p>&nbsp;<\/p>\n<p>Pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client.<\/p>\n<p>It provides the following features:<\/p>\n<ul>\n<li>Connection Pooling<\/li>\n<li>Replication<\/li>\n<li>Load Balancing<\/li>\n<li>Limiting Exceeding Connections<\/li>\n<li>In Memory Query Cache<b><\/b><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><strong>Master-Slave mode: <\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>Pgpool-II load balancing of select queries works with Master-Slave mode to distribute the read load on the standby backend nodes, when load balancing is enabled with Master-Slave mode Pgpool-II sends the writing queries to the primary node in Master Slave mode and read queries to other nodes.<\/p>\n<p>&nbsp;<\/p>\n<p>You can read more about it <a href=\"https:\/\/www.pgpool.net\/mediawiki\/index.php\/Main_Page\" target=\"_blank\" rel=\"noopener noreferrer\">here.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Now, Let\u2019s start with the installation:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Prepare the RDS instances:<\/b><\/h2>\n<p>&nbsp;<\/p>\n<p><strong>Writable instance: <\/strong>Start a new RDS instance.<\/p>\n<p>For this tutorial we&#8217;ll be using t2.micro instance with postgresql version 11.5r1 (latest supported postgresql version).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Note: During the creation of DB instance Backup retention for DB instance must be enabled.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>All the DDL (Data definition language) queries will be directed to writable RDS instance by pgpool.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Readable<\/strong> <strong>Replica:<\/strong> After the instance is in available state, select the instance and click on the actions menu to select the <strong>create read replica<\/strong> option as\u00a0 a result a read replica instance will be created.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Prepare the EC2 instance:<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>For the sake of this tutorial, we&#8217;ll be using a t2.micro instance with Ubuntu 18.04 LTS operating system.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Installing Pgpool-II:<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>We&#8217;ll be installing pgpool-II version 4.1.0 (karasukiboshi)<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>Step 1<\/strong>: Update the existing packages of distribution<strong><br \/>\n<\/strong><\/h4>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">sudo apt update<\/pre>\n<p>&nbsp;<\/p>\n<h4><strong>Step 2: <\/strong>Add postgresql repository<\/h4>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">echo \"deb http:\/\/apt.postgresql.org\/pub\/repos\/apt\/ `lsb_release -cs`-pgdg main\" \\\r\n|sudo tee  \/etc\/apt\/sources.list.d\/pgdg.list<\/pre>\n<p>&nbsp;<\/p>\n<p>We need to import GPG key and add PostgreSQL repository into our Ubuntu instance.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">wget --quiet -O - https:\/\/www.postgresql.org\/media\/keys\/ACCC4CF8.asc | sudo apt-key add -<\/pre>\n<p>&nbsp;<\/p>\n<p>Repository has been added successfully,\u00a0 hence update the package list and install pgpool2.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo apt update\r\nsudo apt install -y pgpool2<\/pre>\n<p>&nbsp;<\/p>\n<p>Therefore, to start pgpool2 use the pgpool2 systemd unit file.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">sudo systemctl start pgpool2<\/pre>\n<p>&nbsp;<\/p>\n<p>Similarly, to stop<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl stop pgpool2<\/pre>\n<p>&nbsp;<\/p>\n<h4><strong>Step 3: <\/strong>Configuring pgpool2<\/h4>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo vim \/etc\/pgpool2\/pgpool.conf<\/pre>\n<p>&nbsp;<\/p>\n<p>Most of the configuration of pgpool is already done in file \/etc\/pgpool2\/pgpool.conf as a result only some parameters are required to change.<\/p>\n<p>The table below shows the important ones.<\/p>\n<p>&nbsp;<\/p>\n<table style=\"height: 710px\" width=\"920\" cellspacing=\"0\" cellpadding=\"4\">\n<colgroup>\n<col width=\"128*\" \/>\n<col width=\"128*\" \/> <\/colgroup>\n<tbody>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>listen_addresses<\/strong><\/td>\n<td width=\"50%\">\u2018*\u2019<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_hostname0<\/strong><\/td>\n<td width=\"50%\">Amazon RDS postgresql writeable endpoint.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_port0<\/strong><\/td>\n<td width=\"50%\">5432<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_flag0<\/strong><\/td>\n<td width=\"50%\">ALWAYS_MASTER<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_weight0<\/strong><\/td>\n<td width=\"50%\">1<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_hostname1<\/strong><\/td>\n<td width=\"50%\">Amazon RDS postgresql read replica endpoint.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_port1<\/strong><\/td>\n<td width=\"50%\">5432<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>backend_weight1<\/strong><\/td>\n<td width=\"50%\">2<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>enable_pool_hba<\/strong><\/td>\n<td width=\"50%\">on<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>pool_passwd<\/strong><\/td>\n<td width=\"50%\">\u2018pool_passwd\u2019<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>replication_mode<\/strong><\/td>\n<td width=\"50%\">off<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>load_balance_mode<\/strong><\/td>\n<td width=\"50%\">on<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>master_slave_mode<\/strong><\/td>\n<td width=\"50%\">on<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>master_slave_sub_mode<\/strong><\/td>\n<td width=\"50%\">\u2018stream\u2019<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>sr_check_period<\/strong><\/td>\n<td width=\"50%\">0<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>health_check_period<\/strong><\/td>\n<td width=\"50%\">5<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>health_check_user<\/strong><\/td>\n<td width=\"50%\">postgres<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>health_check_password<\/strong><\/td>\n<td width=\"50%\">Password for postgres user<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>health_check_max_retries<\/strong><\/td>\n<td width=\"50%\">20<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>health_check_retry_delay<\/strong><\/td>\n<td width=\"50%\">1<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>failover_on_backend_error<\/strong><\/td>\n<td width=\"50%\">off<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4><strong>Step 4<\/strong>: Creating the pool_passwd file:<\/h4>\n<p>&nbsp;<\/p>\n<p>Above all, We&#8217;ll be using pg_md5 command line utility to generate the pool_passwd file here&#8217;s the syntax of the command:<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">pg_md5 --md5auth --username=username password<\/pre>\n<p>&nbsp;<\/p>\n<p>Here, replace username with your postgresql username and also replace password with your own postgresql password.<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>Step 5: <\/strong>In addition to this, we&#8217;ll check if both write instance and read replica are recognized by pgpool:<\/h4>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">cat \/var\/log\/postgresql\/pgpool_status<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Note: The file would show &#8216;up&#8217; for both the instances, as a result traffic on both these instances will be distributed.<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h2>Testing the installation:<\/h2>\n<p>&nbsp;<\/p>\n<p>Furthermore, To test the installation enable the log parameters in<\/p>\n<p><em>\/etc\/pgpool2\/pgpool.conf<\/em> file:<\/p>\n<p>&nbsp;<\/p>\n<table width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">\n<colgroup>\n<col width=\"128*\" \/>\n<col width=\"128*\" \/> <\/colgroup>\n<tbody>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>log_destination<\/strong><\/td>\n<td width=\"50%\">\u2018syslog\u2019<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>log_statement<\/strong><\/td>\n<td width=\"50%\">on<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td width=\"50%\"><strong>log_per_node_statement<\/strong><\/td>\n<td width=\"50%\">on<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>In addition, Restart pgpool:<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl restart pgpool2<\/pre>\n<p>Install postgresql client:<\/p>\n<pre class=\"lang:sh decode:true\">sudo apt install postgresql-client<\/pre>\n<p>Furthermore, Connecting to postgresql server via pgpool<\/p>\n<pre class=\"lang:default decode:true\">psql -h localhost -p 5432 -U postgres -W<\/pre>\n<p>In addition, Enter password in password prompt<\/p>\n<p>Also, in the second terminal monitor the syslog<\/p>\n<pre class=\"lang:default decode:true\">tail -f \/var\/log\/syslog<\/pre>\n<p>In another terminal where psql command is executed.<\/p>\n<p>Create a new database, new table and insert some data into it<\/p>\n<pre class=\"lang:default decode:true\">CREATE DATABASE TEST;<\/pre>\n<p>Above all, Connect to the newly created database:<\/p>\n<pre class=\"lang:default decode:true\">\\c TEST<\/pre>\n<p>Create new table:<\/p>\n<pre class=\"lang:default decode:true\">CREATE TABLE TEST_TABLE(VAL VARCHAR(10));<\/pre>\n<p>Likewise, insert value in the table<\/p>\n<pre class=\"lang:default decode:true\">INSERT INTO TEST_TABLE VALUES('DATA');<\/pre>\n<p>Finally, read data from table<\/p>\n<pre class=\"lang:default decode:true\">SELECT * FROM TEST_TABLE;<\/pre>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2020\/01\/SC2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5274 aligncenter\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2020\/01\/SC2-300x97.png\" alt=\"\" width=\"934\" height=\"302\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Therefore, DB node number 0 in the logs shows that the write instance is being used and node 1 shows that read replica is being used.<\/p>\n<p><strong>Note: If there are read queries within the transaction they are forwarded to the write instance, otherwise read queries are load balanced between both the instances.<br \/>\n<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, We are going to perform load balance with master-slave mode and connection <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[32,2,86],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Load balancing &amp; connection pooling using Pgpool-II - Cloudkul<\/title>\n<meta name=\"description\" content=\"Guide on how to use for pgpool load balance with master slave mode for SELECT queries and connection pooling with Amazon RDS postgresql cluster\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Load balancing &amp; connection pooling using Pgpool-II - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Guide on how to use for pgpool load balance with master slave mode for SELECT queries and connection pooling with Amazon RDS postgresql cluster\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-08T05:13:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-08T06:22:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2020\/01\/SC2-300x97.png\" \/>\n<meta name=\"author\" content=\"Gurneesh Chahal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/\",\"name\":\"Load balancing &amp; connection pooling using Pgpool-II - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2020-01-08T05:13:16+00:00\",\"dateModified\":\"2020-01-08T06:22:12+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/81a8a81b4eabca627ee9cca0237f750b\"},\"description\":\"Guide on how to use for pgpool load balance with master slave mode for SELECT queries and connection pooling with Amazon RDS postgresql cluster\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Load balancing &amp; connection pooling using Pgpool-II\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/81a8a81b4eabca627ee9cca0237f750b\",\"name\":\"Gurneesh Chahal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1110419d45ba7ad9be77b9e0cc0beb7?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1110419d45ba7ad9be77b9e0cc0beb7?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Gurneesh Chahal\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/gurneeshchahal-cloud707\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Load balancing &amp; connection pooling using Pgpool-II - Cloudkul","description":"Guide on how to use for pgpool load balance with master slave mode for SELECT queries and connection pooling with Amazon RDS postgresql cluster","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:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/","og_locale":"en_US","og_type":"article","og_title":"Load balancing &amp; connection pooling using Pgpool-II - Cloudkul","og_description":"Guide on how to use for pgpool load balance with master slave mode for SELECT queries and connection pooling with Amazon RDS postgresql cluster","og_url":"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/","og_site_name":"Cloudkul","article_published_time":"2020-01-08T05:13:16+00:00","article_modified_time":"2020-01-08T06:22:12+00:00","og_image":[{"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2020\/01\/SC2-300x97.png"}],"author":"Gurneesh Chahal","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/","url":"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/","name":"Load balancing &amp; connection pooling using Pgpool-II - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2020-01-08T05:13:16+00:00","dateModified":"2020-01-08T06:22:12+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/81a8a81b4eabca627ee9cca0237f750b"},"description":"Guide on how to use for pgpool load balance with master slave mode for SELECT queries and connection pooling with Amazon RDS postgresql cluster","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/how-to-do-load-balancing-and-connection-pooling-with-pgpool\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Load balancing &amp; connection pooling using Pgpool-II"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/81a8a81b4eabca627ee9cca0237f750b","name":"Gurneesh Chahal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1110419d45ba7ad9be77b9e0cc0beb7?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1110419d45ba7ad9be77b9e0cc0beb7?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Gurneesh Chahal"},"url":"https:\/\/cloudkul.com\/blog\/author\/gurneeshchahal-cloud707\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/5247"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=5247"}],"version-history":[{"count":8,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/5247\/revisions"}],"predecessor-version":[{"id":5276,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/5247\/revisions\/5276"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=5247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=5247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=5247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}