Hot answers tagged

23

You can fix this sort of thing via technology - basically firewall off the sources and/or ports - but I'm a big believer in not turning a HR problem into a game of cat'n'mouse with your users. Simply speak to HR, explain the problem and ask them to make a policy regarding this issue and have them communicate it to your users. Then simply agree with HR to do ...


11

In linux you can use tail -f -n +0 /path/filename to see it. While -n generally refers to how many lines at the end of the file that you want printed, when passed +<n> it starts at the nth line from the beginning of the file. From tail --help: -n, --lines=K output the last K lines, instead of the last 10; or use ...


6

10TB of quality bandwidth costs a whole lot more than $10/month. Feel free to give a cheapo hosting company a go, but don't be surprised if you get kicked off or throttled after a few days.


5

10Tb = 10,485,760MB. Let's assume that you're going to do this over a period of a month, thats 341GB a day, 14GB an hour, 242MB a minute, or 4MB a second. This equates to a 32Mb connection, fully maxed, 24 hours a day, 7 days a week. Good luck getting that kind of service on a standard highly paid web host, let alone a $10/month host. They would kick you ...


5

Amazon just added a streaming media service today (Amazon Cloudfront). For the first 10 TB of data, they charge $.17 per GB, and even provide a calculator to estimate your monthly costs. 10TB of data would cost you a mere $1740.82 a month. Are you sure you're looking at 10TB a month? As Farseeker's calculations show, that is a LOOOOT of data to be pushing ...


5

RAID0 should be quicker than just splitting your data across drives due to striping; RAID0 will load both drives more evenly - potentially working both drives harder than if split; I'd use them a separate drives, if you lose a drive you'll lose half your data, with RAID0 you'll lose all your data.


5

You can install spotify yourself, sniff the traffic, and block outbound connections to their servers on your firewall. Or You can get a rate shaper that does packet inspection and shape the traffic for streaming audio to zero or close to it, then whitelist any legitimate audio streaming sites that you approve.


5

VLC does not support segmenting the output file. You can try to use directly ffmpeg as it supports output segmentation: ffmpeg -i rtsp://admin:admin@10.1.1.1:554/ch1-s1 -c copy -map 0 -f segment -segment_time 600 -segment_format mp4 "out%03d.mp4"


5

tail -9999f will do something close to what you want. Add more 9s if your file is bigger. Problems: Binary files may not have newline characters. tail -f will wait for a newline before printing anything out. The version of tail on Solaris (you didn't mention which Solaris but it probably doesn't matter) probably doesn't support that option. It may ...


4

RAID 0 writes into to each drive in little stripes of 64kb (or whatever size you configure), alternating drives as it goes. JBOD most commonly concatenates one disk to the other, so the beginning of the logical drive is one physical drive, and the 2nd half is the other physical drive. Both will effect the MTBF of the array; with 2 drives you double your ...


4

Let's do the maths here, let's start with bandwidth; You want 100 users watching a live 500Kbps unicast stream, that's 50Mbps - so exactly half of your 100Mbps, assuming all traffic is outgoing and there's no jitter or other traffic such as regular web hits for your landing page/catalogue etc. That's surprisingly close to the bone. Then you want people to ...


4

Joins are sent initially to the rendezvous point set up for a particular range of groups. After the multicast tree to the RP is formed generally a shortest path tree (SPT) is formed based on IGP metrics. Traffic is then pruned down from the RP-based tree to the new SPT. In other words, the RP is initially part of forwarding the traffic but can be (and ...


4

This is going to cost you a shedload, but basically, you either need a huge SSD array, or a huge tiered storage array. There's a bunch of SAN vendors who'll be able to provide you something to meet your requirements, but basically you need: Many SATA disks, for storage capacity, fronted by SAS 15k disks, or SAS SSDs, for quick access storage. All provided ...


4

No - I'd recommend against hosting the videos yourself directly, as plenty of much more specialized companies will happily do that for you. Host the videos on YouTube or Vimeo, and embed them in your pages.


4

Ah - my favourite subject! Presumably you'll just be playing back static, pre-encoded files right? well what you want to do is work out the average bit-rate of your content first, this leads the way for all the other things you'll need to work out. Now for only 150MB of content you'll be able to cache that easily, so you won't have to worry about your disk ...


3

I am the maintainer of Meteor. While we don't have any official figures on expected load capacity, 20,000 per node is not unreasonable. There are certainly comet solutions that can handle more clients. All of the projects you've listed are viable options. The only one I've tried personally aside from Meteor is Orbited, and found it worked well, but I've ...


3

Erlang would be a good dynamic language for such a website. So you can have a look at Yaws webserver. Netty is an event-driven server framework for Java it may also be interesting. Play Framework is a web framework based on Netty and it can be used with both Java and Scala. Also see: A Million-user Comet Application with Mochiweb, Part 1 Plurk Comet: ...


3

Are you looking to set up your own system? If you aren't set on that, there are already some great services out there to stream your own live video from a webcam. Two of the best are: Ustream.tv Qik These both work by streaming video from a client via a flash applet, and allow you to embed the video to your website. You could write this all from ...


3

Red5 is an open source flash media streaming server that supports several codecs and live stream publishing written in Java. VideoLAN (better known for their specific project VLC - VideoLAN Client) also does live streaming, though I'm not sure to what degree it's considered a good public-facing internet streamer. I know people use it for that, I just don't ...


3

There is no way to support audio (or USB) inside of ESX and maintain portability/HA/vMotion according to VMWare. Sound is, as you already know, supported through RDP though. This works because audio is redirected to your machine which initiated the RDP session.


3

Actually, joyent plans come by default with 10tb of data transfer. The smallest plan is, if i remember correctly $45 per month. They are on a tier 1 backbone, and their excess data charges are pretty damn reasonable as well. Only catch is they are opensolaris...but unix is unix really I also found a VPS host in france called Gandi that offer probably ...


3

Yep, there are lots, I use Cisco CDE kit (Clicky). I'm a VoD-guy, there are so many questions you need to ask yourself before you can choose a streaming technology - the first being do you know what your client software/codec is, the second being whether you need QoS or not. Are you planning on charging for content or will it all be free? As for Youtube, ...


3

Update Looks like Apple made an IETF draft proposal, and some people are already working on segmenters: HTTP Live Streaming - draft-pantos-http-live-streaming-01 http://tools.ietf.org/id/draft-pantos-http-live-streaming-01.txt iPhone HTTP Streaming with FFMpeg and an Open Source Segmenter ...


3

HDFS stores data in large blocks -- like 64 MB. The idea is that you want your data layed out sequentially on your hard drive, reducing the number of seeks your hard drive has to do to read data. In addition, HDFS is a user-space file system, so there is a single central name node that contains an in-memory directory of where all of the blocks (and their ...


3

According to this page you have to add the mime types to the server, in Apache it would be: AddType video/ogg .ogv AddType application/ogg .ogg


3

This is expected behaviour. Multicast is a function of routing, so that a client can add itself to a multicast group and traffic will be routed its way. The server isn't likely acting as a router with regards to IGMP and of course it has no idea if anyone is subscribed or not. However, it would be perfectly legitimate (and advisable) for the first hop ...


3

I believe that FFserver can do what you're looking for. It's a part of the open source cross-platform FFmpeg suite, available at http://www.ffmpeg.org/


2

Try VLC: http://www.videolan.org/vlc/ The most important advantages are: CLI interface + GUI, nearly all OS, remote control over web interface


2

Nginx has built in support for streaming FLV files through the HttpFlvStreamModule. You nave to specify the module when you compile / recompile Nginx. # ./configure --with-http_flv_module ...SOME-OTHER-OPTS... You can then configure your nginx.conf to stream FLV files like so: ... http { ... server { ... location ~ \.flv$ { ...


2

Unless I am misunderstanding your setup, you should not be using proxy_cache to speed things up, as nginx is on the same box as the media files. Just let the operating system use the extra RAM as filesystem cache (monitor and tune that behavior if necessary) - this will speed things up far more than proxy_cache would since everything is on the same box. ...



Only top voted, non community-wiki answers of a minimum length are eligible