Skip to content

Conversation

@csegarragonz
Copy link
Collaborator

@csegarragonz csegarragonz commented Jul 6, 2023

In this PR we move function invocation from the worker (via nginx) to the planner.

In terms of C++ source code, the only changes are to accomodate for some ABI changes in faasm/faabric#330. In particular: (i) refactor req->id() to req->appid(), and (ii) move batchExecuteFactory to include/faabric/util/batch.h.

We also move the quick start tests, and the upload/invoke tasks, to using faasmctl under the hood. This is just a small change, the full faasmctl overhaul (where we will get rid of faasmcli) will happen in a separate PR.

@csegarragonz csegarragonz marked this pull request as ready for review July 6, 2023 15:33
@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #770 (f6cd157) into main (2c32522) will increase coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #770      +/-   ##
==========================================
+ Coverage   67.35%   67.43%   +0.07%     
==========================================
  Files          69       69              
  Lines        7729     7729              
==========================================
+ Hits         5206     5212       +6     
+ Misses       2523     2517       -6     
Impacted Files Coverage Δ
src/faaslet/Faaslet.cpp 63.63% <ø> (ø)
src/runner/MicrobenchRunner.cpp 80.20% <ø> (ø)
src/threads/ThreadState.cpp 88.65% <0.00%> (ø)
src/wasm/WasmModule.cpp 75.05% <ø> (ø)
src/wasm/chaining_util.cpp 63.41% <ø> (ø)
src/wasm/migration.cpp 0.00% <ø> (ø)
src/wavm/openmp.cpp 74.31% <ø> (+1.02%) ⬆️

... and 1 file with indirect coverage changes

@csegarragonz csegarragonz self-assigned this Jul 13, 2023
@csegarragonz csegarragonz force-pushed the invoke-planner branch 8 times, most recently from 1a81f4f to 7a353e9 Compare July 13, 2023 10:33
@csegarragonz csegarragonz force-pushed the invoke-planner branch 3 times, most recently from 860d4dc to 3e8be92 Compare July 17, 2023 14:00
@csegarragonz csegarragonz merged commit 369214a into main Jul 18, 2023
@csegarragonz csegarragonz deleted the invoke-planner branch July 18, 2023 12:05
@csegarragonz csegarragonz mentioned this pull request Jul 18, 2023
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants