Slow Posting and Commenting

I could not find a discussion on this. If it's out there let me know. Thanks

  At peak times, when multiple users are on our site, it is extremely slow. Extremely.   The Posting time takes so long (15 seconds)  that members are creating multiple post because of the lag in hitting Post and it actually resolving. So we end up with two or three Posts.   Same issue with commenting on posts. 

Have others found a solution?  Can  UNA  handle 20K member sites?   On the test sites we have none of these issues so it's only when we have many users on the site. 

Advice? 

  • 593
  • More
Replies (9)
    • Hello, on which server are you? The problem is not UNA, it seems that your server does not support the load ...

      • It's not the server. Our server specs are higher than recommended by the UNA team.  That's why I say it is number of Users on at once, because our test sites have none of these issues and they have the same or in some cases a less robust server set up.  

        • I'm one of the admins on William's site.  We're seeing this type of slowdown with as few as 10 users on the site at one time.  I've had our host test the server during these times, and there's next to no server load and no disk I/O issues.  We're using a dedicated cloud server with these specs:

          CentOS 7 64-bit

          Intel Xeon E5-1650 v3

          Raid1 SSD

          6 CPU Cores

          30gb RAM

          I know this is a different situation, but we've hosted several Wordpress sites (with all of their overhead) on  a similar server without issue, so this one seemed like an ideal choice.

          • Hello James, i have a simple i7 that gets old and 32 Gb of ram, no ssd, besides I am behind my personal connection and two sites turn on it. A bigger under dolphin, and the new under UNA. Currently 40 users online on the UNA site and many more on the Dolphin site simultaneously do not pose a problem, so when you say 10 users and 15 seconds to post, I thought server problem. It seems no, at least from a material point of view. Have you looked at MySQL? See maybe this tutorial, it concerns two php modules and the configuration of MySQL.
            Currently I have this:

            key_buffer_size         = 16M
            max_allowed_packet      = 16M
            thread_stack            = 192K
            thread_cache_size       = 16
            max_connections        = 200
            table_open_cache        = 100000
            max_heap_table_size     = 128M
            tmp_table_size          = 1024M
            innodb_buffer_pool_size = 10GB
            query_cache_type        = 1
            query_cache_limit       = 2M
            query_cache_size        = 32

            Note that I am still under php 5.6...

            • Baloo,

              Thank you for the suggestions.  I've tried tweaking MySQL some, although I didn't go anywhere near as high as that on the buffer pool size.  I'll give these a try.  Thanks again!

              • First of all, you can have a thousand users online at the same time that are not basically doing anything and not see a slow down but you can have a 100 that are doing things that causes a load on the server; that requires a lot of database queries etc, and have a site crawling on its knees.  I have noticed that UNA is slower at just loading the main page than Dolphin.  You want a page to load in just a couple of seconds for a good user experience.

                What a lot of people don't understand is that UNA is not all brand new code; for example, the studio was written ten years ago.  Plus, some of the coders that use to be with Boonex are gone now.  Perhaps we should write some scripts to simulate a site with real users doing real things; like uploading videos, engaging in chat, streaming videos etc and get some idea if UNA is suitable for a real social networking platform.  Who knows if the sql queries have been optimised?  I don't.

                • There is a number of fixes and optimisations that we have found and applied for v10. A few SQL queries have been rewritten, especially in Timeline and Notifications. Those are hard to find with simulated load tests because they need actual push-notifications subscribers and in some cases interactions we couldn't predict. 

                  So, we have worked with one site, for example, which is getting up to 700 online users at peak times, and growing. So, to answer your question, yes, UNA can handle a large load, but it is important to set up caching properly, apply latest version updates and continue monitoring page loads - some issues may be specific to the site and we need feedback on what exactly isn't performing well.

                  Another important consideration is to not overload your site with JS libraries (like analytics, chats, marketing popups, ads, etc) or at least ensure that they are loaded asynchronously. 

                  We will be sharing more speed optimisation tips along with the v10 release. Performance is the top priority for us now and the next update will bring significant improvements. 

                  • Sounds like there are quite a few kinks that need to be worked out. 

                    • Thank you for this information. Much I was wondering about, has been explained by your words. It leaves me with new concerns though.

                      Login or Join to comment.