serving-remote
Run and inspect Vaex server, REST and PNG plot endpoints, WebSocket remote DataFrame, TestClient, token, base URL, and optional GraphQL workflows.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- serving-remote
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Run and inspect Vaex server, REST and PNG plot endpoints, WebSocket remote DataFrame, TestClient, token, base URL, and optional GraphQL workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/graphql-and-remote.md6.4 KB
- 参考文档references/rest-api.md8.2 KB
- 参考文档references/server-workflows.md7.3 KB
- 参考文档references/troubleshooting.md10.1 KB
- 脚本scripts/server_smoke.py15.6 KB
03 SKILL.md 正文
serving-remote
Use this sub-skill when a task is about Vaex serving or remote access: vaex server, vaex.server.fastapi.app, REST or PNG plot endpoints, WebSocket remote DataFrame URLs, TestClient smoke checks, base URLs, token/trusted-token caveats, or optional GraphQL.
Load these references
- references/server-workflows.md for safe local workflows,
vaex serverinvocation, dataset naming, TestClient checks, base URLs, and listener boundaries. - references/rest-api.md for endpoint paths, JSON payload shapes, expected response fields, status signals, headers, and non-Python client patterns.
- references/graphql-and-remote.md for
vaex.open('vaex+ws://...'),vaex.server.connect, remote aggregation semantics, tokens, trusted tokens, and optional GraphQL. - references/troubleshooting.md for missing packages,
httpx2, example-data cache/download surprises, binding, dataset names, URL schemes, tokens, GraphQL dependencies, and cleanup boundaries. - Run scripts/server_smoke.py for a safe installed-package FastAPI/TestClient smoke that does not start a public listener.
Core operating rules
- Prefer TestClient or local loopback over public services. Do not require an external Vaex service or external network for verification.
- Avoid long-running listeners by default. If a listener is required, bind to
127.0.0.1, choose an explicit port, record the process boundary, and stop it when the check ends. - Use
vaex server --helpfor live option confirmation. The selected CLI surface isvaex server [--add-example] [--host HOST] [--base-url BASE_URL] [--port PORT] [--verbose/-v] [--quiet/-q] [--graphql] [filename ...]. - Use
name=pathcommand arguments for stable dataset IDs; bare paths derive names from file basenames. - Treat REST and remote DataFrames as different surfaces. REST uses HTTP JSON/PNG endpoints; Python remote DataFrames use WebSocket URLs such as
vaex+ws://127.0.0.1:8081/datasetorvaex+wss://host/dataset. - Remote Vaex aggregations should ship compact scalar or grid results, not whole columns. Avoid unbounded
.evaluate(),.to_pandas_df(),.values, or row extraction against remote DataFrames unless explicitly bounded. - Treat GraphQL as optional. Check imports and version compatibility before enabling
--graphqlor/graphql; GraphQL failures do not block ordinary REST/WebSocket serving. - Treat tokens as secrets. Prefer environment variables or Python kwargs over embedding tokens in logs, commands, notebooks, or saved URLs. Use trusted tokens only in private, fully trusted contexts.
Boundaries
- Route general CLI command discovery, settings, aliases, and non-server command behavior to
../cli-settings/SKILL.md. - Route local dataset opening, conversion, HDF5/Arrow/CSV/FITS/cloud IO, and file-format troubleshooting to
../io-conversion/SKILL.md. - Route visualization meaning and rendering choices for REST plot outputs to
../visualization-jupyter/SKILL.md; this sub-skill covers only REST plot endpoint mechanics. - Route expression syntax, virtual columns, filters, histogram/heatmap aggregation semantics, and value validation to
../expressions-analytics/SKILL.mdwhen the task is not specifically about the service boundary.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).