3 ms·
> So some programmers will just close the connection because they don't understand the difference or because they've learned that closing the connection guarant
by mschuster91 10y ago
> So some programmers will just close the connection because they don't understand the difference or because they've learned that closing the connection guarantees that the data is written.
To be fair, this problem isn't limited to databases. Filesystems, even HDDs/SSDs, have been known to readily ignore flush() calls in order to achieve better benchmark results.