高并发场景,只要有连续不断的 sql 要处理,lealone 的异步客户端的性能已经很接近批量执行了。线上 oltp 场景要执行的 sql 是不同的,所以不太可能让应用自己攒够一批 sql 再通过 jdbc 的 executeBatch 去做,这时通过 lealone 的 executeUpdateAsync 和 executeQueryAsync 也能接近批量执行的性能。

Reply to this note

Please Login to reply.

Discussion

No replies yet.