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

Real Time Testing with centinel #284

Open
arianniaki opened this issue Nov 2, 2017 · 1 comment
Open

Real Time Testing with centinel #284

arianniaki opened this issue Nov 2, 2017 · 1 comment
Assignees

Comments

@arianniaki
Copy link
Collaborator

arianniaki commented Nov 2, 2017

The server should be able to send a list of urls to the client, and the client should run at real time.

@jdcc
Copy link
Collaborator

jdcc commented Nov 2, 2017

The plan right now is to write a small separate program that listens on an event bus for test requests. When those requests come in, the program writes files to the local file system in the format Centinel can understand, and then runs Centinel pointing to those files. This should be equivalent to the current cron job, just run on-demand. It should also keep me out of the Centinel codebase.

IM has used the event bus model in the past, and though it adds a little bit of complication, we prefer it to a straight-up HTTP API for a number of reasons. We get test queue management, a client library, some robustness guarantees (like ACKing and retries), and more flexible worker architectures (e.g. multiple workers per queue) without having to build any of that ourselves.

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

No branches or pull requests

2 participants