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

MOSN 源码解析:共享内存模型 #24

Closed
rootsongjc opened this issue Feb 12, 2020 · 5 comments
Closed

MOSN 源码解析:共享内存模型 #24

rootsongjc opened this issue Feb 12, 2020 · 5 comments
Assignees
Labels

Comments

@rootsongjc
Copy link
Member

Reviewer: @neverhook

@trainyao
Copy link
Contributor

/assign

@trainyao
Copy link
Contributor

@neverhook 请教一下,内存共享主要是在不同mosn进程替换的时候保留metric信息使用到的么?
我看共享内存使用的时候竞争锁会用到pid

@trainyao
Copy link
Contributor

@taoyuanyuan 大佬可以帮忙解答下么? 为啥保存 metrics 需要用到共享内存? 我看 mosn reconfig 的时候也并没有将 metrics registry 保存下来, 其实不是可以直接存内存里面?

@trainyao
Copy link
Contributor

@neverhook 大佬可以review一下~

@rootsongjc
Copy link
Member Author

This blog has been published at https://mosn.io/zh/blog/code/mosn-shm/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants