This project is not covered by Drupal’s security advisory policy.
This module is useful for running complex 3rd party programs in the backend to analyze/process data stored in the Drupal database. Through Drupal admin interface, you simply issue any pre-defined data processing commands into a queue, which are executed later by the 3rd party programs (perhaps on a remote server) asynchronously.
What features you'll find in this module:
- A Java library (jar file) to connect to the Drupal database. External 3rd party program can use this library to get data from Drupal database, do some computation, and save the data back to the database.
- A queue management system to coordinate command executions between Drupal and 3rd party programs.
- Views integration to display execution history.
- Triggers/Actions to send notifications of command execution status (to be implemented).
- REST/Web Services support (to be implemented).
- Integration with other modules: Drush, Services (to be implemented).
What features you'll find in the Java library (drupal-app.jar):
- JDBC Connection pooling to Drupal database.
- Java class hierarchy (or framework) to help you write your Java/Jython/JRuby/R/shell program.
- Multi-threading for parallel computing.
- Execute Drush command, which means you can execute any Drupal API using "drush eval".
- Read/write Drupal variables.
- Read/write encrypted field from Encrypted Settings Field.
The module is different from Drush (or Drupal Batch API, or Queue API) in that:
- Drush is synchronized (command gets executed immediately).
- Drush has to resides locally where Drupal is installed, whereas Async Command programs could run on a remote computer.
- Drush requires PHP, but Async Command programs could be written in any languages (Python, R, Matlab, Java, Ruby etc).
- Async Command is designed specifically for time/resource consuming computation tasks.
The module is different from Beanstalk or other queue management system in that:
- Async Command comes with a Java library to help you write 3rd party programs.
- In terms of queue management, this module is light-weight compared to Beanstalk (no need to install Beanstalk, less features, but integrate tighter with Drupal
- Async Command is not distributed messaging system: it only sends commands to one worker. However, that one worker can further distribute commands to multiple workers (thus implementing a distributed messaging system).
Modules that uses this Async Command module
Note to developers:: This module is still in alpha, and is subject to change anytime. If you use this module for development purpose, please let me know so we can coordinate possible API interface changes.
Developed by Daniel Zhou at Michiza Computing.
- Maintenance status: Unsupported
- Development status: No further development
- Reported installs: 386 sites currently report using this module. View usage statistics.
- Downloads: 16,739
- Last modified: 2 December 2014
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.