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

文档里的图片都挂了 #333

Open
wyrain opened this issue Nov 8, 2021 · 6 comments
Open

文档里的图片都挂了 #333

wyrain opened this issue Nov 8, 2021 · 6 comments

Comments

@wyrain
Copy link

wyrain commented Nov 8, 2021

image

@whtiehack
Copy link
Member

用的pomelo的图.都挂了

@laiqun
Copy link

laiqun commented Jul 22, 2022

image
图中有master管理服,若干后端服,若干前端服(即网关),若干客户端。(注:服务器组每两个之间有一个socket连接,图中未画出)
客户端向服务器发消息:经过 ① ,到达前端服,调用protoDecode函数,经过消息过滤器cmdFilter后,如果该消息是本服消息,则调用msgDecode,并执行对应消息接口。如果此消息是后端服的,则拷贝sessionBuff一起编码,经过 ② ,到达对应后端服后再调用msgDecode,并执行对应消息接口。
前端服向客户端发消息:调用protoEncode函数编码后,经过 ③ ,到达客户端。
后端服向客户端发消息:调用protoEncode函数编码后,加上uid数组信息,经过 ④ ,到达sid所对应前端服后解析出uid数组信息,向对应客户端发送消息,即经过 ⑤ ,到达对应客户端。
服务器间,开发者rpc调用:即 ⑥ 。rpc调用的消息编码为 json,最后一个参数为Buffer时则该Buffer无需编码,直接转发。

@laiqun
Copy link

laiqun commented Jul 22, 2022

@lizhiyu-me
Copy link

我这里存得有缺失的图片 https://lizhiyu.me/pomelo

pomelo-arch

@laiqun
Copy link

laiqun commented Oct 10, 2023

其实 docs/source/zh-cn/images/ 这个路径中,就有丢失的图,只是没有被正确的链接。

作者的github里面有一些文章,里面有一些图是没用挂的:
https://github.com/xiecc/game-server-development/blob/master/node-game-server-1/node-game-server-1.md
InfoQ网站上,有一些图没用挂:
https://www.infoq.cn/article/design-motivation-and-introduction-of-pomelo-framework

两边的文章的图可以互补,我整理到了我的CSDN上:
https://blog.csdn.net/laiqun789/article/details/133737741?spm=1001.2014.3001.5502

作者的PPT
https://github.com/JerrySir/study-materials/blob/master/%E5%90%8E%E7%AB%AF/%E5%9F%BA%E4%BA%8ENode.js%E7%9A%84%E6%B8%B8%E6%88%8F%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%A1%86%E6%9E%B6pomelo.pptx

作者的视频:B站搜索 谢骋超

@ywj2
Copy link

ywj2 commented May 2, 2024

官网文档图片丢失了,但github上的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

5 participants