Skip to content

Commit fdd07c7

Browse files
committed
docs: partial response and pipeline diagrams
1 parent ecfd944 commit fdd07c7

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

partial-response/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ In plain words
3333

3434
> The Partial Response design pattern allows a system to send portions of data to the client as they become available, enabling the client to start processing the data before the complete response is received.
3535
36+
Sequence diagram
37+
38+
![Partial Response sequence diagram](./etc/partial-response-sequence-diagram.png)
39+
3640
## Programmatic Example of Partial Response Pattern in Java
3741

3842
The Partial Response design pattern allows clients to specify which fields of a resource they need. This pattern is useful for reducing the amount of data transferred over the network and allowing clients to start processing data sooner.
Loading

pipeline/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ Wikipedia says
4646

4747
> In software engineering, a pipeline consists of a chain of processing elements (processes, threads, coroutines, functions, etc.), arranged so that the output of each element is the input of the next; the name is by analogy to a physical pipeline.
4848
49+
Flowchart
50+
51+
![Pipeline flowchart](./etc/pipeline-flowchart.png)
52+
4953
## Programmatic Example of Pipeline Pattern in Java
5054

5155
Let's create a string processing pipeline example. The stages of our pipeline are called `Handler`s.

pipeline/etc/pipeline-flowchart.png

30.5 KB
Loading

0 commit comments

Comments
 (0)