[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-dev
Subject:    Re: allocating backend attributes to layers
From:       Nils Goroll <slink () schokola ! de>
Date:       2020-12-11 14:36:37
Message-ID: f6d43f47-b14f-0d10-650c-50dabd091037 () schokola ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 09/12/2020 11:13, Poul-Henning Kamp wrote:
>> - For use with routing directors, we could make good use of some kind of
>> "reservation ticket" such that a routing director can make it more likely
>>  to get a connection once the fetch starts.
> And what happens when VCL takes an entirely different path, how does the
> reservation gets released ?  vmod_priv ?
>
Something like that maybe, I have not looked into the details.

>> - When we added the connection stats, we put them at the backend level as, at
>> the time, we did not want to introduce another user-visible layer. Should we
>> change that, we should also move the connection stats to the endpoint layer.
> 'move' or 'also implement' ?

I think the implementation should be consistent with the user view, so yes, both.



[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 09/12/2020 11:13, Poul-Henning Kamp
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:46312.1607508789@critter.freebsd.dk">
      <blockquote type="cite" style="font-size: large; color: #000000;">
        <pre class="moz-quote-pre" wrap="">- For use with routing directors, we could \
make good use of some kind of "reservation ticket" such that a routing director can \
make it more likely  to get a connection once the fetch starts.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">And what happens when VCL takes an entirely \
different path, how does the reservation gets released ?  vmod_priv ?

</pre>
    </blockquote>
    <p>Something like that maybe, I have not looked into the details.</p>
    <blockquote type="cite"
      cite="mid:46312.1607508789@critter.freebsd.dk">
      <blockquote type="cite" style="font-size: large; color: #000000;">
        <pre class="moz-quote-pre" wrap="">- When we added the connection stats, we \
put them at the backend level as, at the time, we did not want to introduce another \
user-visible layer. Should we change that, we should also move the connection stats \
to the endpoint layer. </pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">'move' or 'also implement' ?</pre>
    </blockquote>
    <p>I think the implementation should be consistent with the user
      view, so yes, both.</p>
    <p><br>
    </p>
  </body>
</html>



_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic