Implementation of direct upload in LIGHTTPD media server |
Author(s): |
| JAGANI KEVINKUMAR PARSOTTAMBHAI , G.T.U. P.G. SCHOOL AHMEDABAD; Arjav A. Bavarva, R.K.UNIVERSITY RAJKOT |
Keywords: |
| Low lighttpd media server, Django algorithm, Chunk size. |
Abstract |
|
In this paper, the lighthttp is media server which provides the facility to download, upload and stream media files. While uploading the media files, lighthttp stores the media files in 2MB chunks. Each chunk has some header and footer which identify the specific chunk. When all the chunks are uploaded, lighthttp invokes specific plugin to process these chunks and accumulate all the chunks. There are several Plugins in lighttpd for different type media files and requirement. In our case we are using Django plugin. When Django receive all the chunks from lighthttp server, It start processing chunk by chunk, remove the header and footers and combine all the chunks. Another enhancement is maximum size to be uploaded. The default lighttpd supports maximum file as 2GB and that is limited due to integer size. We used long data type to increase the maximum file to 2^64 bytes which we can consider as of now as unlimited. Remember, the whole lighttpd as multiple places was using integer and also all the Plugins uses same data types. To modify this change, we have to modify all the places of lighthttp and all the Plugins. |
Other Details |
|
Paper ID: IJSRDV2I3247 Published in: Volume : 2, Issue : 3 Publication Date: 01/06/2014 Page(s): 1293-1295 |
Article Preview |
|
|
|
|
