Jump to content

ASTRAPI

Members
  • Posts

    1,638
  • Joined

  • Last visited

  • Days Won

    6

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by ASTRAPI

  1. If you know what do do then you can go ahead if not ask your host if they provide that for you.....

    It is not something that someone can let you know and just add it there as optimization is specific to each user and each server....

    Also if yo are on shared server then only the provider can do that.....

  2. CloudFlare announced there support for HTTP/2 Server Push but Nginx HTTP/2 module doesn't have server push support.

    It seems that they use own custom coding and you will have to wait for them to release it as open source so the game will start ^_^

    Or do you mean to use there implementation? If yes:

     

    Enabling Server Push
    
    All of our customers using HTTP/2 now have Server Push enabled, but unfortunately, Server Push isn’t one of those features that just works—you’ll need to do a little bit of work to truly leverage the benefits of Server Push.
    
    Our implementation follows the guidelines laid out in the W3C’s draft standard on the use of a preload keyword in Link headers1, and we will continue to track that standard as it evolves.
    
    So, if you want to push assets for a given request, you simply add a specially formatted Link header to the response:
    
    Link: </asset/to/push.js>; rel=preload;
    
    Those links can be manually added, but they’re already created automatically by many publishing tools or via plugins for popular content management systems (CMS) such as WordPress.
    
    Only relative links will be pushed by our edge servers, which means Server Push won’t work with third-party resources. 

     

  3. Dedicated server with one forum only:
    # 2x Intel Xeon Quad 5405
    # 8192 MB FB DDR2 RAM
    # 500 GB 7.200 RPM - Sata2
    # 1.000 Mb speed

    # Latest Centos 64bit and mysql.

    my.cnf:

    
    [mysqld]
    
    port            = 3306
    
    socket          = /var/lib/mysql/mysql.sock
    
    skip-locking
    
    skip-innodb
    
    skip-bdb
    
    key_buffer = 896M
    
    max_allowed_packet = 1M
    
    table_cache = 1024
    
    sort_buffer_size = 8M
    
    read_buffer_size = 8M
    
    read_rnd_buffer_size = 8M
    
    net_buffer_length = 2K
    
    thread_stack = 64K
    
    thread_cache_size = 4
    
    table_cache = 64
    
    query_cache_size = 256M
    
    thread_concurrency = 4
    
    log-slow-queries       = /var/log/mysql/mysql-slow.log
    
    server-id = 1
    
    skip-networking
    
    
    [mysqldump]
    
    quick
    
    max_allowed_packet = 1M
    
    
    [mysql]
    
    no-auto-rehash
    
    safe-updates
    
    
    [isamchk]
    
    key_buffer = 10M
    
    sort_buffer_size = 2M
    
    
    [myisamchk]
    
    key_buffer = 10M
    
    sort_buffer_size = 2M



    Also if you have any other recommendations for system tuning let me know :)

    Thank you

  4. Many of those are missing can you help me to adjust them?

    [mysqld]
    
    port            = 3306
    
    socket          = /var/lib/mysql/mysql.sock
    
    skip-locking
    
    skip-innodb
    
    skip-bdb
    
    key_buffer = 10M
    
    max_allowed_packet = 1M
    
    table_cache = 1024
    
    sort_buffer_size = 2M
    
    read_buffer_size = 1M
    
    read_rnd_buffer_size = 1M
    
    net_buffer_length = 2K
    
    thread_stack = 64K
    
    log-slow-queries       = /var/log/mysql/mysql-slow.log
    
    server-id = 1
    
    skip-networking
    
    
    [mysqldump]
    
    quick
    
    max_allowed_packet = 1M
    
    
    [mysql]
    
    no-auto-rehash
    
    safe-updates
    
    
    [isamchk]
    
    key_buffer = 10M
    
    sort_buffer_size = 2M
    
    
    [myisamchk]
    
    key_buffer = 10M
    
    sort_buffer_size = 2M

  5. Hello

    Using mysqltuner i got the above recomendations:

    1) Total fragmented tables: 13
    2) Query cache is disabled
    3) Sorts requiring temporary tables: 95% (1M temp sorts / 1M sorts)
    4) Thread cache is disabled
    5) Table cache hit rate: 0% (64 open / 47K opened)
    6) Table locks acquired immediately: 93%


    And as recomendations i got:


    General recommendations:

        Run OPTIMIZE TABLE to defragment tables for better performance
    
        Enable the slow query log to troubleshoot bad queries
    
        Set thread_cache_size to 4 as a starting value
    
        Increase table_cache gradually to avoid file descriptor limits
    
        Optimize queries and/or use InnoDB to reduce lock wait

    Variables to adjust:

        query_cache_size (>= 8M)
    
        sort_buffer_size (> 1M)
    
        read_rnd_buffer_size (> 256K)
    
        thread_cache_size (start at 4)
    
        table_cache (> 64)




    Where are those variables to adjust?

    Thank you

  6. Hello

    I am ready to try this configuration:

    Nginx as front end of Apache and xcache and i want to ask if you think that is good configuration for a big forum?

    I found about xcache:

    Make sure that you set it up to use it's own temp directory instead of the default or your servers small default temp directory will fill up quickly


    and start causing you problems because if your temp directory is full your site will act like the hard drive is full in other words every time it needs


    to do something even just making a post you'll get an error cause it doesn't have the room in the temp directory to work like it's supposed to.



    How can i do that?

    Thank you
×
×
  • Create New...