Skip to content
Permalink
Browse files
[misc] README : adding pipelining image
  • Loading branch information
rusher committed Jul 19, 2018
1 parent 096d2df commit 9dd6766
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
@@ -35,15 +35,9 @@ Using a Readable stream in your application, you can stream `INSERT` statements

With Pipelining, the Connector sends commands without waiting for server results, preserving order. For instance, consider the use of executing two `INSERT` statements.

```
│ ――――――――――――――――――――― send first insert ―――――――――――――> │ ┯
│ ――――――――――――――――――――― send second insert ――――――――――――> │ │ processing first insert
│ │ │
Client │ <―――――――――――――――――――― first insert result ―――――――――――― │ ▼ ┯
│ │ │ processing second insert
│ │ │
│ <―――――――――――――――――――― second insert result ――――――――――― │ ▼
```
<p align="center">
<img src="./documentation/misc.pip.png">
</p>

The Connector doesn't wait for query results before sending the next `INSERT` statement. Instead, it sends queries one after the other, avoiding much of the network latency.

@@ -1,3 +1,3 @@
#### 07-07-2018
#### 18-07-2018

* First alpha version
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9dd6766

Please sign in to comment.