[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "concurrency" branch updated
From: |
Ken Raeburn |
Subject: |
Re: "concurrency" branch updated |
Date: |
Thu, 5 Nov 2015 00:16:41 -0500 |
>>> What do we have in TLS that we don't have in any network connection?
>>
>> Encryption, optional compression, possibly key renegotiation, possible
>> receipt of incomplete messages that can’t yet be decrypted and thus can’t
>> give us any new data bytes.
>
> Doesn't all that become insignificant compared to network latencies?
Not if I’m requesting a large amount of data from the server at once, or
pipelining requests, or talking to multiple servers at once; I could have a
steady stream of encrypted data coming in, and the latency from making a
particular request to getting the corresponding response may not be important.
Whether the bandwidth available is enough that decrypting plus parsing
(assuming we’re encrypting some network protocol and not an opaque file
transfer) plus updating data structures plus UI updates plus the occasional GC
is more than one thread can keep up with, that’s the question…. With
additional C-level threads for managing TLS connections, we can at least take
the decryption part out of that list and run it concurrently, without needing
full Lisp-level thread support.
Ken
- Re: other "concurrency" approaches, (continued)
- Re: "concurrency" branch updated, Filipp Gunbin, 2015/11/03
- Re: "concurrency" branch updated, Michael Albinus, 2015/11/03
- Re: "concurrency" branch updated, Thierry Volpiatto, 2015/11/03
- Re: "concurrency" branch updated, Eli Zaretskii, 2015/11/03
- Re: "concurrency" branch updated, Ken Raeburn, 2015/11/04
- Re: "concurrency" branch updated, Eli Zaretskii, 2015/11/04
- Re: "concurrency" branch updated, Ken Raeburn, 2015/11/04
- Re: "concurrency" branch updated, Eli Zaretskii, 2015/11/04
- Re: "concurrency" branch updated,
Ken Raeburn <=
- Re: "concurrency" branch updated, Richard Stallman, 2015/11/04
- Re: "concurrency" branch updated, Eli Zaretskii, 2015/11/04
- Re: "concurrency" branch updated, Ken Raeburn, 2015/11/05
- Re: "concurrency" branch updated, John Wiegley, 2015/11/05
- Re: "concurrency" branch updated, David Kastrup, 2015/11/05
- Re: "concurrency" branch updated, John Wiegley, 2015/11/05
- Re: "concurrency" branch updated, Tom Tromey, 2015/11/05
- Re: "concurrency" branch updated, John Wiegley, 2015/11/05
- Re: "concurrency" branch updated, Richard Stallman, 2015/11/05
- Re: "concurrency" branch updated, Eli Zaretskii, 2015/11/06