Hi,
I would say, that the use of SSL should be encouraged if the connection
goes through public networks. If the Postgis connection is within the
company LAN I don't see a strong reason for enabling SSL, unless the
company LAN is designed in an "unsafe" way, or if sensitive data must be
hidden from other employees in the same company.
Personally, I never had good results (performance wise) if Postgis
connections went through the public Internet, unless it is some "toy
data".
For this reason, I usually used streaming replication to replicate
Postgis, so it is as close as possible to the users who need the data.
The streaming replication, if it goes through the public internet, of
course should use SSL (or often it goes through an SSH tunnel). Sorry, I don't have any data on the overhead of SSL connections though. Andreas
On 2019-06-17 08:48, Matthias Kuhn wrote:

Hi,

The documentation currently promises "massive speed-ups in PostGIS layer 
rendering" with SSL disabled. [1 [1]]

I find some references to performance cost of SSL but they should be 
compensated for with connection pooling which we use for quite some time 
already.

Recently, the web is more and more encrypted - and that is very good! - so I 
think we should also start to encourage people to encrypt their SSL 
connections. Or at least certainly not discourage them from using encryption by 
promising performance benefits.

Is there anyone who knows why this sentence was introduced? And if there is 
(still) an issue with performance when using SSL?

Best regards

Matthias

[1] 
https://docs.qgis.org/2.18/en/docs/user_manual/managing_data_source/opening_data.html#creating-a-stored-connection

[2] https://github.com/qgis/QGIS-Documentation/pull/3840

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



Links:
------
[1]
https://docs.qgis.org/2.18/en/docs/user_manual/managing_data_source/opening_data.html#creating-a-stored-connection
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to