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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How I Made Porn Video Streaming More Efficient with Python and C

267 点作者 crm416大约 12 年前

27 条评论

danso大约 12 年前
I sympathize with why the mods changed the title from "Porn" to "Video", but now you've made it so that HN users are unwittingly clicking into an article that talks about porn, in such a way that could be detected by a workplace firewall. That's not an ideal usability decision. Why not use good ol square brackets to maintain the integrity of the title:<p>How I Made [Porn] Video Streaming 20x More Efficient with Python and C
评论 #5651758 未加载
评论 #5652377 未加载
评论 #5652984 未加载
评论 #5652014 未加载
评论 #5652611 未加载
jallmann大约 12 年前
Agreed that RTMP is an abomination that needs to be exorcised from the Earth as soon as possible. Unfortunately, it is probably here to stay until something like WebRTC gains critical mass.<p>It's not clear what the article means by "repackaging" a stream or "pointers" to tags (especially in the diagram that shows tag pointers being transported between users). While RTMP is cumbersome, shoving media data (tags) under a per-session protocol header is essentially the standard way of moving data from one session to another.<p>So I'm not really following this. Is this cutting out the RTMP entirely for receiving clients, and instead sending the FLV down via another transport, like HTTP or whatever? Or is it more of, "I wrote my own RTMP streaming server in C and Python", along with some implementation details which I'm not understanding? (Not that there's anything wrong with doing so. Options are limited in the streaming-server space.)
评论 #5651893 未加载
hardik988大约 12 年前
I appreciate the effort the mods take in curating titles, I really do - but please spare articles like this at least?<p>I clicked on this link at work (part-time at grad-school) and now I have a "how to run a pornographic website faster" link logged in my name.
评论 #5652263 未加载
评论 #5651889 未加载
kbenson大约 12 年前
I love reading articles about technical issues and solutions in the Porn industry. It's like getting a peek inside a youtube scale company as they grow.
评论 #5653593 未加载
评论 #5651240 未加载
coldtea大约 12 年前
I'm astonished by some of the responses here, that could be summarised thusly:<p>&#62;<i>"I work on workplace, in a modern western society, not some theocratic backwater, that monitors my web activity and would frown if I visited an article with the word porn in it. This on 2013. I find this OK, and won't quit my job or raise hell protesting this degrading treatment, but would rather complain for HN titles"</i>.<p>In an age where people fight for LGBT rights, this is what the American workplace has come to?
评论 #5653000 未加载
评论 #5653103 未加载
评论 #5652495 未加载
评论 #5652607 未加载
评论 #5652563 未加载
xSwag大约 12 年前
&#62;The aggregated bandwidth of the clusters was around 50 Gbps, from which they used around 10 Gbps while at peak load.<p>Now that is a lot a porn.<p>Also, the illustrations look really good! How did you make them?
评论 #5652276 未加载
toptal大约 12 年前
Hey this is awesome! Though the admin/moderator changed the title for some unknown reason from the title of the blogpost to their own.
评论 #5651191 未加载
评论 #5651205 未加载
评论 #5651245 未加载
评论 #5651265 未加载
评论 #5651369 未加载
ianhawes大约 12 年前
If anyone is interested in an alternative to the usual RTMP servers (FMS, Red5, and Wowza), I highly recommend EvoStream (<a href="http://www.evostream.com" rel="nofollow">http://www.evostream.com</a>). Compared to the alternatives, EvoStream is much more efficient. I believe TinyChat published a whitepaper discussing their transition from Red5 to EvoStream, which resulted in a decline in the number of required servers.<p>EvoStream is a highly scalable streaming media server written in C++ based off of the open source RTMPD (<a href="http://www.rtmpd.com" rel="nofollow">http://www.rtmpd.com</a>). The commercial company, also called EvoStream, is a relatively new startup and they do great custom work for those not familiar with streaming media/RTMP.
评论 #5653516 未加载
lmm大约 12 年前
It's easy to underestimate the power of switching to a better language by just doing it - guess at the syntax until it works, then refactor as you start to understand the language and its culture more. In fact I've found I learn faster this way than any other.
chopsueyar大约 12 年前
Is this similar to what Wowza (wowzamedia.com) does?<p>In terms of licensing, it is $55/mo/instance or $995 for a one-time license.<p>There are also EC2 instances that start at 15 cents per hour.<p>Much less expensive than FMS
评论 #5652583 未加载
dangayle大约 12 年前
I got hit with a firewall and a "This event will be reported".<p>Thanks, HN Moderator.
buster大约 12 年前
Strange how 3/4 of the comments are more concerned with the title link, instead of the actual content.<p>Very nice post, was an interesting read!
评论 #5652129 未加载
nacho2sweet大约 12 年前
LOL at everyone who works at places that fear that the company firewall saw them read an article that had the word "Porn" in it.<p>Hopefully you get in trouble and fired, it will help your life in the long run.
latchkey大约 12 年前
As someone who built the infrastructure for serving porn for Kink.com, I'd say that this was a total waste of time. Spend the money on a third party CDN and serve from there.
评论 #5657460 未加载
评论 #5657138 未加载
评论 #5656085 未加载
mezeek大约 12 年前
This title and the article's title don't quite match...
评论 #5651354 未加载
tarikozket大约 12 年前
What service do you use for flowcharts?
ConceitedCode大约 12 年前
Is there an open source project that accomplishes something similar?
评论 #5654791 未加载
jneal大约 12 年前
I know others already said this, but I clicked on this link from work and immediately became appalled when realizing it was about porn and quickly backed out. I'd gladly read this from the comfort of my own home and I'm sure the content itself is SFW but still the point is I was mislead. Can we please [mods] not change titles in cases like this?
评论 #5654453 未加载
jeremyx大约 12 年前
What is the association with this site toptal.com? Has anyone here ever worked with them before?
评论 #5651826 未加载
i5rider大约 12 年前
Great work. I worked with RTMP for some time and I recall the pain to reverse-engineer their protocol. One other comment, maybe the title should be more like: "How I improved a slow/inefficient RTMP video streaming service by 20x". Just a thought.
评论 #5651572 未加载
ckdarby大约 12 年前
Nothing open source in this article which was the biggest drawback of me reading this.
评论 #5652107 未加载
proland大约 12 年前
If you're going to change the title, at least add NSFW to it...
评论 #5652433 未加载
评论 #5654464 未加载
ericcholis大约 12 年前
The network graphics are pretty sharp, anybody familiar with where they came from? Or, are they custom?
mariuolo大约 12 年前
Why is the type of content relevant? Perhaps there's something peculiar about porn users?
评论 #5655127 未加载
评论 #5655306 未加载
coherentpony大约 12 年前
Congratulations to whoever messed with the title; I clicked this at work.
serginho大约 12 年前
I've never expected that the story would be about porn.
atechnerd大约 12 年前
More efficiently? For two minutes of video? I could see if you were trying to stream Zombieland or Spaceballs... but porn?!<p>I guess whatever inspires people to innovate is okay with me.
评论 #5652049 未加载