kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | dc4611ec5270c63b94cb5850cce5e5fb9b2db2f75c4fd7acc6fe7212943ebbca |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2016-01-29 16:28 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-01-29 16:28 +01:00 |
| Parents | 44cdac474380 |
1 file changed
modified manual/pooling/README.md +4 −3
| @@ -19,9 +19,10 @@ | ||
| 19 | 19 | trigger a callback that will complete the corresponding query (this is |
| 20 | 20 | the point where your `ResultSetFuture` will get completed). |
| 21 | 21 | |
| 22 | -To increase the number of concurrent requests, we use a pool of | |
| 23 | -connections to each host. **For each `Session` object, there is one | |
| 24 | -connection pool per connected host**. | |
| 22 | +You don't need to manage connections yourself. You simply interact with a `Session` object, which takes care of it. | |
| 23 | + | |
| 24 | +**For each `Session`, there is one connection pool per connected host** (a host is connected when it is up and | |
| 25 | +not ignored by the [load balancing policy](../load_balancing)). | |
| 25 | 26 | |
| 26 | 27 | The number of connections per pool is configurable (this will be |
| 27 | 28 | described in the next section). The number of stream ids depends on the |