[CDRIVER-532] vectorized writes are pathological for TLS using BIO_write Created: 18/Feb/15 Updated: 19/Oct/16 Resolved: 10/Mar/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | 1.1.2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
The mongoc_stream_writev api is somewhat pathological for TLS streams at this point, because we make multiple calls into BIO_write, which adds overhead in the driver, over the wire and in the server. We should coalesce small writes to avoid this penalty |
| Comments |
| Comment by Githook User [ 19/Feb/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey (hanumantmk)', u'email': u'jcarey@argv.me'}Message: Rather than calling BIO_write multiple times for each iovec_t in a call |
| Comment by Mira Carey [ 18/Feb/15 ] |