Re: Wire protocol compression

Поиск
Список
Период
Сортировка
От Shulgin, Oleksandr
Тема Re: Wire protocol compression
Дата
Msg-id CACACo5T5TKr6BGSzxAzAVV4M94d37Mo30AW=7YAxp5c4MoVJvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Wire protocol compression  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Список pgsql-hackers
On Thu, Apr 21, 2016 at 3:17 PM, Aleksander Alekseev <a.alekseev@postgrespro.ru> wrote:
> > or on Linux TCP/IP stack level.
> >
>
> Yes, but if you want to have both compression and encryption it is
> crucial to apply compression *before* encryption and I don't see how
> this can happen with this approach.

If I'm not mistaken IPSec gives you both compression and encryption.
Just as an example.

True, but that setup (as well as any other hypothetical TCP/IP stack level solution) would require network tweaking on both server and the clients.  With protocol-level compression you can avoid that altogether and encryption is already solved with use of TLS.

--
Alex

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: Wire protocol compression
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Wire protocol compression