Results 11 to 20 of 41
Hybrid View
-
2nd Nov 2010, 09:32 PM #1It begins...
Nginx will fail really hard with dynamic load. It's designed to handle load from static files.
You're streaming data which effectively means there's script interaction at some point. That's where nginx tends to fail, hard. And I say that from experience. I used to run a public leech server too. And nginx failed in a few hours. I switched back to optimized Apache, and I was good to go!Lifetalk Reviewed by Lifetalk on . Asking for advice about Nginx Good evening, have little problem with Nginx configuration. I'm using it for script who streaming data to user from another server, so it's like proxy. But this action requires lot of CPU time. I have almost default Nginx configuration, it works with fast-cgi, i wonder maybe some one know something about tweaking Nginx for streaming/proxy? Rating: 5
-
3rd Nov 2010, 12:56 AM #2Respected DeveloperWebsite's:
X4B.org
-
2nd Nov 2010, 09:34 PM #3OPMemberWebsite's:
btjunk.net@lifetalk thanks for feedback will give a try! Can you tell me main optimization tips for leech server? Thanks
-
3rd Nov 2010, 12:25 AM #4MemberWebsite's:
oneddl.eu nfomation.net linksafe.meAs I explained before, its not nginx thats the problem, its what your using to interpret php FOR nginx. An optimized apache setup will probably work, but if you're actually serving content from the server, then I'd stick with nginx. As I said before, why not give php-fpm a go?
On the other hand, you could have the best of both worlds. Use nginx to serve static content and have it proxy to apache for anything dynamic.
Just my two cents.
-
3rd Nov 2010, 12:29 AM #5BannedWebsite's:
KWWHunction.comYou do make a good point okone but its 10pm and im to tired to comment anymore
-
3rd Nov 2010, 05:57 AM #6Member
"Nginx" not good for dynamic contents. even if you run it as a front end proxy with apache backend, it will cause access problems. at many places only port 80,443 is open.
a well optimized apache with prefork mpm is good.
-
3rd Nov 2010, 09:00 AM #7OPMemberWebsite's:
btjunk.netPlease tell if streaming data is DINAMIC or STATIC content? If we using simple rapidleech with schema: FILE HOST >> SERVER >> USER i think that we serving static content (only files), but in my situation i'm streaming files directly via proxy script, so this is dynamic content then?
-
3rd Nov 2010, 09:08 AM #8Respected DeveloperWebsite's:
X4B.orgShow me one benchmark where mpm prefork beats apache under a decent load (atleast 10 req/s, although im sure it would beat it under that) and I will eat my hat.
Streaming static files definately used nginx, if you are serving large files try directio, else ensure sendfile is on.
If files are never read twice then compiling nginx with aio (asyncronous IO) will give a performance increase howeaver if not dont worry (AIO skips file caching)
-
3rd Nov 2010, 09:08 AM #9Member
Nginx pawns all.. thats why is was buit , ( to handle c10k problem -- > it can handle 10 k concurrent connection at same time on medium hardware with default config)
if you are looking for a reverse proxy,. try varnish ..Coding Horror Fan
I don't read PM's frequently .
-
3rd Nov 2010, 09:14 AM #10OPMemberWebsite's:
btjunk.netI have tried Nginx now i will try Apache and tell which one server better in this situation.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need help about NGINX!
By FootStep in forum Server ManagementReplies: 9Last Post: 20th Jul 2012, 04:50 PM -
Nginx php help
By MediaStar in forum Server ManagementReplies: 10Last Post: 25th Apr 2012, 03:20 PM -
Nginx Help
By dheeraj4uuuu in forum Webmaster DiscussionReplies: 4Last Post: 28th Mar 2012, 09:26 PM -
Nginx and subdomains
By skinner in forum Server ManagementReplies: 5Last Post: 14th Mar 2012, 10:29 PM -
Plesk and nginx
By Webmin in forum Technical and Security TutorialsReplies: 8Last Post: 5th Mar 2012, 08:39 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...