seq_trace集群消息链跟踪利器
浏览:1927次 出处信息
'test@127.0.0.1' }] |
SeqTrace {1317,576219,213409} [0]: ({<6584.60.0>,{global,z_p}, 'x@127.0.0.1' }) {<6585.60.0>, |
{global,y_p}, |
'y@127.0.0.1' } ! {<6584.60.0>, |
[1,1,3,5]} [Serial: {1, |
2}] |
SeqTrace {1317,576219,213601} [0]: ({<6585.60.0>,{global,y_p}, 'y@127.0.0.1' }) << {<6584.60.0>,[1,1,3,5]} [Serial: {1, |
2}, From: {<6584.60.0>, |
{global, |
z_p}, |
'x@127.0.0.1' }] |
SeqTrace {1317,576219,213640} [0]: ({<6585.60.0>,{global,y_p}, 'y@127.0.0.1' }) {<6586.60.0>, |
{global,x_p}, |
'z@127.0.0.1' } ! {<6585.60.0>, |
[3,5,1]} [Serial: {2, |
3}] |
SeqTrace {1317,576219,213814} [0]: ({<6586.60.0>,{global,x_p}, 'z@127.0.0.1' }) << {<6585.60.0>,[3,5,1]} [Serial: {2, |
3}, From: {<6585.60.0>, |
{global, |
y_p}, |
'y@127.0.0.1' }] |
SeqTrace {1317,576219,213825} [0]: ({<6586.60.0>,{global,x_p}, 'z@127.0.0.1' }) {<6585.60.0>, |
{global,y_p}, |
'y@127.0.0.1' } ! {<6586.60.0>, |
[6,10,2]} [Serial: {3, |
4}] |
SeqTrace {1317,576219,213929} [0]: ({<6585.60.0>,{global,y_p}, 'y@127.0.0.1' }) << {<6586.60.0>,[6,10,2]} [Serial: {3, |
4}, From: {<6586.60.0>, |
{global, |
x_p}, |
'z@127.0.0.1' }] |
SeqTrace {1317,576219,213935} [0]: ({<6585.60.0>,{global,y_p}, 'y@127.0.0.1' }) {<6584.60.0>, |
{global,z_p}, |
'x@127.0.0.1' } ! {<6585.60.0>, |
[6,10,2]} [Serial: {4, |
5}] |
SeqTrace {1317,576219,214054} [0]: ({<6584.60.0>,{global,z_p}, 'x@127.0.0.1' }) << {<6585.60.0>,[6,10,2]} [Serial: {4, |
5}, From: {<6585.60.0>, |
{global, |
y_p}, |
'y@127.0.0.1' }] |
SeqTrace {1317,576219,214062} [0]: ({<6584.60.0>,{global,z_p}, 'x@127.0.0.1' }) {<0.37.0>, |
{erlang,apply,2}, |
'test@127.0.0.1' } ! {<6584.60.0>, |
18} [Serial: {5, |
6}] |
SeqTrace {1317,576219,214241} [0]: ({<0.37.0>,{erlang,apply,2}, 'test@127.0.0.1' }) << {<6584.60.0>,18} [Serial: {5, |
6}, From: {<6584.60.0>, |
{global, |
z_p}, |
'x@127.0.0.1' }] |
ok |
( test @127.0.0.1)11> |
透过消息交互的文本,我们可以看到消息在流动,整个过程都在掌握中,如果哪个环节出问题,也一目了然。
我们还可以用图形方式显示路径,神奇的et可以帮忙,et可以参考这里
演示下这个功能:
( test @127.0.0.1)12> ttb: format ( "ttb_upload-20111003-012347" ,[{handler,et}]). |
结论: seq_trace+ttb在跟踪消息方面真是无敌!
祝大家玩得开心!
建议继续学习:
- HBase技术介绍 (阅读:6768)
- 解析Google集群资源管理系统Omega (阅读:4598)
- 快速构建实时抓取集群 (阅读:4377)
- Hadoop集群间Hadoop方案探讨 (阅读:3747)
- “集群和负载均衡”的通俗版解释 (阅读:3527)
- storm集群的监控 (阅读:3390)
- “集群和负载均衡”在实战当中的运用技巧 (阅读:3375)
- Ubuntu下PostgreSQL数据库集群(PL/Proxy)配置方法 (阅读:2955)
- 服务器集群架构的设计与选择 (阅读:2918)
- MySQL Cluster集群探索与实践 (阅读:2830)
QQ技术交流群:445447336,欢迎加入!
扫一扫订阅我的微信号:IT技术博客大学习
扫一扫订阅我的微信号:IT技术博客大学习