Service priority

Home Forums kbmMW Service priority

Viewing 1 reply thread
  • Author
    Posts
    • #54652
      mrluigi2017
      Participant

      Hi,

      I have recently added a kbmmw fileservice to my existing server application which contains mainly query services and smart services. I noticed that when I am uploading a large file to the server that the response for a query service is much slower in this case.

      My questions:

      1) Is there any mechanism build in to give priorities to services?
      2) Is a file transfer basically a collection of requests to the server?
      3) What might be the cause of the response delay?

      I must say that the server I am testing this on isn’t really powerful.

      Thanks in advance!

       

    • #54653
      kimbomadsen
      Keymaster

      Hi,

      1) You could limit the number of instances of the file service that are allowed to run. If set to 1, it will only allow one file block transfer at a time. Similarly increase the number of allowed instances of query services.
      You could also add another TkbmMWServer instance in your application, and assign that specifically for file transfers. You will need to add a transport for it too.
      Then set its CPUAffinity in such way , that it will only occupy a subset of the total number of cores you have on the server, and let the other (query service focused) TkbmMWServer have the remaining cores.
      2) Yes
      3) CPU usage, limits to concurrent requests, limits to concurrent connections

      best regards

      Kim/C4D

Viewing 1 reply thread
  • You must be logged in to reply to this topic.