ModelEngine-Group / ModelEngine-Group/fit-framework
提供插件的预热机制
Open
Nobody has claimed this yet.
from: gitcode
in: fit
type: feature
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
每一个插件启动的时候可能会做一些比较耗时的操作,可以添加一个预热(warmup)接口,同时添加对应的生命周期事件,让用户插件自主决定是否需要进行预热,如果进行预热,则可以在启动器进行预热,加速第一次调用的时间
Contributor guide
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
No files, tests, or entry points are named. Start by locating the Java plugin startup and lifecycle handling, then determine how an optional warmup hook and lifecycle event would fit; done means plugins can opt into startup warmup before the first call without affecting plugins that do not use it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100