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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

TCPLock, A TCP/IP Semaphore Built in Node.js

31 点作者 BenjaminCoe超过 13 年前

3 条评论

sdfjkl超过 13 年前
Why not run a couple PyUNO workers on EC2 and pull conversion jobs out of a MQ system where they get queued up by whatever system does the conversion requests? The workers pull a job out of the queue, load the files from wherever they are (S3 for example) and then put the converted files back when done. With a little scripting the PyUNO workers can be monitored and restarted after <x> conversion jobs, or simply when the conversion doesn't happen within a timeout. And the whole thing can be scaled up simply by running more EC2 conversion workers. This is the sort of thing AWS was made for.
评论 #3583736 未加载
BenjaminCoe超过 13 年前
I built this library to deal with OpenOffice's PyUNO service hanging, leaking memory, and not being thread-safe. I think it could be quite useful for people running into similar problems.
评论 #3583153 未加载
评论 #3583435 未加载
robgibbons超过 13 年前
What's a Sema for?