[GeoNetwork-devel] CFV: GeoNetwork on a read-only database

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a read-only database: http://trac.osgeo.org/geonetwork/wiki/proposals/readonly.

Kind regards
Heikki Doeleman & François Prunayre

Hi Heikki

Proposal looks good, but have some questions:

  1. Is possible to disable this feature completely or the DB HeartBeat will run in any case? In this case, the check should not affect performance as should be quite fast to execute, but any measure on this?

  2. What happens with CSW Transaction/Harvest in the Capabilities document, are not added in case of read only mode? Is issued some exception if trying to use use them in read only mode?

  3. Has been tested with other db apart of Postgres or depends on some specific feature of Postgres?

In the latest case, I think should be good to be able to completely disable this feature, before committing in trunk.

Regards,
Jose García

On Thu, Jan 31, 2013 at 1:51 PM, heikki <tropicano@…31…> wrote:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a read-only database: http://trac.osgeo.org/geonetwork/wiki/proposals/readonly.

Kind regards
Heikki Doeleman & François Prunayre


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

hi Jose,

  1. disabling: good point, we’ll make it configurable to disable it completely, before merging to master.

  2. CswPublicationDispatcher is a NotInReadOnlyMode service, so it behaves like all other ones: it does nothing in read-only mode (no exceptions are raised). We’ll check if it is feasible to remove them from Capabilities in read-only mode.

  3. It has only been tested with Postgres, but does not depend on any feature of it. Read-only mode is determined by the success or failure of attempting to write to the DB, so it should work seamlessly with any DBMS.

thanks,
Heikki Doeleman

On Thu, Jan 31, 2013 at 2:14 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Heikki

Proposal looks good, but have some questions:

  1. Is possible to disable this feature completely or the DB HeartBeat will run in any case? In this case, the check should not affect performance as should be quite fast to execute, but any measure on this?

  2. What happens with CSW Transaction/Harvest in the Capabilities document, are not added in case of read only mode? Is issued some exception if trying to use use them in read only mode?

  3. Has been tested with other db apart of Postgres or depends on some specific feature of Postgres?

In the latest case, I think should be good to be able to completely disable this feature, before committing in trunk.

Regards,
Jose García

On Thu, Jan 31, 2013 at 1:51 PM, heikki <tropicano@anonymised.com> wrote:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a read-only database: http://trac.osgeo.org/geonetwork/wiki/proposals/readonly.

Kind regards
Heikki Doeleman & François Prunayre


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

+1

It may be useful to have a "Try to toggle readonly status" button in the
admin page, useful when the heartbeat is set very high or possibly disabled.

   Ciao,
   Emanuele

Alle 13:51:24 di Thursday 31 January 2013, heikki ha scritto:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a
read-only database:
http://trac.osgeo.org/geonetwork/wiki/proposals/readonly .

Kind regards
Heikki Doeleman & François Prunayre

Hi Heikki

Thanks for feedback.

About 2, thinking possibly is better to leave the operations in capabilities as now and if database is in read-only mode just issue an ExceptionReport informing about this. This way user is aware that operations are available, but “temporally” not available due to read only mode in db.

Regards,
Jose García

On Thu, Jan 31, 2013 at 2:26 PM, heikki <tropicano@anonymised.com…> wrote:

hi Jose,

  1. disabling: good point, we’ll make it configurable to disable it completely, before merging to master.

  2. CswPublicationDispatcher is a NotInReadOnlyMode service, so it behaves like all other ones: it does nothing in read-only mode (no exceptions are raised). We’ll check if it is feasible to remove them from Capabilities in read-only mode.

  3. It has only been tested with Postgres, but does not depend on any feature of it. Read-only mode is determined by the success or failure of attempting to write to the DB, so it should work seamlessly with any DBMS.

thanks,
Heikki Doeleman

On Thu, Jan 31, 2013 at 2:14 PM, Jose Garcia <jose.garcia@anonymised.com.> wrote:

Hi Heikki

