All right! I finally got around to releasing this code to the public. I won’t say much now (since I’m tired) but I will say that this software has been functioning in production environment for over 1 year and a half serving all the video content available on the romanian website http://peteava.ro (about 800 TB of data each month out of 14 servers). Some (old) statistics showing it’s power can be found here.
Continue readingCategory: Networking
Articles on networking, client/server architectures, TCP/IP, UDP, networking services (i.e. dns, dhcp, http etc.), cluster management etc.
“Loomiere 2.0 teaser” reloaded
UPDATE: http://vpalos.com/1165/loomiere-2-0-1-beta-finally-out/ «Update… Today this machine reached 6500+ active concurrent connections for a total traffic of 2841.19 Mbps (2778.1 output + 63.09 input) while the SSD’s were still below 20% load. Now that’s what I call serious FUN! 😀 Here are some pictures… …end!» Since my last post about describing the performance of Loomiere in production, quite a few things have happened. I tested a lot and found many things I
Continue readingLoomiere 2.0 teaser
UPDATE: http://vpalos.com/1165/loomiere-2-0-1-beta-finally-out/ This article is a quick peek into how Loomiere 2.0 is (currently) serving close to 3k active streams from a single server in production which is restricted to 1.6 Gbps of bandwidth (we are currently negotiating with our ISP to raise this limitation). All these statistics represent a single machine, in real time, over a period of 12 hours, equipped as follows: 2 x Xeon Dual Core (with HyperThreading) at 3.2GHz 16 GB
Continue readingLoomiere/Stream: Revived!
UPDATE: /1165/loomiere-2-0-1-beta-finally-out/ OK folks, things have settled down and we are good to go. After some considerations the legal concerns for Loomiere/Stream are now cleared and gone. The source is now released and will be available indefinitely. Again, this streamer (minimally customized) has already been serving all the video content at http://peteava.ro for 3 full months (for those seeking a demo). Source code: loomiere-0.2.1-tar.gz Warning: Any software downloaded from this
Continue readingFirst impressions on Loomiere/Stream performance
UPDATE: http://vpalos.com/1165/loomiere-2-0-1-beta-finally-out/ As promised, here are some of the first monitoring statistics of Loomiere/Stream in a production environment after moving away from psstream. Only one server is considered, a Quad-core Xeon with 8GB RAM (not that they are used anymore). This shows the memory usage over one week (the switch was made on the 29th as is obvious).
Continue readingLoomiere/Stream – A high performance streaming server
UPDATE: http://vpalos.com/1165/loomiere-2-0-1-beta-finally-out/ The Loomiere (0.2.1) code is now freely available under GPLv3. Please see this post for an update. Are you killing psstream? Well, yes! I am sure that many of you already know about psstream (the PHP streaming extension I made a while back). Well, many things happened since then and I came to realize I could do better; a whole lot better actually. As of now the ‘psstream’ project
Continue readingBash URI parser using SED
Warning! This version is now obsolete! Check out the new and improved version (using only Bash built-ins) here! Here is a command-line (bash) script that uses sed to split the segments of an URI into usable variables. It also validates the given URI since malformed strings produce the text “ERROR” which can be handled accordingly: # Assembling a sample URI (including an injection attack) uri_1=’http://user:pass@www.example.com:19741/dir1/dir2/file.php’ uri_2=’?param=some_value&array[0]=123¶m2=\`cat /etc/passwd\`’ uri_3=’#bottom-left’ uri=”$uri_1$uri_2$uri_3″ #
Continue reading