Globaly improve performance
(CONJ-291)
|
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.0-RC |
| Type: | Sub-Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Permit to have faster results even with distant database: There is one problem with that approach: networking stack lock problem. There is differents solutions to avoid this problem : Advantages : Some performances tests on remote server using async implementation (1000 inserts containing 100kb String each): |
| Comments |
| Comment by Diego Dupin [ 2016-07-28 ] |
|
new options : useBatchMultiSend = PreparedStatement.executeBatch() will send many QUERY before reading result packets.default to true. useBatchMultiSendNumber = When using useBatchMultiSend, indicate maximum query that can be send at a time. default to 100 |
| Comment by Diego Dupin [ 2016-08-01 ] |
|
additionnal commit to avoid problems when socket SoTimeout is set. |