You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/06/07 11:39:40 UTC

[GitHub] [incubator-shardingsphere] evenardo opened a new pull request #2522: 显著加速 sharding-jdbc 的启动时间!

evenardo opened a new pull request #2522: 显著加速 sharding-jdbc 的启动时间!
URL: https://github.com/apache/incubator-shardingsphere/pull/2522
 
 
   在本地测试的环境中, 经常需要重启项目进行 debug , 给员工带来了大量的等待时间, 随着表数量的增加, 在项目编写阶段debug 阶段, 反复的启动时间和 unit test 测试时间难以承受.
   
   然后我看了一下源码, 发现这里有些地方可以改进. 这两个被修改的函数进行了大量的反射和组装map 的工作, 而这些工作都是比较单调机械的, 我认为, 没有什么本质上的线程安全问题. 所以这里用多线程进行了处理.
   
   经本地测试, 原本启动时间在 两分钟左右的项目, 现在缩减为30秒左右.
   
   Fixes #ISSUSE_ID.
   
   Changes proposed in this pull request:
   -
   -
   -
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services