Before, After, During, and While
LESSON
Before, After, During, and While
By the end of this lesson, you will be able to...
Place a deployment event before, after, or inside another event or interval.
Choose
duringwith a noun phrase andwhilewith a visible action or state clause.Rewrite a rollout update so a reader can reconstruct event order without assuming that sequence proves causation.
Idea in one sentence:
Beforeandafterset order,duringframes an interval, andwhileshows another action or state continuing at the same time.
Core Insight
An operations update can contain four different time relations:
Before the deploy, the team validated the schema.
During the rollout, traffic moved to the canary worker.
While the old workers drained the queue, the on-call engineer watched the dashboard.
After the deploy, the team compared latency and error rate.
Before and after place one event on either side of a reference event. During names an interval as a container for another event. While introduces an action or state that overlaps the main clause. The words all answer “When?”, but they draw different shapes on the timeline.
The Small Situation: A Safe Canary Release
The payments team is releasing a new cache path. The release has four checkpoints:
- validate the schema and rollback plan;
- send a small percentage of traffic to the canary;
- let old workers finish queued jobs while metrics are watched;
- compare the post-deploy evidence with the baseline.
The team must write a handoff that another engineer can replay mentally. A list of timestamps is not enough. The sentences should show which events are ordered, which happen inside a rollout window, and which actions overlap.
The raw notes are:
09:40 schema check
09:45 canary traffic
09:47 old workers drain queue
09:50 metrics comparison
The useful prose is:
Before the deploy, the team validated the schema.
During the rollout, 5% of requests went to the canary worker.
While the old workers drained the queue, the on-call engineer watched the dashboard.
After the deploy, the team compared p95 latency with the baseline.
The reader can now see a sequence and an overlap instead of four disconnected facts.
The Naive Idea: One Word for Every Time Relation
Literal translation often produces a sentence that is understandable but changes the timeline:
During we deploy, the team validates the schema.
After the rollout, the old workers drain the queue and the engineer watches the dashboard.
Before the canary, errors increased.
The first phrase uses during before a verb clause; English needs a noun phrase (during the deploy) or a clause introduced by while (while we deploy). The second puts the draining after the rollout, even though the workers may drain concurrently with it. The third may be correct, but it says only that the increase happened earlier; it does not explain why.
Start with the shape you want:
Earlier or later boundary? -> before / after + noun or event
Inside a named interval? -> during + noun phrase
Overlapping action or state? -> while + subject + verb
The Four Main Jobs
before: an earlier boundary or prerequisite
Use before to place an event earlier than a reference point:
Before the deploy, validate the schema.
The team tested the rollback before the migration.
Before we changed the route, we captured a baseline trace.
After before, you can use a noun phrase (the deploy), a clause (we changed the route), or an -ing form when the subject is clear (before changing the route).
The phrase often expresses a prerequisite, but the grammar itself only marks order. Before the deploy, the database was already slow does not mean the deploy caused the slowness.
after: a later boundary or follow-up
Use after to place an event later than a reference point:
After the deploy, error rate returned to baseline.
The team closed the incident after comparing the traces.
After we drained the queue, we removed the old workers.
Like before, after can introduce a noun phrase, a full clause, or an -ing phrase. Use a full clause when the actor or event needs to be explicit:
After the canary received real traffic, the team expanded the rollout.
The order is clear, but the causal claim still needs evidence. An error spike after a deploy may be related, coincidental, or caused by another change.
during: an event inside a named interval
Use during before a noun phrase that names a period, operation, or event:
Errors increased during the migration.
The queue grew during the rollout.
The dashboard was noisy during the incident.
During treats the following noun as a time container. Do not put a finite verb directly after it:
During the rollout, traffic moved to the canary. # noun phrase
During we rolled out the change, traffic moved... # incorrect
If you want the concurrent action to be visible, use while:
While we rolled out the change, traffic moved to the canary.
The noun phrase after during can be broad. It does not tell the reader which second or sub-action inside the interval matters unless the surrounding sentence supplies that detail.
while: an overlapping action or state
Use while before a clause with its own subject and verb:
While the old workers drained the queue, the on-call engineer watched the dashboard.
The cache warmed while traffic moved to the canary.
While we compared traces, the exporter continued sending metrics.
While makes two processes visible at once. It can also describe a state:
While the service was under load, the queue stayed within its limit.
Use while when the overlap is operationally important. If the interval itself is enough, during keeps the sentence shorter:
The queue grew during the rollout.
If the reader needs to know what was happening at the same time, expand it:
The queue grew while the old workers drained slowly.
Noun Phrase or Clause?
This is the most visible grammar choice in the lesson:
| Shape | Example | What the reader sees |
|---|---|---|
before/after + noun phrase |
before the deploy |
an event boundary |
during + noun phrase |
during the rollout |
a named interval |
before/after + clause |
after the team compared traces |
an event with an explicit actor |
while + clause |
while workers drained the queue |
an overlapping action or state |
The same event can be expressed in more than one way:
During the migration, errors increased.
While we migrated the data, errors increased.
The first frames the migration as an interval. The second shows who performed the concurrent action. Choose the shorter form when the event name is enough; choose the clause when the actor or process changes the interpretation.
A Worked Timeline: Read the Deployment in Order
Start with the baseline decision. The team has a known p95 latency and a rollback plan.
baseline -> schema check -> canary -> queue drain -> evidence comparison
Turn each transition into a sentence:
Before the deploy, the team captured the baseline trace.
This tells the reader that the trace is a prerequisite or earlier checkpoint.
During the rollout, the gateway sent 5% of requests to worker-7.
This places the routing change inside the rollout interval. During does not identify the actor of the rollout; the main clause does.
While the old workers drained the queue, the new worker served canary requests.
This makes two simultaneous actions visible: draining and serving.
After the deploy, the team compared the trace with the baseline.
This marks the later evidence step. It does not, by itself, prove that the deploy caused any difference.
Now add the actual result:
After the deploy, p95 latency fell from 420 ms to 180 ms, but the team kept the flag ready for rollback.
The timeline is now a worked path:
input: baseline trace
-> before the deploy: schema and rollback validation
-> during the rollout: traffic enters the canary interval
-> while workers drain: two actions overlap
-> after the deploy: metrics are compared
output: keep or expand the rollout decision
The naive summary would be:
The deploy happened and the latency changed.
That sentence hides the prerequisite, the interval, the overlap, and the evidence boundary. It also invites the reader to assume causation without seeing the comparison.
Two Views of the Same Window
Suppose the canary window lasts ten minutes. A short status line can treat the window as one named interval:
During the canary window, error rate stayed below 1%.
That is useful when the exact internal actions do not change the decision. The reader needs the interval and the observed result.
Now imagine that the queue behaved differently while the window was open. The team needs to expose the concurrent process:
While the canary served real traffic, the old workers drained the backlog.
This version gives the reader two actors and two actions. It helps answer a different question: what was happening at the same time as the canary test? If the backlog stopped draining, the team would know which process to investigate.
The two sentences can appear together:
During the canary window, error rate stayed below 1%.
While the canary served real traffic, the old workers drained the backlog.
The first sentence compresses the interval into one noun phrase. The second expands the overlap into a clause. Good technical writing moves between these views instead of forcing every timestamp and actor into every sentence.
Active Check: Draw the Shape
Check: Choose the sentence that shows an action continuing at the same time as the main event.
A. During the rollout, the queue grew.
B. While the rollout, the queue grew.
C. While workers drained the queue, the on-call engineer watched the dashboard.
Think first, then reveal.
Answer: C. While introduces a clause with a subject and verb and makes the overlapping action visible. A is also grammatical, but during presents the rollout as a named interval rather than showing another action.
Check: Repair the sentence:
During we deployed the cache, errors increased.
Think first, then reveal.
Answer: Use either During the cache deployment, errors increased or While we deployed the cache, errors increased. The first uses a noun phrase after during; the second uses a clause after while.
Common Confusions
during versus while
Errors increased during the migration.
Errors increased while workers copied the data.
The first gives an interval. The second gives the concurrent action. Do not use during directly before a finite clause.
before versus during
Before the rollout, we tested the rollback.
During the rollout, we watched the error rate.
The test happens earlier. The watching happens inside the rollout interval. A prerequisite is not the same as an interval.
after does not prove cause
After the deploy, the queue grew.
This is a temporal claim. To claim causation, the writer needs evidence and perhaps a connector from the next track. Keep the timeline honest while the investigation is still open.
while versus when
While foregrounds overlap or duration:
While the exporter ran, the dashboard refreshed.
When can mark a point or condition (when the deploy finished). This lesson focuses on the overlap meaning of while; do not use it when you mean one exact trigger.
Repeating the subject prevents ambiguity
While draining the queue, the engineer watched the dashboard.
While the worker drained the queue, the engineer watched the dashboard.
The first sentence can be read as if the engineer drained the queue. The second assigns the action to the worker. When two actors exist, include the subject after while.
Trade-offs and Limits
The central trade-off is timeline detail versus reading load. During the rollout is compact and easy to scan, while while the old workers drained the queue gives the reader a concurrent actor and action but makes the sentence longer. Add the clause when the overlap changes an operational decision; keep the interval phrase when the exact sub-action is not important.
These prepositions also have limits:
Beforeandafterestablish order, not causation.Duringtells us that something falls inside an interval, but not exactly where inside it.Whileshows overlap, but it does not tell us how long either action lasted.- A clear sentence still needs the correct tense and evidence. These words organize events; they do not replace logs, metrics, or trace timestamps.
Forfrom the previous lesson expresses purpose ina dashboard for on-call engineers; the duration use offorbelongs to the next timeline lesson.
Choose the smallest time phrase that lets the reader decide what happened first, what overlapped, and what evidence came later.
Transfer Challenge: Repair a Rollout Update
An engineer writes:
During we validated the schema, the canary received traffic.
After the rollout, the old workers drained the queue.
The team compared metrics during the deploy finished.
Rewrite the update so it expresses:
- validation before traffic moved;
- the canary and validation as ordered events;
- old workers draining while the rollout was active;
- metric comparison after the deploy completed.
Model answer:
Before the canary received traffic, the team validated the schema.
During the rollout, the canary served a small percentage of requests while the old workers drained the queue.
After the deploy finished, the team compared the metrics.
The exact nouns can change, but the timeline should preserve the boundary and overlap relations. Do not use after to imply that the rollout caused every later metric change.
Daily Practice Lines
Repeat these three lines during the day:
Before the deploy, the team captured a baseline trace.
During the rollout, traffic moved through the gateway over HTTPS.
While the old workers drained the queue, the on-call engineer watched the dashboard.
For spaced review, connect the timeline to the purpose and topic choices from lesson 007:
After the deploy, the team wrote a note about the queue for the on-call review.
Here, after the deploy places the event, about the queue names the topic, and for the on-call review names the purpose.
Resources
- [ARTICLE] Cambridge Dictionary Grammar - Reference for time prepositions, clause patterns, and
whileconstructions. - [ARTICLE] MDN HTTP Overview - Technical context for deployments, requests, responses, and rollout examples.
- [ARTICLE] Microsoft Writing Style Guide - Guidance for concise timelines and explicit technical wording.
Key Takeaways
- Use
beforeandafterto place one event earlier or later than a reference event. - Use
duringbefore a noun phrase to frame an interval:during the rollout. - Use
whilebefore a clause to show an overlapping action or state:while workers drained the queue. - A time relation makes order inspectable, but order alone does not prove causation.
- Include the smallest amount of timeline detail that helps another engineer reconstruct the next decision.
← Back to Technical English: Prepositions for Systems and Data Flow