# apache/linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.

Repository: https://github.com/apache/linkis
Canonical: https://ross.abutalabs.com/products/linkis
Homepage: https://linkis.apache.org/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: sql, spark, hive, pyspark, livy, linkis, engine, storage, resource-manager, application-manager, context-service, scriptis, udf, hive-table, rest-api, jobserver, thrift-server, jdbc, presto, impala
Last push: 2026-08-19T08:13:46+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 20, longevity 100
- inputs: {"age_days": 2598, "days_push": 14, "days_rel": 320, "gap_med": 281, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3406, forks 1168 (observed 2026-08-28T04:08:03.076577+00:00)

## What it is
Apache Linkis is a computation middleware layer that sits between upper-layer applications and underlying big data engines such as Spark, Hive, Presto, Flink, and JDBC databases. It exposes standardized REST, WebSocket, and JDBC interfaces for submitting and governing jobs, with unified resource sharing (variables, UDFs, scripts), task routing, load balancing, and multi-tenant resource control.

## Use cases
- submit Spark or Hive jobs through a unified REST/JDBC gateway
- give multiple applications one entrance to many big data engines
- manage multi-tenant compute resource quotas and load balancing
- share UDFs, variables, and scripts across applications and engines
- route and orchestrate tasks across OLAP, OLTP, and streaming engines
- decouple applications from engine changes in a data platform
- run interactive SQL queries against Presto, Hive, or Trino via one API

## When to choose
- you operate a big data platform with many engines and need a unified access layer
- you want standardized REST/JDBC/WS interfaces instead of direct engine connections
- you need multi-tenant resource governance, task routing, and audit controls
- you want to share user resources like UDFs and scripts across tools

## When to avoid
- you only need a single engine connection - use the engine's native client or Livy directly
- you want a lightweight SQL client or BI tool rather than platform middleware
- your stack is not JVM/big-data oriented and the deployment overhead outweighs benefits
- you need a fully managed cloud service rather than self-hosted infrastructure

## Facets
- artifact type: service
- maturity: stable
- function: api-framework, http-server, rpc, scheduling, workflow-automation, database, middleware
- domain: big-data, databases, backend, apis, microservices
- platform: jvm, self-hosted
- tags: computation-middleware, spark, hive, presto, flink, jdbc-gateway, engine-orchestration, multi-tenant, resource-management, scriptis, job-execution, data-engineering, linux, docker, web-server

## Member repositories
- apache/linkis (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:03.076577+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:38:36.098936+00:00, confidence not recorded.
  - readme: https://github.com/apache/linkis (fetched 2026-08-28T04:08:03.076577+00:00, sha edb7a2d97b21)
  - homepage: https://linkis.apache.org/ (fetched 2026-08-29T09:32:41.921932+00:00, sha 54350c6f5878)
  - site_page: https://linkis.apache.org/docs/latest/about/introduction (fetched 2026-08-29T09:32:41.924293+00:00, sha 9bb896250b26)
  - site_page: https://linkis.apache.org/docs/1.7.0/about/introduction (fetched 2026-08-29T09:32:41.926295+00:00, sha dee10a92a2d1)
  - site_page: https://linkis.apache.org/docs/1.6.0/about/introduction (fetched 2026-08-29T09:32:41.927968+00:00, sha 6aa4df9665df)
  - site_page: https://linkis.apache.org/docs/1.5.0/about/introduction (fetched 2026-08-29T09:32:41.929726+00:00, sha 7fa5268afe65)
  - site_page: https://linkis.apache.org/docs/1.4.0/about/introduction (fetched 2026-08-29T09:32:41.931452+00:00, sha 69631d3f056e)
  - site_page: https://linkis.apache.org/docs/1.9.0/about/introduction (fetched 2026-08-29T09:32:41.933081+00:00, sha 8579b3df3ffb)
  - site_page: https://linkis.apache.org/faq/main (fetched 2026-08-29T09:32:41.934814+00:00, sha c395abe8e745)
- Data as of 2026-08-30T08:39:29.467469+00:00.
