L. C. Hsieh created SPARK-58773:
-----------------------------------
Summary: Import scg-routing crate into Spark Connect Gateway
Key: SPARK-58773
URL: https://issues.apache.org/jira/browse/SPARK-58773
Project: Spark
Issue Type: Sub-task
Components: Connect
Affects Versions: connect-gateway-0.1.0
Reporter: L. C. Hsieh
Assignee: L. C. Hsieh
Part of importing the Spark Connect Gateway reference implementation into
apache/spark-connect-gateway as a series of small, bottom-up PRs.
This adds the scg-routing crate — the routing core of the gateway. It defines
the central traits and types that the pool and store layers implement and that
the proxy routes through:
- SessionKey — the routing key derived from a request
- Pool — the backend-pool trait (implemented later by pool-static / pool-k8s)
- AffinityStore — the session-affinity store trait (implemented later by
store-memory / store-redis)
- Router — ties them together
scg-routing is a leaf crate (no internal dependencies), so it compiles and
tests on its own. It is a prerequisite for the store, pool, healthcheck, and
proxy crates that arrive in subsequent PRs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]