You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2023/09/13 03:09:10 UTC
[GitHub] [shardingsphere-elasticjob] linghengqian opened a new issue, #2258: Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI
linghengqian opened a new issue, #2258:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258
## Feature Request
**For English only**, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will **close it**.
Please answer these questions before submitting your issue. Thanks!
### Is your feature request related to a problem?
- Linked to https://github.com/oracle/graalvm-reachability-metadata/issues/206 and https://github.com/oracle/graal/issues/7390 .
### Describe the feature you would like.
- For the GraalVM Reachability Metadata required by ElasticJob Lite Core, multiple PRs have been completed at https://github.com/oracle/graalvm-reachability-metadata .
- https://github.com/oracle/graalvm-reachability-metadata/pull/380
- https://github.com/oracle/graalvm-reachability-metadata/pull/381
- https://github.com/oracle/graalvm-reachability-metadata/pull/383
- https://github.com/oracle/graalvm-reachability-metadata/pull/390
- But the RSS of https://github.com/oracle/graalvm-reachability-metadata is really too high. I have been waiting on the front PR for nearly a year to seek reviews from the GraalVM Team, and after one year Completed reconstruction again and again in time. I think we should solve this problem inside ElasticJob now.
- In addition, the investigation results at https://github.com/linghengqian/graalvm-trace-metadata-smoketest/issues/4 also show that SCRIPT Job and TracingConfiguration cannot be used under Native Image. Considering the extremely high RSS of https://github.com/oracle/graalvm-reachability-metadata , I don't think a similar issue would get much help on the central repository side of graalvm-reachability-metadata.
- The target of this issue is
- [ ] Migrate from Junit 4 to Junit Platform to introduce GraalVM Native Build Tools into the project.
- [ ] Updated most dependencies to versions matching https://github.com/oracle/graalvm-reachability-metadata.
- [ ] Introducing a new submodule that provides a JSON file containing the GraalVM Reachability Metadata of ElasticJob itself and third-party dependencies that have not yet been merged, and writes some core unit tests. This is to avoid a series of limitations of Mockito when used under Native Image.
- [ ] Fixes the issue where SCRIPT Job and TracingConfiguration cannot be used under GraalVM Native Image.
- [ ] Fixes the issue where the Spring Bean injected by ElasticJob Lite's Spring Boot Starter under GraalVM Native Image is null.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI [shardingsphere-elasticjob]
Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #2258: Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] linghengqian commented on issue #2258: Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2258:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258#issuecomment-1721662989
- @zjx990 This is a bit hard for me to understand how to handle. After all, the Github Actions device only has 8GB of memory, and Github Actions only has AMD64 devices. On ARM64 we will need to perform instruction set simulation, which may lead to inconsistent test results between AMD64 and ARM64.
- If necessary, you can open another issue and submit some PR.
- I do not expect that the current issue will be open for a long time. This issue partly involves factors outside the project, such as the review efficiency of the GraalVM Team.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] linghengqian commented on issue #2258: Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2258:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258#issuecomment-1716874940
- I'm working on this issue.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI [shardingsphere-elasticjob]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2258:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258#issuecomment-2254573226
- Usage of SCRIPT Job and TracingConfiguration with GraalVM Native Image has been fixed by #2268.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] zjx990 commented on issue #2258: Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI
Posted by "zjx990 (via GitHub)" <gi...@apache.org>.
zjx990 commented on issue #2258:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258#issuecomment-1721423104
我们在做这种自动化测试的时候,可以引入一个场景么,就是一个客户端或者准确的说一个真正执行作业的server,它的极限。
例如: 这台实例是900个作业的执行节点也就是真正的server。这900个作业都是一秒调度一次,这台server什么时候会到它的承受极限。
我的想法: 我的想法是关注它的cpu信息,因为作业的调度是有周期的,它的cpu波动也会周期,作业占用的内存我先忽略不计,如果它的cpu峰值达到70%,那么我就认为这台实例的极限就是900.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Provide built-in GraalVM Reachability Metadata and introduce a separate nativeTest in CI [shardingsphere-elasticjob]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2258:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2258#issuecomment-2257786261
> 我们在做这种自动化测试的时候,可以引入一个场景么,就是一个客户端或者准确的说一个真正执行作业的server,它的极限。 例如: 这台实例是900个作业的执行节点也就是真正的server。这900个作业都是一秒调度一次,这台server什么时候会到它的承受极限。 我的想法: 我的想法是关注它的cpu信息,因为作业的调度是有周期的,它的cpu波动也会周期,作业占用的内存我先忽略不计,如果它的cpu峰值达到70%,那么我就认为这台实例的极限就是900.
- @zjx990 As https://ge.apache.org/ has started to be used by ASF projects on a large scale this year, I've opened #2413 to discuss the way forward.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org