-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Improve SFN store #13550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Improve SFN store #13550
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 22m 15s ⏱️ - 1h 34m 57s Results for commit dfac85d. ± Comparison against base commit 056da83. This pull request removes 3432 tests.♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 39m 10s ⏱️ Results for commit dfac85d. ♻️ This comment has been updated with latest results. |
17616f5 to
91e9ec5
Compare
c4aece0 to
dfac85d
Compare
Motivation
As I tried to get an Avro schema from
SFNStore, I came across a few issues:typing.Anyas type hints;deque;Executionclass having anExecutionWorkeras an attribute. The general rule is to try to separate the runtime state from the state that needs to be persisted. Furthermore,ExecutionWorkeris generally harder to serialize since it holdsthreadingprimitives.Changes
typing.Anyannotations;propertyof the class;listinstead ofdeque. We are going from O(1) to O(n) for theget_taskoperation;exec_commattribute from theExecutor. An executor now needs to register a worker when it starts it, to be able to retrieve it later with the execution ARN.Tests
Related