Skip to content

Django fork of amazing memory leaks tracking application for python wsgi - the Dowser

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE.dowser
Notifications You must be signed in to change notification settings

lebib/django-dowser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Based on: Dowser

The original Dowser is WSGI enabled. Unfortunately, not all Django hosting providers use WSGI. In daily development the most common usage pattern is ./manage.py runserver which is not using WSGI. That's the story why this fork was created.

In the other words the target of this project is to provide easy to use and install Django app to debug your memory leaks.

Following enhancements have been implemented on top of original Dowser:

  • long term analysis, 1m, 1h, 1d, 4w buffers
  • optimization by moving from lists to python deque
  • server load optimization by moving charts to google chart
  • only authenticated superuser can view analysis (Django specific)

Screen shot

Installation

# latest release
pip install django-dowser
# or latest master
pip install git+git:https://github.com/munhitsu/django-dowser.git

Next, modify project configuration to add the app:

settings.py

INSTALLED_APPS = (
#...
    'django_dowser',
#...
)

urls.py

urlpatterns += patterns('',
    (r'^dowser/', include('django_dowser.urls')),
)

Example buildout recipe

[django-dowser]
location = django-dowser
recipe = zerokspot.recipe.git
repository = https://github.com/munhitsu/django-dowser

Note

Use django-dowser only on multithreaded servers. With forking, each fork will have it's own Dowser storage.

Usage

Start the project and open link:

https://domain:port/dowser/

With development server, this is typically

https://localhost:8000/dowser/

About

Django fork of amazing memory leaks tracking application for python wsgi - the Dowser

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE.dowser

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.3%
  • CSS 6.7%