TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Beta version of SiteSupport - remote desktop for web apps

5 点作者 nichol4s超过 13 年前

1 comment

nichol4s超过 13 年前
I would like to show you guys the beta of sitesupport. We launched a preview in march this year which was well received and got some great feedback.<p>You can read how to use the service on the website, but let me explain here how it works underneath. When a new session is started, a person requesting support is redirected to our page which proxies all of the original website. The person joining the browser session will then be served the exact same resources without hitting the target server again. In addition, the first user's browser streams all the events happening on a page via a WebSocket? connection, to be replayed on the viewing browser(s). The use of a proxy has two major benefits:<p>the viewers are guaranteed to get the same resources we can modify the resources to have the properties we need Still, there's ton of things that can (and will) go wrong. Basically, we need the state of the javascript application to be identical on both sides, which is a hard problem as there are a lot of different variables at play.<p>Currently the service works with simple websites. The less advanced features you have, the better chance there is to have it working on a particular website. Eventually though, we plan to offer full HTML5 support.<p>The backend is built with Python/Gevent/Redis/Postgres?. We also use C for processing html at "real-time" speed. Since we need to parse/modify/serialize almost every text resource, most of the Python parsers introduce unacceptable latency in browsing. Even crazy fast lxml is not good enough (performance-wise). We thus built our own single-pass parser based on a state machine.