Pentaho

 View Only

Carte & Jetty Server Parameters

This thread has been viewed 10 times
  • 1.  Carte & Jetty Server Parameters

    Posted 12-05-2022 02:41
    Good morning,

    I am trying to tune Jetty's carte related parameters. But there is no much information out there

    Set Up a Carte Cluster

    acceptors The number of thread dedicated to accepting incoming connections. The number of acceptors should be below or equal to the number of CPUs.
    acceptQueueSize Number of connection requests that can be queued up before the operating system starts to send rejections.
    lowResourcesMaxIdleTime This allows the server to rapidly close idle connections in order to gracefully handle high load situations.
    From Jetty/Howto/Configure Connectors

    acceptors The number of thread dedicated to accepting incoming connections.
    acceptQueueSize Number of connection requests that can be queued up before the operating system starts to send rejections.
    .... ...
    lowResourcesMaxIdleTime Sets the period in ms that a connection is allowed to be idle when this there are more than lowResourcesConnections connections. This allows the server to rapidly close idle connections in order to gracefully handle high load situations.


    Only a valid info can be found about acceptors

    Jetty/Howto/High Load acceptors >=1 <= # CPUs
    Jetty/Howto/Configure Connectors acceptors <= # CPUs

    The others two are pretty obscure

    Does anyone have any clue how to optimize these 3 parameters? Any rule of thumb to be followed?

    Any idea how carte manage the rejections? (regarding acceptQueueSize)

    Thanks for your time

    Best regards



    ------------------------------
    Juan Sierra Pons
    Systems Engineer
    Juan Sierra Pons
    ------------------------------