Jump to content

Anay

Members
  • Posts

    15
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Anay

  1. First you have to decide why you need remote database, if your traffic is growing and single server is not able to handle then you you should opt for remote db server. Have been successfully running KVS on external DB server for my clients and have been not issue. But as @Tech Support said, if they are across separate DC or Facilities, instead of gains, you will see deteriorated performance. 

  2. 3 hours ago, Tech Support said:

    I would add, if you want to reduce database load and do not get any side effects, you can put a change in functions_base.php sql() function to redirect all requests that have this "ktvs_videos.video_id<>" to secondary databases. These requests are for requesting related videos, they are the most overloading requests for the database. Moving them will give database performance benefits.

    However if you have the latest KVS version, you can also move them to SphinxSearch using external search plugin and reduce MySQL load as well. Same effect with no custom changes in KVS code.

    Have already implemented sphinx search and it was helpful. 

  3. Hello, 


    We have been handling few high traffic KVS websites for our client and are using cluster of 3 big separate database servers for database load balancing. So far it is working fine and we can handle a lot more traffic now than compared to single DB server setup and that too with comparative lower expanses. However, time to time we are facing Deadlock Transaction issue. They are not much but we assume that in future with more traffic and increased write operations it could be an issue. And simple solution is to separate READ and WRITE operations at APP level. 

    I went through previous multiple discussions here on KVS forums and I see that there is no Load Balancer support for Database yet. However, I was thinking, is it possible to configure KVS to separate READ and WRITE operations. 

    Something in the order that via Config, instead of one DB server, we have ability to specify separate WRITE server and READ server, and if only 1 server is specified then it is used for both READ/WRITE operations. 

    On coding level, though I have not seen any code but I am sure you must be using some custom layer/routine where all queries are centrally processed , so there we can use logic and send queries to separate servers based on function or routine called. ie if write or read. 

    If it is already there or there is quick way around to achieve then would love to hear.

    • Thanks 1
  4. Hi, 

    Is there way to speed up execution of background tasks, say there is not much traffic and almost all the resource are idle, then I think it would be nice if we can clear the pending tasks and keeping the queue clean. I know we can increase priority of certain tasks but I am looking for way to speed up processing of all pending tasks. Is there any settings where we can decide how much tasks to be processed at once ?

    image.thumb.png.8f71bdc6938618748f2426d08e342675.png

×
×
  • Create New...