gpt4 book ai didi

architecture - 您如何编写基于网络的实时协作工具,例如 google docs?

转载 作者:行者123 更新时间:2023-12-03 07:58:50 25 4
gpt4 key购买 nike

我真的很好奇

如何编写诸如 google docs 之类的协作工具?

我能想到的最接近的事情是编写一个像聊天一样的消息传递系统,然后来回发送消息,以便每个客户端更新自己。

你知道他们编写这样一个小工具的教程/演示吗?

他们使用什么工具来开发此类应用程序?

TIA 获取您可以提供的任何指示。

最佳答案

Google 文档通过 operational transformation 工作.

The basic idea of operational transformation is to transform (or adjust) the parameters of an editing operation according to the effects of previously executed concurrent operations so that the transformed operation can achieve the correct effect and maintain document consistency.



谷歌出品 a video关于 Google Wave 的运营转型;这项技术被移植到 Google Docs。

至于技术,请查看以下链接:
  • Understanding and Applying Operational Transformation
  • Google Wave Operational Transformation
  • Real-time Collaborative Editing with Web Sockets, Node.js & Redis
  • Operational Transformation library?
  • OTpad: Operational Transformations Testing (Etherpad in nodejs)
  • 关于architecture - 您如何编写基于网络的实时协作工具,例如 google docs?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5772879/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com