Monday, March 31, 2008

Google Summer of Code 2008

Improved Dynamic Configuration/
Process Control
Project



Project Background

==================

The eXist is an Open Source native XML database, which is provides a powerful environment for the development of databases and web applications based on XQuery and related standards. The eXist supports many popular XML query languages such as XQuery, XPath, and XSLT.

The problem is how to configure the database parameter at runtime. Some of those parameters can be changed while the database is running, others will require the db to be stopped and restarted.

The goal of the project would be to provide a common interface to dynamically configure the database parameter at runtime. We must need to use Programmatic Configuration like as via Java Management Extensions (JMX).

Currently eXist provides some interfaces via Java Management Extensions (JMX),which are only exports a limited set of read-only services. In this project, I’ll hope to create a common interface to dynamically configure of the database instance at runtime, which is providing write access to configuration properties. Also it will be able to view all running queries or jobs, and modify their access permissions for specific users.


Deliverables: The eXist configured via JMX

1. The whole configuration setting access via JMX, which is ability to change at run time.

  • Db-connection setting (database, files, cache Size)
  • Pool setting
  • Recovery setting (sync-on-commit, group-commit)
  • Watchdog setting (query-timeout)
  • Default-permissions setting
  • Number of transactional connections and non-transactional connections
2. View all running queries or jobs, and their access permission for specific user.


You can find the complete doc of my GSOC 2008 proposal here.