Results 1 to 8 of 8

Thread: What are the BEST settings?!?!?

  1. #1
    Join Date
    Jul 2010
    Posts
    19

    Default What are the BEST settings?!?!?

    Hi Everyone,
    I run an adult tube site and currently get between 10,000 and 15,000 hits a day to my site. I want to start pushing more traffic... But, before I do I would love to hear other peoples input....

    What are the optimal settings for performance? What have you found that works better than others? I'm a bit new to the tube site model...so I'd like to hear what others have to say...


    Thank you
    David

  2. #2
    Join Date
    Jul 2010
    Posts
    19

    Default

    and in case there are other programs.. I'm talking about Vshare tube script!

    Thnx again!

  3. #3
    Join Date
    Sep 2007
    Posts
    906

    Default

    Disable Guest Limit, also enable cache.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  4. #4
    Join Date
    Jul 2010
    Posts
    19

    Default

    Quote Originally Posted by hostonnet View Post
    Disable Guest Limit, also enable cache.
    What does enabling cache do?

    Can I DELETE the cache after a certain time?
    Last edited by gpj; 09-18-2010 at 02:45 PM.

  5. #5
    Join Date
    Sep 2007
    Posts
    906

    Default

    Cache save generated page for certain time, after the set time, cache expire, generate new page. Only problem is new videos take little time to get displayed. But for a busy site this won't be a problem.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  6. #6
    Join Date
    Sep 2008
    Posts
    1,019

    Default

    That post above is a bit confusing and sort of difficult to understand.

    PHP is what is known as a interpreted language. This means that the PHP code is indirectly executed by a program known as an interpreter. Every time someone visits your site, the PHP page that is being executed is run through the interpreter, compiled into some machine binary language (usually a bytecode of some sort), processed, outputted, and then destroyed. Caching helps to speed up your site by placing a time limit (called a "wait") on the "destroyed" action. By not destroying the binary form of the page each time someone visits the page, you speed up your site by not having to do two steps (compile the page and destroy it at the end).

    Turning on caching does have its drawbacks. The first is that the cache remains in tact until either the "wait" period is reached or a significant change to the original file is detected. If you make minor changes to your files, you may never see your changed results. Two, turning on caching, in vShare, will result in two caches being built. The first cache is the normal template caching that is done automatically. The second is the PHP file caching. Essentially, your system has to now maintain two caches instead of maintaining the normal amount of one. Finally, caching only helps for sites that are experiencing high load due to either low CPU or low memory. It does not solve the issue that 99.99% of all vShare users who are experiencing slow performance have.

    Speaking of that, the BIGGEST issue that 99.99% of all vShare users will experience has to do with one thing... the hard drive! It is the one thing that no one ever thinks about because most people (outside of IT or very technical webmasters) understand this issue at hand. So, I'll explain:

    Rhetorical question, but I'll ask it anyway... Using the normal vShare settings, how many visitors can the average vShare server sustain at one time?

    The answer? No more than 1,000 simultaneous users!

    How and why?

    This happens because of something that most hosts never talk about or advertise... disk I/O. Disk I/O (or Disk Input/Output) is the amount of data that the hard drive can process per second (also known as IOps). On budget servers and cheap VPSs, the average amount of Disk I/O that you will ever see is around 50-60 MBps (megabytes per second). With the standard vShare settings, each video consumes approximately 62KBps (kilobytes per second). If you multiply that out, that means that at most, you can have 1,000 users at any given time. But, that is a theoretical number because that 50-60MBps limit is for the entire hard drive and not just vShare (this includes the server OS, other software running on the server itself, and your site). So, in real world use, you probably would start to have issues with a few hundred simultaneous users on the typical server/VPS.

    So, if you want to talk about real things that can be done to optimize your site for high traffic, here is what I would do:

    1. Multiple video servers (spread out the load onto multiple servers. Each server doubles the amount of simultaneous visitors that I can have. In this case, having multiple smaller servers rather than fewer bigger (as in large HDDs) servers is smarter.

    2. Consider cloud servers or VPS/VDS servers that use SAN storage and not local disk storage. SAN storage offers you the ability store your data onto many HDDs. You may only have 100GB of space, but that space could be spread across 10 HDDs which is really good for performance.

    3. As your site gets larger, you may need to move mySQL and other disk/CPU intensive processes to other servers. This helps to spread CPU load.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  7. #7
    Join Date
    Jul 2010
    Posts
    19

    Default

    will it effect the site if i delete the contents of the /cache/ folder?

  8. #8
    Join Date
    Sep 2008
    Posts
    1,019

    Default

    No, you can delete the contents of the cache folder at any time. It will not cause any issues.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •