June 2008
flv streaming with lighttpd
by camel & 2 others (via)1.4.11 got a new module for streaming Flash movie files called mod_flv_streaming. This module allows you to seek in FLV files using the high performance infrastructure of lighttpd.
The idea is simple and explained and implemented on ‘Streaming’ flv video via PHP, take two at http://www.flashcomguru.com/
But instead of streaming the file through PHP we do it in the webserver. The module expects a request for the URL which matches flv-streaming.extensions and can handle a ’?start=’ as part of the request.
The information to pass into the ‘start’ parameter is extractly by the flash-player from the meta-data of the flv-files. The meta-data can be setup with flvtool2
Now I leave it to you to combine this with mod_secdownload to create a flv-streaming server for free with deep/hot linking protected movies.
server.modules = (
...,
"mod_secdownload", ## optional
"mod_flv_streaming",
...
)
flv-streaming.extensions = ( ".flv" )
Take the flash-player from flashcomguru and adjust the URL in the player and try yourself.
SMTP Performance Benchmarking
by camel (via)To test and benchmark several common SMTP servers for Unix. This is inspired by the work done by Matthias Andree at his Postfix vs. qmail - Performance page. His information, while likely still highly relevant is based heavily around file system I/O and not overall performance of the MTA. Additionally, more MTAs and OSs will eventually be tested here.
November 2007
Apache Synapse 1.1 - gridvm.org
by camelApache Synapse offers a wide range of connectivity, including HTTP/S, JMS, (S)FTP, SOAP, WS-ReliableMessaging and WS-Security. The project has been designed to allow administrators to support advanced functionality such as load-balancing, throttling, and failover without writing code.
The new Apache Synapse 1.1 release includes many enhancements based on feedback from users, including
* Apache VFS based file transport - supports File System, FTP, SFTP, JAR, ZIP, TAR, GZIP, Mime
* Scheduled Task support makes it simple to run repetitive tasks
* XQuery mediator - simplifies XML transformation with the XQuery standard
* POJO Command mediator - allows the creation of message-independent mediation logic
* DB Report and DB Lookup mediators - support message augmentation and database logging
* Cache and Throttle mediators/enhancements - improve performance and manage load on existing services
* Split/Clone/Aggregate mediators - support batch processing of large messages
* Improved logging and tracing support
With asynchronous support for HTTP and HTTPS, Apache Synapse has very high scalability under load, supporting thousands of concurrent connections even with limited threads. Combined with streaming XML support, Apache Synapse has class-leading performance results.
The Apache Synapse code and binaries are available from the website at http://ws.apache.org/synapse
1
(3 marks)