Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump django-hurricane from 1.3.4 to 1.5.0 in /backend #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2024

Bumps django-hurricane from 1.3.4 to 1.5.0.

Release notes

Sourced from django-hurricane's releases.

1.5.0

Summary

Django-Hurricane 1.5.0 now includes a Prometheus instrumentation and can control memory allocations! 🎉 There are a couple of new options for the python manage.py serve command: --no-metrics to disable the metrics endpoint which serves on /metrics (on the internal port) by default --max-memory to limit the maximum memory allocation and restart if exceeded --workers set the amount of threads for the ThreadPoolExecutor

In addition, there is now a proper structlog integration as soon as you install structlog to your project. Hint: If you run Hurricane workloads on GKE, please install https://github.com/multani/structlog-gcp, too, to perfectly process your logs to Google's log format.

What's Changed

New Contributors

Full Changelog: django-hurricane/django-hurricane@1.4.0...1.5.0

1.4.0

Summary

Django-Hurricane 1.4.0 now supports Django 4.2! 🎉 In addition, we added a new command option python manage.py serve --check-migrations-apply that applies missing migrations on startup.

The performance for concurrent requests was considerably improved by using the ThreadPoolExecutor for WSGI requests to Django. The load testing results from Hurricane version 1.3.4 are the following:

Type     Name                                                                          # reqs      # fails |    Avg     Min     Max    Med |   req/s  failures/s
--------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|-----------
GET      /                                                                                 61     0(0.00%) |    141       1     806      2 |    0.51        0.00
GET      /heavy                                                                            57     0(0.00%) |    562     502    1022    502 |    0.48        0.00
GET      /medium                                                                          183     0(0.00%) |    211     102     881    102 |    1.54        0.00
--------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|-----------
         Aggregated                                                                       301     0(0.00%) |    263       1    1022    100 |    2.53        0.00

Response time percentiles (approximated) Type Name 50% 66% 75% 80% 90% 95% 98% 99% 99.9% 99.99% 100% # reqs --------|--------------------------------------------------------------------------------|--------|------|------|------|------|------|------|------|------|------|------|------ GET / 2 95 280 350 490 550 670 810 810 810 810 61 GET /heavy 500 500 510 590 810 850 860 1000 1000 1000 1000 57 GET /medium 100 170 270 310 510 600 810 810 880 880 880 183 --------|--------------------------------------------------------------------------------|--------|------|------|------|------|------|------|------|------|------|------|------ Aggregated 100 370 500 500 550 710 810 850 1000 1000 1000 301

The load testing with Hurricane version 1.4.0 from this release in comparison:

</tr></table> 

... (truncated)

Commits
  • 102f4ca chore: bump django-hurricane version to 1.5.0
  • a6beeb2 feat: add max memory observer, make worker threads adjustable (#125)
  • 2cd18b2 feat: structlog integration (#122)
  • bb878c2 Merge pull request #123 from hng/fix/readme-installation-package
  • 95962d4 fix: package name is django-hurricane
  • 6b1b516 feat: add prometheus instrumentation (#120)
  • c744dd5 chore: bump version
  • 63f6bed chore(GH): improve release workflow
  • 50f64ba chore(GH): add pypi trusted publisher workflow
  • fbbdc50 feat/improve-perf (#119)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-hurricane](https://github.com/django-hurricane/django-hurricane) from 1.3.4 to 1.5.0.
- [Release notes](https://github.com/django-hurricane/django-hurricane/releases)
- [Changelog](https://github.com/django-hurricane/django-hurricane/blob/main/RELEASE.md)
- [Commits](django-hurricane/django-hurricane@1.3.4...1.5.0)

---
updated-dependencies:
- dependency-name: django-hurricane
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants