lealone-plugins / lealone-plugins/lealone-bench
纯讨论下AsyncPgSingleRowUpdateBTest的实现
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
- 用了new Thread来执行SQL,但是SQL又由vertx的SqlClient来执行,这里是不是会有额外的线程间的context switch? 就是new Thread和vertx event loop间的context switch
- 是不是把在new Thread里运行的SQL,放到vertx vertical里运行会更加快?这样的话就没有额外开销了,都在vertx的event loop里运行
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading AsyncPgSingleRowUpdateBTest and tracing its new Thread, Vert.x SqlClient, and event-loop execution paths. Measure the current implementation and a Vert.x-based alternative, then document whether the context-switch cost changes the result and what implementation should be preferred.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100