{"id":611,"date":"2020-11-09T10:17:54","date_gmt":"2020-11-09T10:17:54","guid":{"rendered":"https:\/\/vwo.com\/product-updates\/?p=611"},"modified":"2024-07-09T04:30:30","modified_gmt":"2024-07-09T04:30:30","slug":"configure-event-batching-in-vwo-fullstack-to-reduce-network-requests","status":"publish","type":"post","link":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/","title":{"rendered":"Configure Event Batching in VWO FullStack to Improve Performance"},"content":{"rendered":"\n<p><a href=\"https:\/\/vwo.com\/testing\/server-side\/\">VWO<strong> <\/strong>FullStack<\/a> is an Experimentation and Feature Flagging platform for mobile apps and backend services. You can test and rollout\/rollback features using VWO FullStack. All of this functionality is available with zero performance impact via easy-to-use <a href=\"https:\/\/help.vwo.com\/hc\/en-us\/articles\/900001640366-SDKs-Supported-in-VWO-FullStack\">SDKs<\/a>. It allows you to test the algorithms, recommendation engines, subscription flows, etc.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Event Batching Improves SDK Performance?<\/h2>\n\n\n\n<p>Different <a href=\"https:\/\/developers.vwo.com\/reference#fullstack-sdk-instantiation\">APIs<\/a> need to be triggered to track the visitors and goals in VWO FullStack. Every time the API is triggered, an event is sent to the VWO server for it to be tracked and shown in the reporting. So, let\u2019s say if thousands of visitors and the corresponding conversions need to be tracked daily, SDK would send an equal number of network requests to the VWO servers for them to be tracked. It creates the overhead of sending one network request for tracking every visitor or goal.<\/p>\n\n\n\n<p>Event Batching allows you to process the events for visitors and goal tracking, place them in a queue and dispatch it in a single network request to the VWO servers. SDK lets you batch events and provides options to set a maximum batch size and flush interval timeout. It eliminates the overhead of sending the individual network request for tracking each visitor or goal.<\/p>\n\n\n\n<p>For example, if there are 4000 events, SDK can process them, add them to a queue, and send all of them to VWO servers in a single network request.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2434\" height=\"1682\" src=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png\" alt=\"Serial Vs Batched 2\" class=\"wp-image-614\" srcset=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png 2434w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png?tr=w-1600 1600w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png?tr=w-1366 1366w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png?tr=w-1024 1024w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png?tr=w-768 768w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png?tr=w-640 640w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png?tr=w-375 375w\" sizes=\"(max-width: 2434px) 100vw, 2434px\" \/><figcaption class=\"wp-element-caption\"><strong>Serial vs Batched Events Flow<\/strong><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why should you batch Events?<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It brings in efficiency, i.e., SDK will have to send fewer network requests for tracking visitors or goals.<\/li>\n\n\n\n<li>Increases flexibility in sending events to the VWO server, i.e., to send events, you have the option to configure the batch size (number of events) or the time interval.<\/li>\n\n\n\n<li>You have the option to flush the events data in the queue to the VWO server in case you want to reflect that data in VWO reporting dashboards. This also helps in preventing data loss in case your server needs to be restarted.<\/li>\n<\/ul>\n\n\n\n<p>To know more about Event batching in VWO, you can refer to this <a href=\"https:\/\/help.vwo.com\/hc\/en-us\/articles\/900003389886\">Knowledge Base Article<\/a>.&nbsp;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VWO FullStack is an Experimentation and Feature Flagging platform for mobile apps and backend services. You can test and rollout\/rollback features using VWO FullStack. All of this functionality is available with zero performance impact via easy-to-use SDKs. It allows you to test the algorithms, recommendation engines, subscription flows, etc.\u00a0 How Event Batching Improves SDK Performance?&#8230;<\/p>\n","protected":false},"author":420,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[9,10],"feature":[],"industry-type":[],"class_list":["post-611","post","type-post","status-publish","format-standard","hentry","category-fullstack","tag-sdk","tag-server-side-testing"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configure Event Batching in VWO FullStack to Reduce Network Requests| VWO Product Updates<\/title>\n<meta name=\"description\" content=\"VWO&#039;s SDK now lets you batch events and provides options to set a maximum batch size and flush interval timeout eliminating the overhead of sending the individual network requests.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Event Batching in VWO FullStack to Reduce Network Requests| VWO Product Updates\" \/>\n<meta property=\"og:description\" content=\"VWO&#039;s SDK now lets you batch events and provides options to set a maximum batch size and flush interval timeout eliminating the overhead of sending the individual network requests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\" \/>\n<meta property=\"og:site_name\" content=\"VWO Product Updates\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-09T10:17:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-09T04:30:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png\" \/>\n<meta name=\"author\" content=\"Aman Garg\" \/>\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\":\"Article\",\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\"},\"author\":{\"name\":\"Aman Garg\",\"@id\":\"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/d8c3b030c9b2f37d71caeee090f968aa\"},\"headline\":\"Configure Event Batching in VWO FullStack to Improve Performance\",\"datePublished\":\"2020-11-09T10:17:54+00:00\",\"dateModified\":\"2024-07-09T04:30:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\"},\"wordCount\":365,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png\",\"keywords\":[\"SDK\",\"Server Side Testing\"],\"articleSection\":[\"VWO FullStack\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\",\"url\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\",\"name\":\"Configure Event Batching in VWO FullStack to Reduce Network Requests| VWO Product Updates\",\"isPartOf\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png\",\"datePublished\":\"2020-11-09T10:17:54+00:00\",\"dateModified\":\"2024-07-09T04:30:30+00:00\",\"author\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/d8c3b030c9b2f37d71caeee090f968aa\"},\"description\":\"VWO's SDK now lets you batch events and provides options to set a maximum batch size and flush interval timeout eliminating the overhead of sending the individual network requests.\",\"breadcrumb\":{\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage\",\"url\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png\",\"contentUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vwo.com\/product-updates\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure Event Batching in VWO FullStack to Improve Performance\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vwo.com\/product-updates\/#website\",\"url\":\"https:\/\/vwo.com\/product-updates\/\",\"name\":\"VWO Product Updates\",\"description\":\"Just another VWO site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vwo.com\/product-updates\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/d8c3b030c9b2f37d71caeee090f968aa\",\"name\":\"Aman Garg\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Photograph_Aman-Garg-e1604912172611.jpg\",\"contentUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Photograph_Aman-Garg-e1604912172611.jpg\",\"caption\":\"Aman Garg\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure Event Batching in VWO FullStack to Reduce Network Requests| VWO Product Updates","description":"VWO's SDK now lets you batch events and provides options to set a maximum batch size and flush interval timeout eliminating the overhead of sending the individual network requests.","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:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/","og_locale":"en_US","og_type":"article","og_title":"Configure Event Batching in VWO FullStack to Reduce Network Requests| VWO Product Updates","og_description":"VWO's SDK now lets you batch events and provides options to set a maximum batch size and flush interval timeout eliminating the overhead of sending the individual network requests.","og_url":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/","og_site_name":"VWO Product Updates","article_published_time":"2020-11-09T10:17:54+00:00","article_modified_time":"2024-07-09T04:30:30+00:00","og_image":[{"url":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png","type":"","width":"","height":""}],"author":"Aman Garg","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#article","isPartOf":{"@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/"},"author":{"name":"Aman Garg","@id":"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/d8c3b030c9b2f37d71caeee090f968aa"},"headline":"Configure Event Batching in VWO FullStack to Improve Performance","datePublished":"2020-11-09T10:17:54+00:00","dateModified":"2024-07-09T04:30:30+00:00","mainEntityOfPage":{"@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/"},"wordCount":365,"commentCount":0,"image":{"@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage"},"thumbnailUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png","keywords":["SDK","Server Side Testing"],"articleSection":["VWO FullStack"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/","url":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/","name":"Configure Event Batching in VWO FullStack to Reduce Network Requests| VWO Product Updates","isPartOf":{"@id":"https:\/\/vwo.com\/product-updates\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage"},"image":{"@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage"},"thumbnailUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png","datePublished":"2020-11-09T10:17:54+00:00","dateModified":"2024-07-09T04:30:30+00:00","author":{"@id":"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/d8c3b030c9b2f37d71caeee090f968aa"},"description":"VWO's SDK now lets you batch events and provides options to set a maximum batch size and flush interval timeout eliminating the overhead of sending the individual network requests.","breadcrumb":{"@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#primaryimage","url":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png","contentUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Serial-vs-Batched-2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/vwo.com\/product-updates\/configure-event-batching-in-vwo-fullstack-to-reduce-network-requests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vwo.com\/product-updates\/"},{"@type":"ListItem","position":2,"name":"Configure Event Batching in VWO FullStack to Improve Performance"}]},{"@type":"WebSite","@id":"https:\/\/vwo.com\/product-updates\/#website","url":"https:\/\/vwo.com\/product-updates\/","name":"VWO Product Updates","description":"Just another VWO site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vwo.com\/product-updates\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/d8c3b030c9b2f37d71caeee090f968aa","name":"Aman Garg","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vwo.com\/product-updates\/#\/schema\/person\/image\/","url":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Photograph_Aman-Garg-e1604912172611.jpg","contentUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/13\/2020\/11\/Photograph_Aman-Garg-e1604912172611.jpg","caption":"Aman Garg"}}]}},"_links":{"self":[{"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/posts\/611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/users\/420"}],"replies":[{"embeddable":true,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/comments?post=611"}],"version-history":[{"count":11,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/posts\/611\/revisions"}],"predecessor-version":[{"id":2829,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/posts\/611\/revisions\/2829"}],"wp:attachment":[{"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/media?parent=611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/categories?post=611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/tags?post=611"},{"taxonomy":"feature","embeddable":true,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/feature?post=611"},{"taxonomy":"industry-type","embeddable":true,"href":"https:\/\/vwo.com\/product-updates\/wp-json\/wp\/v2\/industry-type?post=611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}