feat(pyamber): add workflow transport runtime - #8321
Closed
carloea2 wants to merge 1 commit into
Closed
Conversation
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #8321 +/- ##
============================================
- Coverage 94.07% 93.97% -0.10%
Complexity 4814 4814
============================================
Files 1196 1200 +4
Lines 48713 48971 +258
Branches 5866 5910 +44
============================================
+ Hits 45825 46021 +196
- Misses 1436 1471 +35
- Partials 1452 1479 +27
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 459 | 0.28 | 20,275/29,804/29,804 us | 🔴 +29.6% / 🔴 +87.4% |
| 🟢 | bs=100 sw=10 sl=64 | 995 | 0.607 | 98,788/109,842/109,842 us | 🟢 -33.2% / 🟢 -9.1% |
| ⚪ | bs=1000 sw=10 sl=64 | 1,160 | 0.708 | 862,759/896,414/896,414 us | ⚪ within ±5% / 🟢 -17.1% |
Baseline details
Latest main fc7cfcd from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 459 tuples/sec | 506 tuples/sec | 750.65 tuples/sec | -9.3% | -38.9% |
| bs=10 sw=10 sl=64 | MB/s | 0.28 MB/s | 0.309 MB/s | 0.458 MB/s | -9.4% | -38.9% |
| bs=10 sw=10 sl=64 | p50 | 20,275 us | 20,498 us | 13,049 us | -1.1% | +55.4% |
| bs=10 sw=10 sl=64 | p95 | 29,804 us | 23,000 us | 15,902 us | +29.6% | +87.4% |
| bs=10 sw=10 sl=64 | p99 | 29,804 us | 23,000 us | 19,184 us | +29.6% | +55.4% |
| bs=100 sw=10 sl=64 | throughput | 995 tuples/sec | 944 tuples/sec | 960.3 tuples/sec | +5.4% | +3.6% |
| bs=100 sw=10 sl=64 | MB/s | 0.607 MB/s | 0.576 MB/s | 0.586 MB/s | +5.4% | +3.6% |
| bs=100 sw=10 sl=64 | p50 | 98,788 us | 98,747 us | 104,199 us | +0.0% | -5.2% |
| bs=100 sw=10 sl=64 | p95 | 109,842 us | 164,332 us | 110,645 us | -33.2% | -0.7% |
| bs=100 sw=10 sl=64 | p99 | 109,842 us | 164,332 us | 120,888 us | -33.2% | -9.1% |
| bs=1000 sw=10 sl=64 | throughput | 1,160 tuples/sec | 1,149 tuples/sec | 993.27 tuples/sec | +1.0% | +16.8% |
| bs=1000 sw=10 sl=64 | MB/s | 0.708 MB/s | 0.702 MB/s | 0.606 MB/s | +0.9% | +16.8% |
| bs=1000 sw=10 sl=64 | p50 | 862,759 us | 866,721 us | 1,012,191 us | -0.5% | -14.8% |
| bs=1000 sw=10 sl=64 | p95 | 896,414 us | 911,599 us | 1,054,057 us | -1.7% | -15.0% |
| bs=1000 sw=10 sl=64 | p99 | 896,414 us | 911,599 us | 1,081,313 us | -1.7% | -17.1% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,435.67,200,128000,459,0.280,20274.81,29804.24,29804.24
1,100,10,64,20,2010.71,2000,1280000,995,0.607,98787.63,109842.16,109842.16
2,1000,10,64,20,17241.00,20000,12800000,1160,0.708,862759.18,896414.09,896414.09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Add a small
pytexera.workflowruntime for generated Python UDFs. It provides:Cloudpickle payloads are internal workflow data. Deserialization remains inside Python UDF workers that already execute user-provided Python code; this API must not be used as a safe decoder for untrusted bytes.
Any related issues, documentation, discussions?
Related to #8319 and discussion #8160.
How was this PR tested?
Result: 22 passed.
The tests cover round trips, aliases, cycles, missing fields, malformed envelopes, boundary routing, and operator behavior.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: OpenAI Codex (GPT-5)