jobtastic | responsive long-running Celery jobs | Monitoring library
kandi X-RAY | jobtastic Summary
kandi X-RAY | jobtastic Summary
Jobtastic makes your user-responsive long-running Celery jobs totally awesomer. Celery is the ubiquitous python job queueing tool and jobtastic is a python library that adds useful features to your Celery tasks. Specifically, these are features you probably want if the results of your jobs are expensive or if your users need to wait while they compute their results.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Start the celery task
- Compute a cache key based on kwargs
- Logs information about a memory leak
- Warn if the growth of a growing memory leak
- Get the memory usage of the current process
- Delete the hundering cache
- Context manager
- Remove key from cache
- Get cache object
- Return a cache instance
- Get requirements from requirements file
- Strip comments from a string
jobtastic Key Features
jobtastic Examples and Code Snippets
Community Discussions
Trending Discussions on jobtastic
QUESTION
I am trying to get Jobtastic running to display status of currently running celery tasks. I am using celery 3.1.25. I in the jobtastic task module I get an error at this statement:
...ANSWER
Answered 2017-Jan-27 at 09:40Here's how I got jobtastic working with Flask:
Instead on installing jobtastic from pip, I cloned from github and setup the latest version jobtastic==1.0.0a1 (as at time of writing) to my virtualenv for the project.
I found that JOBTASTIC_CACHE needed to be set for Celery configuration NOT the base Flask application configuration.
Also I note that I couldn't use a RDBMS for the jobtastic cache - jobtastic in cache.py checks for Django (no in my case) then Werkzeug (ie Flask) then for Memcached or Redis.
I ended up using Redis with:
JOBTASTIC_CACHE='redis://localhost:6379'
And now jobtastic is running.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jobtastic
Install gcc and the python C headers so that you can build psutil.
Get the project source and install it $ pip install jobtastic
Support
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