We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
是不是可以编译和运行写在一个接口(c语言这种),这样是不是可以去掉服务状态依赖
The text was updated successfully, but these errors were encountered:
有状态是为了性能考量(状态为缓存文件,并不持久化)。编译和运行在同一个接口则会有另外的依赖(编程语言对应的编译运行命令)。而且通常情况下,一个编译对应的是多个运行(不同的子任务),一个接口不能很好的表达这种 1:N 的关系。考虑到以上几点,暴露的接口是尽量原子化和无状态的操作。
Sorry, something went wrong.
No branches or pull requests
是不是可以编译和运行写在一个接口(c语言这种),这样是不是可以去掉服务状态依赖
The text was updated successfully, but these errors were encountered: