Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute engine enhancement #1205

Closed
12 tasks done
terrymanu opened this issue Aug 29, 2018 · 0 comments
Closed
12 tasks done

Execute engine enhancement #1205

terrymanu opened this issue Aug 29, 2018 · 0 comments
Assignees

Comments

@terrymanu
Copy link
Member

terrymanu commented Aug 29, 2018

  • Use max.connections.size.per.query to control concurrency for database access on CONNECTION_STRICTLY model
  • max.connections.size.per.query greater than table routed count, use MEMORY_STRICTLY automatically
  • When table routed count more than maximumPoolSize, use CONNECTION_STRICTLY mode automatically
  • Check max.connections.size.per.query must less or equal to maximumPoolSize in Sharding-Proxy (Sharding-JDBC cannot check because of connection pool is provided by end user)
  • Hide configuration for MEMORY_STRICTLY & CONNECTION_STRICTLY, just use max.connections.size.per.query to switch model smartly
  • Reuse connection if not call close
  • Handle get connection for dead lock
    • Get connection sync by data source for MEMORY_STRICTLY, because MEMORY_STRICTLY will hold connection until all query finished
    • Get connection async if connection size is 1
  • improve get connection performance
    • Get connection sync for XA transaction
    • Get connection sync for local transaction and BASE transaction
@terrymanu terrymanu self-assigned this Aug 29, 2018
terrymanu added a commit that referenced this issue Sep 1, 2018
@terrymanu terrymanu reopened this Sep 1, 2018
@terrymanu terrymanu reopened this Sep 1, 2018
terrymanu added a commit that referenced this issue Sep 1, 2018
terrymanu added a commit that referenced this issue Sep 1, 2018
@terrymanu terrymanu assigned tristaZero and unassigned terrymanu Sep 5, 2018
@terrymanu terrymanu reopened this Sep 18, 2018
@terrymanu terrymanu self-assigned this Sep 18, 2018
terrymanu added a commit that referenced this issue Sep 19, 2018
terrymanu added a commit that referenced this issue Sep 20, 2018
… for get connections on same data source, because data source map always use same hash sequence to iterator entries
@terrymanu terrymanu changed the title Optimize and simplify MEMORY_STRICTLY & CONNECTION_STRICTLY model Execute engine enhancement Sep 23, 2018
@terrymanu terrymanu reopened this Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants