hottub.patents
US 12,380,102 B2#3477975 Most CitedActiveUnited States (USPTO)Utility

System and method for upgrading sparkline cluster with zero downtime

0Forward Citations (#3477975 Global)
0.0/yrCitation Velocity (#3477975 Global)
0.00Citation PageRank (#3477975 Global)
16Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

The present embodiments relate to updating a dataflow interactive cluster with zero downtime. A request to update a first dataflow cluster can be received, and a second dataflow cluster can be generated as a replacement cluster to execute received queries. Generating the second dataflow cluster can include identifying a second series of executor nodes that are configured to execute queries from the gateway node via a second driver node. A first update to a configuration of a host configuration node can be performed to register the second dataflow cluster as an active endpoint and identify the first dataflow cluster as an inactive endpoint. When no active queries exist, a second update to the configuration can be provided to remove the first dataflow cluster from the configuration to direct subsequent queries from the gateway node to the second dataflow cluster.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A method comprising: obtaining a request to update a first dataflow cluster, the first dataflow cluster directing query data from a gateway node to a first series of executor nodes to execute queries; responsive to obtaining the request to update the first dataflow cluster, generating a second dataflow cluster as a replacement to the first dataflow cluster, generating the second dataflow cluster comprising: identifying a second series of executor nodes from a new node pool that corresponds to the second dataflow cluster, the second series of executor nodes configured to execute queries from the gateway node; causing a first update to a configuration of a host configuration node to register the second dataflow cluster as an active endpoint for subsequent queries and identify the first dataflow cluster as an inactive endpoint; and responsive to determining that an upgrade timeout period has completed, causing a second update to the configuration of the host configuration node to set a st

  2. Claim 2Depends on #1

    The method of claim 1, comprising: responsive to determining that the upgrade timeout period has completed with one or more unfinished queries, terminating the one or more unfinished queries and logging the one or more unfinished queries into a failed query database; and subsequent to the third update to remove the first dataflow cluster from the configuration, retrying the one or more unfinished queries.

  3. Claim 3Depends on #2

    The method of claim 2, comprising: responsive to determining that a set of worker nodes is unable to perform a failed query, logging the failed query into the failed query database; and subsequent to the third update to remove the first dataflow cluster from the configuration, retrying the failed query.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising: responsive to forwarding a first query to the first dataflow cluster, determining that execution of the first query is unsuccessful; responsive to determining that the execution of the first query is unsuccessful, logging data relating to the first query in a failed query history database; and responsive to the causing of the second update to the configuration of the host configuration node, forwarding the first query to the second dataflow cluster for execution by the second series of executor nodes.

  5. Claim 5Depends on #1

    The method of claim 1, wherein: the query data includes a database connectivity query and is served by the gateway node over Hypertext Transfer Protocol Secure (HTTPS), and wherein the method further comprises: responsive to determining that the database connectivity query is associated with a previously-provided query, forwarding the database connectivity query to the first dataflow cluster when the configuration provides that the first dataflow cluster is active or inactive; and responsive to determining that the database connectivity query is associated with a new query, forwarding the database connectivity query to the second dataflow cluster according to the configuration.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising: polling, by the gateway node, the configuration to update a local configuration map of the gateway node.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the upgrade timeout period is configurable.

  8. Claim 8Independent Claim

    One or more non-transitory computer readable media comprising instructions which, when executed by one or more hardware processors, cause performance of operations comprising: obtaining a request to update a first dataflow cluster, the first dataflow cluster directing query data from a gateway node to a first series of executor nodes to execute queries; responsive to obtaining the request to update the first dataflow cluster, generating a second dataflow cluster as a replacement to the first dataflow cluster, generating the second dataflow cluster comprising: identifying a second series of executor nodes from a new node pool that corresponds to the second dataflow cluster, the second series of executor nodes configured to execute queries from the gateway node; causing a first update to a configuration of a host configuration node to register the second dataflow cluster as an active endpoint for subsequent queries and identify the first dataflow cluster as an inactive endpoint; and resp

Technical Overview & Description

INCORPORATION BY REFERENCE; DISCLAIMER Each of the following applications are hereby incorporated by reference: application Ser. No. 17/187,544 filed on Feb. 26, 2021. The applicant hereby rescinds any disclaimer of claims scope in the parent application(s) or the prosecution history thereof and advises the USPTO that the claims in the application may be broader than any claim in the parent application(s). BACKGROUND Computing devices can have access to one or more databases that can be used to execute various tasks. For example, a computing device can execute a query (e.g., a Structured Query Language (SQL) query, a Java Database Connectivity (JDBC) query, etc.) by processing database data. A gateway node can direct a query to a series of worker nodes to perform various query operations. However, many computing devices may be required to perform updates. For example, a security patch may need to be installed to update various security features. As another example, a client may implement updates to a server to increase efficiency of query processes. In such instances, the computing device may incur a downtime to perform the updates, which may result in delaying of execution of queries by the computing device. This may result in lower quality user experience. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a block diagram illustrating an environment including multiple dataflow interactive clusters, according to at least one embodiment. FIG. 2 is a block diagram illustrating a dataflow interactive cluster 200 , according to at least one embodiment. FIG. 3 is an illustration of a dataflow interactive cluster 300 for an upgrade API call, according to at least one embodiment. FIG. 4 is a block diagram of a process for performing an upgrade of a dataflow interactive cluster with zero downtime, according to at least one embodiment. FIGS. 5 A to 5 F provide block diagrams for performing a zero downtime upgrade of a dataflow interactive cluster, according to at least one embodiment.

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (16)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Kubernetes best practices: upgrading your clusters with zero downtime Sandeep Dinesh cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-upgrading-your-clusters-with-zero-downtime (Year: 2018).
  • Perfecting smooth rolling updates in Amazon Elastic Container Service \Volodymyr Sorokin medium.com/engineering-at-grammarly/perfecting-smooth-rolling-updates-in-amazon-elastic-container-service-690d1aeb44cc (Year: 2019).
  • The DASCOSA-DB Grid Database System Jon Olav Hauglid, Norvald H. Ryeng, and Kjetil N
  • ø
  • rvag Grid and Cloud Database Management, Chapter 5 (Year: 2011).
  • Minimizing Downtime During Deployments Ricardo Cardona Ramirez GitHub documentation for Application Gateway Ingress Controller commit bbf0af8 (Year: 2020).
  • Graceful shutdown and zero downtime deployments in Kubernetes Daniele Polencic web.archive.org/web/20201001090555/https://learnk8s.io/graceful-shutdown (Year: 2020).
  • Zero-Downtime Rolling Updates With Kubernetes Sebastian Daschner blog.sebastian-daschner.com/entries/zero-downtime-updates-kubernetes (Year: 2018).
  • Notes on Graceful Shutdown in Kubernetes Farhan Ali medium.com/@_alif/graceful-shutdown-of-pods-in-kubernetes-6da5588b5356 (Year: 2020).
  • Benefits of BI semantics in Spark SQL: A view through the TPCDS benchmark Harish Butani medium.com/@rhbutani/https-medium-com-oracle-snap-benefits-of-bi-semantics-in-spark-sql-a-view-through-the-tpcds-benchmark-5cca8d6d25d2 (Year: 2018).