{"id":5616,"date":"2018-08-22T13:15:27","date_gmt":"2018-08-22T20:15:27","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=5616"},"modified":"2025-06-13T22:40:27","modified_gmt":"2025-06-14T05:40:27","slug":"timers-couchbase-functions","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/","title":{"rendered":"Timers in Couchbase Functions"},"content":{"rendered":"<p><span style=\"font-weight: 400\">We are pleased to announce the support of Timers in <a href=\"https:\/\/couchbase.com\/downloads?family=server&amp;product=couchbase-server-developer\">Couchbase 6.0 Beta<\/a> release. This is the an important innovation in <a href=\"https:\/\/www.couchbase.com\/blog\/eventing\/\">Couchbase Functions<\/a> that enables asynchronous compute in reference to wall-clock events.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Timers are constructs by which developers can specify a routine (business logic) to be triggered at a future time.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Sample Use Cases<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Archive a document before expiry<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Send a notification (SMS or email) to a customer 1-hour post check-in to a hotel<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Filter guests who have not checked in 30 mins before their flight departure<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Near real-time risk assessment for credit card transactions<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Check if a document has changed in a specified time window since it\u2019s last update<\/span><\/li>\n<\/ul>\n<div id=\"attachment_5618\" style=\"width: 778px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5618\" class=\"size-medium_large wp-image-5618\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM-768x440.png\" alt=\"Timers in Couchbase Functions\" width=\"768\" height=\"440\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM-768x440.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM-300x172.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM-1024x587.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM-20x11.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM-1320x757.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/Screen-Shot-2018-08-21-at-1.04.35-PM.png 1324w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><p id=\"caption-attachment-5618\" class=\"wp-caption-text\">Timers in Couchbase Functions<\/p><\/div>\n<h2><span style=\"font-weight: 400\">Timers Syntax<\/span><\/h2>\n<p><span style=\"font-weight: 400\">The way you create a timer is:<\/span><\/p>\n<p><em><span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0createTimer(callback_function, \u00a0expiry_ts, reference, context_payload)<\/span><\/em><\/p>\n<p><span style=\"font-weight: 400\">where:<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>callback_function<\/strong>: function to be called when the timer is executed<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>expiry_ts<\/strong>: timestamp at which function is to be executed(Javascript Date Object)<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>reference<\/strong>: a unique reference id\/string<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>context_payload<\/strong>: additional payload that is to be sent to the call-back function.<\/span><\/p>\n<p>Note: The combination of Function-name, callback function and reference has to be unique and, if not, the existing timer is overwritten. Or, in other words, for a given Function, the timers created inside its scope should have a unique combination of callback function and reference.<\/p>\n<h2><span style=\"font-weight: 400\">Sample Code<\/span><\/h2>\n<p><span style=\"font-weight: 400\">The following is a sample code that creates a timer that is scheduled to be executed 5 seconds from its creation time.<\/span><\/p>\n<pre class=\"\">function OnUpdate(doc,meta) {\r\n\r\n\u00a0\u00a0\u00a0log('document', doc);\r\n\r\n\u00a0\u00a0\u00a0var expiry = new Date(); \/\/get current time\r\n\r\n\u00a0\u00a0\u00a0expiry.setSeconds(expiry.getSeconds() + 5);\u00a0 \/\/add 5 seconds to it\r\n\r\n\u00a0\u00a0\u00a0var context_payload = {docID : meta.id, random_text : \"arbitrary text\"};\r\n\r\n\u00a0\u00a0\u00a0createTimer(timerCallback, \u00a0expiry, meta.id, context_payload);\r\n\r\n}\r\n\r\nfunction timerCallback(context) {\r\n\r\n\u00a0\u00a0\u00a0log('From timerCallback', context);\r\n\r\n\u00a0\u00a0\u00a0dst_bucket[context.docID] = context.random_text;\r\n\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Timer Features<\/span><\/h2>\n<p><span style=\"font-weight: 400\">While the construct looks extremely simple and easy to consume, there is quite a lot of heavy lifting that is done by the platform to offer the semantic. <\/span><\/p>\n<p><span style=\"font-weight: 400\">A few notable features include:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Distributed processing at scale: Automatic sharding of timers across nodes that enables elastic scalability. This also means that timers need not run on the same node that actually created the timer. <\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">At least one execution of timers despite node failures and cluster rebalances<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Eventual execution of timers in case of a large backlog of events to be processed<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400\">Behaviors of Timers<\/span><\/h2>\n<ul>\n<li><span style=\"font-weight: 400\">The bindings that were created for the Function will also be accessible inside the Timers. This keeps the code consistent and readable.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Timers follow the same timeout semantics as their Parent Functions. So, if a Function has an execution timeout of 60 seconds, each of the timers created from the Function will inherit the same execution timeout value of 60 seconds.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Timers cannot be debugged using the visual debugger.<\/span><\/li>\n<li><span style=\"font-weight: 400\">log() messages printed from Timers will be captured in the same application log as the parent Function.<\/span><\/li>\n<li><span style=\"font-weight: 400\">If the Function is deleted or undeployed, all the associated timers will be also be deleted.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Timers are not automatically retried if their execution fails due to a runtime or programmatic error. It is recommended that the code be suitably exception handled (i.e. enclose with try-catch block)<\/span><\/li>\n<li><span style=\"font-weight: 400\">Information about the Timers associated with a Function are stored in the metadata bucket, and hence this bucket should not be deleted or flushed or the keys be updated. It is recommended that the metadata bucket not be used by any other applications.<\/span><\/li>\n<li><span style=\"font-weight: 400\">As timer information is stored in the metadata bucket, if the use-case mandates and the numbers of timers in the system is high, it is recommended that the memory assigned to the metadata bucket be suitably high as well.<\/span><\/li>\n<\/ul>\n<p><strong>Related Resources\u00a0<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/couchbase.com\/downloads?family=server&amp;product=couchbase-server-developer\">Download Couchbase Server 6.0 Beta<\/a><\/li>\n<li>Learn more about <a href=\"https:\/\/www.couchbase.com\/products\/server\/\">Couchbase Server<\/a> and <a href=\"https:\/\/www.couchbase.com\/products\/eventing\/\">Eventing<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We are pleased to announce the support of Timers in Couchbase 6.0 Beta release. This is the an important innovation in Couchbase Functions that enables asynchronous compute in reference to wall-clock events. Timers are constructs by which developers can specify [&hellip;]<\/p>\n","protected":false},"author":3013,"featured_media":5639,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1821,1816,2273],"tags":[2272,2226,2133],"ppma_author":[9055],"class_list":["post-5616","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-architecture","category-couchbase-server","category-eventing","tag-6-0","tag-couchbase-functions","tag-functions"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.7.1 (Yoast SEO v25.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Timers in Couchbase Functions - The Couchbase Blog<\/title>\n<meta name=\"description\" content=\"Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.\" \/>\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\/timers-couchbase-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Timers in Couchbase Functions\" \/>\n<meta property=\"og:description\" content=\"Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-22T20:15:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T05:40:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"666\" \/>\n\t<meta property=\"og:image:height\" content=\"336\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Venkat Subramanian, Product Manager\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@venkasub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Venkat Subramanian, Product Manager\" \/>\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\/timers-couchbase-functions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/\"},\"author\":{\"name\":\"Venkat Subramanian, Product Manager\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/0756e2347c2166a32f93f9a7e07e9f90\"},\"headline\":\"Timers in Couchbase Functions\",\"datePublished\":\"2018-08-22T20:15:27+00:00\",\"dateModified\":\"2025-06-14T05:40:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/\"},\"wordCount\":577,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg\",\"keywords\":[\"6.0\",\"Couchbase Functions\",\"functions\"],\"articleSection\":[\"Couchbase Architecture\",\"Couchbase Server\",\"Eventing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/\",\"name\":\"Timers in Couchbase Functions - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg\",\"datePublished\":\"2018-08-22T20:15:27+00:00\",\"dateModified\":\"2025-06-14T05:40:27+00:00\",\"description\":\"Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg\",\"width\":666,\"height\":336,\"caption\":\"Timers Couchbase Eventing Functions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Timers in Couchbase Functions\"}]},{\"@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\/0756e2347c2166a32f93f9a7e07e9f90\",\"name\":\"Venkat Subramanian, Product Manager\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8f9acdf95e167a15007b71867fe87a9a\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/53cfc83eb606325239f7058417a02969ab8ff0106a374bcdcf5d78f9b749cccd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/53cfc83eb606325239f7058417a02969ab8ff0106a374bcdcf5d78f9b749cccd?s=96&d=mm&r=g\",\"caption\":\"Venkat Subramanian, Product Manager\"},\"description\":\"Venkat dabbles in product development and product management and has been developing data\/analytics platforms &amp; products. Significant chunk of his experience has been with Oracle, where he transitioned from being an Engineer in Oracle\u2019s Enterprise Manager team to Product Manager for Oracle's BI\/Analytics suite of products. He has worked in startups in the past helping develop machine-learning\/NLP products and distributed decisioning systems. He lurks around at @venkasub.\",\"sameAs\":[\"https:\/\/x.com\/venkasub\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/venkatcouchbase-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Timers in Couchbase Functions - The Couchbase Blog","description":"Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.","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\/timers-couchbase-functions\/","og_locale":"en_US","og_type":"article","og_title":"Timers in Couchbase Functions","og_description":"Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.","og_url":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/","og_site_name":"The Couchbase Blog","article_published_time":"2018-08-22T20:15:27+00:00","article_modified_time":"2025-06-14T05:40:27+00:00","og_image":[{"width":666,"height":336,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg","type":"image\/jpeg"}],"author":"Venkat Subramanian, Product Manager","twitter_card":"summary_large_image","twitter_creator":"@venkasub","twitter_misc":{"Written by":"Venkat Subramanian, Product Manager","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/"},"author":{"name":"Venkat Subramanian, Product Manager","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/0756e2347c2166a32f93f9a7e07e9f90"},"headline":"Timers in Couchbase Functions","datePublished":"2018-08-22T20:15:27+00:00","dateModified":"2025-06-14T05:40:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/"},"wordCount":577,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg","keywords":["6.0","Couchbase Functions","functions"],"articleSection":["Couchbase Architecture","Couchbase Server","Eventing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/","url":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/","name":"Timers in Couchbase Functions - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg","datePublished":"2018-08-22T20:15:27+00:00","dateModified":"2025-06-14T05:40:27+00:00","description":"Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2018\/08\/6.0-Timers-Blog-Image.jpeg","width":666,"height":336,"caption":"Timers Couchbase Eventing Functions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/timers-couchbase-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Timers in Couchbase Functions"}]},{"@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\/0756e2347c2166a32f93f9a7e07e9f90","name":"Venkat Subramanian, Product Manager","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8f9acdf95e167a15007b71867fe87a9a","url":"https:\/\/secure.gravatar.com\/avatar\/53cfc83eb606325239f7058417a02969ab8ff0106a374bcdcf5d78f9b749cccd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/53cfc83eb606325239f7058417a02969ab8ff0106a374bcdcf5d78f9b749cccd?s=96&d=mm&r=g","caption":"Venkat Subramanian, Product Manager"},"description":"Venkat dabbles in product development and product management and has been developing data\/analytics platforms &amp; products. Significant chunk of his experience has been with Oracle, where he transitioned from being an Engineer in Oracle\u2019s Enterprise Manager team to Product Manager for Oracle's BI\/Analytics suite of products. He has worked in startups in the past helping develop machine-learning\/NLP products and distributed decisioning systems. He lurks around at @venkasub.","sameAs":["https:\/\/x.com\/venkasub"],"url":"https:\/\/www.couchbase.com\/blog\/author\/venkatcouchbase-com\/"}]}},"authors":[{"term_id":9055,"user_id":3013,"is_guest":0,"slug":"venkatcouchbase-com","display_name":"Venkat Subramanian, Product Manager","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/53cfc83eb606325239f7058417a02969ab8ff0106a374bcdcf5d78f9b749cccd?s=96&d=mm&r=g","author_category":"","last_name":"Subramanian, Product Manager","first_name":"Venkat","job_title":"","user_url":"","description":"Venkat dabbles in product development and product management and has been developing data\/analytics platforms &amp; products. Significant chunk of his experience has been with Oracle, where he transitioned from being an Engineer in Oracle\u2019s Enterprise Manager team to Product Manager for Oracle's BI\/Analytics suite of products. He has worked in startups in the past helping develop machine-learning\/NLP products and distributed decisioning systems. He lurks around at @venkasub."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/5616","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\/3013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=5616"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/5616\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/5639"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=5616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=5616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=5616"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=5616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}