diff --git a/partial-response/README.md b/partial-response/README.md index a3704a4c3..f4161443f 100644 --- a/partial-response/README.md +++ b/partial-response/README.md @@ -33,6 +33,10 @@ In plain words > 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. +Sequence diagram + +![Partial Response sequence diagram](./etc/partial-response-sequence-diagram.png) + ## Programmatic Example of Partial Response Pattern in Java 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. diff --git a/partial-response/etc/partial-response-sequence-diagram.png b/partial-response/etc/partial-response-sequence-diagram.png new file mode 100644 index 000000000..ac2f55015 Binary files /dev/null and b/partial-response/etc/partial-response-sequence-diagram.png differ diff --git a/pipeline/README.md b/pipeline/README.md index e05f151e2..0b44fe143 100644 --- a/pipeline/README.md +++ b/pipeline/README.md @@ -46,6 +46,10 @@ Wikipedia says > 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. +Flowchart + +![Pipeline flowchart](./etc/pipeline-flowchart.png) + ## Programmatic Example of Pipeline Pattern in Java Let's create a string processing pipeline example. The stages of our pipeline are called `Handler`s. diff --git a/pipeline/etc/pipeline-flowchart.png b/pipeline/etc/pipeline-flowchart.png new file mode 100644 index 000000000..48a5cf513 Binary files /dev/null and b/pipeline/etc/pipeline-flowchart.png differ