Skip to content
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

Concurrent execution #18

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

sc0ttdav3y
Copy link
Contributor

This PR adds support for concurrent execution of Bref.

This addresses #15, but uses a different approach that discussed in that ticket.

This PR uses docker exec to run the bref-local CLI tool directly within the Bref PHP container, where it can run multiple processes concurrently.

I've found the Docker approach is more robust than using Lambda RIE (and I was pushed to write it because Lambda RIE began crashing for me). It's also much, much faster. It does however move away from the AWS RIE tool and some folks may still want to use that, so i've left that code in place as a BC option for others.

I haven't worked on test automation as I'm not quite sure how's best to do this, plus I'm currently having troubles even getting this project's tests working on my machine (I think something's going on with node since an update in early 2025). Anyway, I'm happy to help work on this but I figure a collaboration with you is best if you want to incorporate this fork, plus I'm blocked right now in doing so.

I've put together a video to talk through the code and show a demo of it running:
https://www.loom.com/share/a906c414a33c418993c34fe1a0d7ec1c

@sc0ttdav3y
Copy link
Contributor Author

Hi @mnapoli, wondering whether you've had a chance to look over this PR?

Let me know your thoughts...

Thanks, Scott

…ref due to additional header data logged from stdout logging in the application. This strips everything before "END Duration" which guarantees no further output from code other than Bref.
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.

1 participant