magento-daemon | Observable job processing for Magento
kandi X-RAY | magento-daemon Summary
kandi X-RAY | magento-daemon Summary
magento-daemon is a PHP library. magento-daemon has no bugs, it has no vulnerabilities and it has low support. However magento-daemon has a Non-SPDX License. You can download it from GitHub.
The usual Magento 1 way to run background jobs is via the Magento cron. This has always been a crude way of running jobs in the background. There are many drawbacks, the major one being any failure of a job is undetectable. Furthermore, knowing if a job is still running from the Magento Admin, even with extensions such as Aoe Scheduler, is not reliable. In fact, such schedulers can begin to mark long running jobs as completed or failed when they haven't. Daemon provides a system service wrapper for running Magento jobs. It runs permanently in the background as the same user as Magento, with its own supervisor to ensure it can recover from failure (database restarts etc.), monitoring all running jobs in realtime. As jobs complete the Magento database is updated so extensions that expose schedule activity are entirely accurate at all times. In the process list child processes are also labelled with their running job codes to provide realtime observability of what is currently running. Each job is also given a "Blackbox" (its own error_log target) to capture every error that occurs whilst running that job, so it can be recorded to the database. This captures not only warnings but notices and... fatal errors! With a little work these could eventually be monitored and messages raised in Magento Admin to the right users when things aren't behaving. Finally, Daemon also provides the ability to mark certain jobs as parallel jobs, that will run independently of all other jobs, thereby allowing long-running background jobs to run without causing any delays to other jobs.
The usual Magento 1 way to run background jobs is via the Magento cron. This has always been a crude way of running jobs in the background. There are many drawbacks, the major one being any failure of a job is undetectable. Furthermore, knowing if a job is still running from the Magento Admin, even with extensions such as Aoe Scheduler, is not reliable. In fact, such schedulers can begin to mark long running jobs as completed or failed when they haven't. Daemon provides a system service wrapper for running Magento jobs. It runs permanently in the background as the same user as Magento, with its own supervisor to ensure it can recover from failure (database restarts etc.), monitoring all running jobs in realtime. As jobs complete the Magento database is updated so extensions that expose schedule activity are entirely accurate at all times. In the process list child processes are also labelled with their running job codes to provide realtime observability of what is currently running. Each job is also given a "Blackbox" (its own error_log target) to capture every error that occurs whilst running that job, so it can be recorded to the database. This captures not only warnings but notices and... fatal errors! With a little work these could eventually be monitored and messages raised in Magento Admin to the right users when things aren't behaving. Finally, Daemon also provides the ability to mark certain jobs as parallel jobs, that will run independently of all other jobs, thereby allowing long-running background jobs to run without causing any delays to other jobs.
Support
Quality
Security
License
Reuse
Support
magento-daemon has a low active ecosystem.
It has 1 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
magento-daemon has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of magento-daemon is current.
Quality
magento-daemon has no bugs reported.
Security
magento-daemon has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
magento-daemon has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
magento-daemon releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of magento-daemon
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of magento-daemon
magento-daemon Key Features
No Key Features are available at this moment for magento-daemon.
magento-daemon Examples and Code Snippets
No Code Snippets are available at this moment for magento-daemon.
Community Discussions
No Community Discussions are available at this moment for magento-daemon.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install magento-daemon
The recommended installation method is to use composer. Alternatively, you can just copy the files into your Magento installation as you would any other extension. You should then remove Magento's default cron from your crontab and install one of the service wrappers from inside the services folder. There are wrappers provided for SysVInit (the /etc/init.d folder) and also SystemD, with documentation alongside them. Add the following to your composer.json and then run composer require driskell/magento-daemon.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page