The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hi, i tried to migrate to NGINX. Anyone using NGINX incl. http://wiki.nginx.org/HttpSecureLinkModule working ?
This drives me crazy
See here: http://forum.nginx.org/read.php?2,173863,173877
Thats not my thread there, just found that via google. Did the patching stuff already.
Offline
Nginx has a smaller footprint than lighttpd so it is lighter on the server. But, it isn't faster. There is also less security in nginx streaming than lighttpd. I would probably say that overall, it is better to stream with Apache than lighttpd. One of the biggest problems with lighttpd is that it doesn't support multiple threads. This means that for servers that have multiple cores, lighttpd won't scale across them. Apache, however, can. For very powerful servers, it is actually better to stream with Apache (even though lighttpd is faster) as it can use more of the system's resources than can lighttpd.
Offline
Thats only half of the truth
http://redmine.lighttpd.net/wiki/1/Docs:MultiProcessor
About not NGINX not being faster than Lighty:
If NGINX uses only the half of the CPU Load, we have more resources left for other processes, eg: converting, serving under heavy load. Nginx uses only the half of CPU and MEM under heavy Load.
http://wiki.nginx.org/WhyUseIt
BTW: Lighty Streams for Youtube http://highscalability.com/youtube-architecture
For the streaming Security: Lighttpd is not secure - i do not talk about rtmp - i can download EVERY video "secured" by mod_secdownload.
And NGINX has something similar to Lightys secdownload. Link in my first post.
Offline
Having main script and videos at the same server, though, lighttpd is probably a better way to go. I have my site on multiservers with lighttpd and sec_download but if a video is up to 100Mb I have load problems and the CPU usage is 10%. Here is the bug and i will fix it now http://blog.lighttpd.net/articles/2005/ … -downloads , Thanks for the link
Maybe this will help you
https://calomel.org/nginx.html
Last edited by Eri (2011-06-09 23:40:53)
Offline
Thanks for the link, but i have nginx up and running ( for testing purposes not on port 80 ).
My Problem is to get this http://wiki.nginx.org/HttpSecureLinkModule running.
Ok, the plugin is working, but nginx has another url construction than lighttpd.
As far as i see /modules/video/helpers/stream.php does this, but for the urls that lighty needs.
Maybe Adrian can take a look into it.
Maybe a selector in admin cp under video -> configure -> view -> streaming settings
Offline
I could add a selector in Admin once i finish my exams for the university. I personally use and consider lighttpd very good (not to mention youtube uses it). The combination of lighttpd + memcache + sphinx is actually used by a lot of big sites (in total or partial).
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1