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

First version of architecture overview doc #28

Merged
merged 5 commits into from Dec 12, 2015

Conversation

nicoddemus
Copy link
Member

As commented in #18 in this comment. Comments, oversights and corrections are welcome!

cc @RonnyPfannschmidt @nchammas @hpk42

@@ -0,0 +1,66 @@
# Overview #

Here it is described a brief overview of xdist's internal architecture.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strike that sentence as it doesn't add news value :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do, thanks

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@hpk42
Copy link
Contributor

hpk42 commented Dec 9, 2015

apart from a few minor comments a great start! thanks!

@nicoddemus
Copy link
Member Author

apart from a few minor comments a great start! thanks!

My pleasure. You got the idea right, but I think is worth mentioning explicitly to others that this is really just a first version to get the ball rolling, it needs refinement and some xdist aspects are not even covered (for example node recovery).

@hpk42
Copy link
Contributor

hpk42 commented Dec 9, 2015

it's already helpful as it is, though.

@RonnyPfannschmidt
Copy link
Member

👍

Here it is described a brief overview of xdist's internal architecture.


`xdist` works by spawning one or more **worker nodes**, which are controlled
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we drop "node" from the terminology? A "node" implies a separate host, which is not always the case. How about just a "master" and "workers"? The workers can just be separate processes on the same host, or they can be remote hosts, as you explain later.

(I think @hpk42 was advocating for this change in another issue.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So using just the terminology you propose:

xdist works by spawning one or more workers, which are controlled by the master. Each worker is responsible for performing a full test collection and afterwards running tests as dictated by the master.

Does that sound good? If all agree I will apply the change to the rest of the document.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that sounds better to me at least.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@nicoddemus
Copy link
Member Author

I think I applied all change requests. 😄

nicoddemus added a commit that referenced this pull request Dec 12, 2015
First version of architecture overview doc
@nicoddemus nicoddemus merged commit 8ba24ef into pytest-dev:master Dec 12, 2015
@nicoddemus nicoddemus deleted the overview branch December 12, 2015 12:20
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.

None yet

4 participants