Proposal looks good, but have some questions:

  1. Is possible to disable this feature completely or the DB HeartBeat will run in any case? In this case, the check should not affect performance as should be quite fast to execute, but any measure on this?

  2. What happens with CSW Transaction/Harvest in the Capabilities document, are not added in case of read only mode? Is issued some exception if trying to use use them in read only mode?

  3. Has been tested with other db apart of Postgres or depends on some specific feature of Postgres?

In the latest case, I think should be good to be able to completely disable this feature, before committing in trunk.

Regards,
Jose García

On Thu, Jan 31, 2013 at 1:51 PM, heikki <tropicano@anonymised.com> wrote:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a read-only database: http://trac.osgeo.org/geonetwork/wiki/proposals/readonly.

Kind regards
Heikki Doeleman & François Prunayre


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

hi Jose,

maybe. Currently, also no user feedback is returned about other do-nothing services in read-only mode. As they are removed from the GUI, normal users would not be accessing them. Capabilities is in a sense the ‘GUI’ for CSW services, showing users what services are offered – so it is more consistent to remove them from Capabilities in my opinion.

Do others have an opinion about that ?

kind regards
Heikki Doeleman

On Thu, Jan 31, 2013 at 2:33 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Heikki

Thanks for feedback.

About 2, thinking possibly is better to leave the operations in capabilities as now and if database is in read-only mode just issue an ExceptionReport informing about this. This way user is aware that operations are available, but “temporally” not available due to read only mode in db.

Regards,
Jose García

On Thu, Jan 31, 2013 at 2:26 PM, heikki <tropicano@anonymised.com> wrote:

hi Jose,

  1. disabling: good point, we’ll make it configurable to disable it completely, before merging to master.

  2. CswPublicationDispatcher is a NotInReadOnlyMode service, so it behaves like all other ones: it does nothing in read-only mode (no exceptions are raised). We’ll check if it is feasible to remove them from Capabilities in read-only mode.

  3. It has only been tested with Postgres, but does not depend on any feature of it. Read-only mode is determined by the success or failure of attempting to write to the DB, so it should work seamlessly with any DBMS.

thanks,
Heikki Doeleman

On Thu, Jan 31, 2013 at 2:14 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Heikki

Proposal looks good, but have some questions:

  1. Is possible to disable this feature completely or the DB HeartBeat will run in any case? In this case, the check should not affect performance as should be quite fast to execute, but any measure on this?

  2. What happens with CSW Transaction/Harvest in the Capabilities document, are not added in case of read only mode? Is issued some exception if trying to use use them in read only mode?

  3. Has been tested with other db apart of Postgres or depends on some specific feature of Postgres?

In the latest case, I think should be good to be able to completely disable this feature, before committing in trunk.

Regards,
Jose García

On Thu, Jan 31, 2013 at 1:51 PM, heikki <tropicano@anonymised.com> wrote:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a read-only database: http://trac.osgeo.org/geonetwork/wiki/proposals/readonly.

Kind regards
Heikki Doeleman & François Prunayre


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

+1 for me. Thanks for the good work.

Francois

+1

It may be useful to have a “Try to toggle readonly status” button in the
admin page, useful when the heartbeat is set very high or possibly disabled.

Ciao,
Emanuele

Alle 13:51:24 di Thursday 31 January 2013, heikki ha scritto:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a
read-only database:
http://trac.osgeo.org/geonetwork/wiki/proposals/readonly .

Kind regards
Heikki Doeleman & François Prunayre


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

hello list,

this proposal has been accepted and I will integrate the changes in the master branch soon.

Thanks Emanuele, Jose and François for voting and/or giving feedback.

Kind regards
Heikki Doeleman

On Fri, Feb 1, 2013 at 7:58 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

+1 for me. Thanks for the good work.

Francois

+1

It may be useful to have a “Try to toggle readonly status” button in the
admin page, useful when the heartbeat is set very high or possibly disabled.

Ciao,
Emanuele

Alle 13:51:24 di Thursday 31 January 2013, heikki ha scritto:

dear PSC,

please vote on our proposal to improve GeoNetwork when running on a
read-only database:
http://trac.osgeo.org/geonetwork/wiki/proposals/readonly .

Kind regards
Heikki Doeleman & François Prunayre


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork