-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
아래와 같이 비관적 락이 사실상 거의 항상 빨랐음.
똑같은 row만 수정한다던가, optimistic할때만 resultSet.getInt()가 일어난다던가 하는게 의심감
| threadCount | updateCount | optimistic | pessimistic |
|---|---|---|---|
| 10 | 10 | 53ms | 45ms |
| 10 | 10000 | 31894ms | 15287ms |
| 100 | 10 | 2869ms | 297ms |
| 2 | 10000 | 3558ms | 3016ms |
| 100 | 100 | 29263ms | 1923ms |
| 1 | 10000 | 1667ms | 1623ms |
| 1 | 100000 | 16979ms | 16873ms |
Metadata
Metadata
Assignees
Labels
No labels