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

关于 molten链路分析的问题 #96

Open
habbyCP opened this issue Mar 13, 2018 · 5 comments
Open

关于 molten链路分析的问题 #96

habbyCP opened this issue Mar 13, 2018 · 5 comments

Comments

@habbyCP
Copy link

habbyCP commented Mar 13, 2018

1 韩天峰在wiki 说了 https://wiki.swoole.com/wiki/page/851.html 貌似2.X 不支持 molten 会崩溃

2 molten结合Zipkin的分析 在swoole里面,swoole因为是常驻内存的会识别成一个cli启动

@JanHuang
Copy link
Member

@habby-c 感谢关注,确实存在这个问题,另外因为目前不建议使用swoole2.x版本,还是主要在1.9.x版本运行。另外cli的问题,咱们关注一下是否存在或解决方案。

@longxinH
Copy link
Member

性能监控扩展都需要把原本的zend_execute(php控制权)勾出来,进行cup记录或者时间记录,做完这些操作之后,再把zend_execute还原回去,对于守护进程来说,这可能会导致zend虚拟机的奔溃。所以这类监控适用于php本身的机制,一次请求,一次释放

@JanHuang
Copy link
Member

@longxinH 是的

@habbyCP
Copy link
Author

habbyCP commented Mar 21, 2018

@longxinH 对于在swoole模式下做链路追踪有什么好办法吗

@longxinH
Copy link
Member

我刚刚试下了xhprof是可以的,需要自行封装zipkin数据上报。韩天峰说的wiki是在协程模式下。

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

No branches or pull requests

3 participants