Activity Stream
48,167 MEMBERS
6751 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 41

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    It 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

  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    Website's:
    X4B.org
    lol, nginx kills apache mod_php easily.
    Quote Originally Posted by lifetalk View Post
    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!

  4.     
    #3
    Member
    Website's:
    btjunk.net
    @lifetalk thanks for feedback will give a try! Can you tell me main optimization tips for leech server? Thanks

  5.     
    #4
    Member
    Website's:
    oneddl.eu nfomation.net linksafe.me
    As 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.

  6.     
    #5
    Banned
    Website's:
    KWWHunction.com
    You do make a good point okone but its 10pm and im to tired to comment anymore

  7.     
    #6
    Member
    "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.

  8.     
    #7
    Member
    Website's:
    btjunk.net
    Please 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?

  9.     
    #8
    Respected Developer
    Website's:
    X4B.org
    Quote Originally Posted by vgnheart View Post
    "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.
    Show 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.


    Quote Originally Posted by kiladila View Post
    Please 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?
    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)

  10.     
    #9
    Member
    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 .

  11.     
    #10
    Member
    Website's:
    btjunk.net
    I have tried Nginx now i will try Apache and tell which one server better in this situation.

Page 2 of 5 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help about NGINX!
    By FootStep in forum Server Management
    Replies: 9
    Last Post: 20th Jul 2012, 04:50 PM
  2. Nginx php help
    By MediaStar in forum Server Management
    Replies: 10
    Last Post: 25th Apr 2012, 03:20 PM
  3. Nginx Help
    By dheeraj4uuuu in forum Webmaster Discussion
    Replies: 4
    Last Post: 28th Mar 2012, 09:26 PM
  4. Nginx and subdomains
    By skinner in forum Server Management
    Replies: 5
    Last Post: 14th Mar 2012, 10:29 PM
  5. Plesk and nginx
    By Webmin in forum Technical and Security Tutorials
    Replies: 8
    Last Post: 5th Mar 2012, 08:39 PM

Tags for this Thread

BE SOCIAL