1
0
mirror of https://github.com/helm/chartmuseum.git synced 2026-02-05 15:45:50 +01:00

14 Commits

Author SHA1 Message Date
dependabot[bot]
f04d7ca692 build(deps): bump urllib3 from 2.6.0 to 2.6.3 in /loadtesting (#1108)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.0 to 2.6.3.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.0...2.6.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 11:56:24 -05:00
dependabot[bot]
1b3a10d105 build(deps): bump werkzeug from 2.3.6 to 3.1.4 in /loadtesting (#1104)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.6 to 3.1.4.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.6...3.1.4)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 16:34:24 -05:00
dependabot[bot]
6d847b0a69 build(deps): bump urllib3 from 2.0.3 to 2.6.0 in /loadtesting (#1105)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.3 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.3...2.6.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 16:34:12 -05:00
dependabot[bot]
dfd85117db build(deps): bump gevent from 22.10.2 to 23.9.0 in /loadtesting (#756)
Bumps [gevent](https://github.com/gevent/gevent) from 22.10.2 to 23.9.0.
- [Release notes](https://github.com/gevent/gevent/releases)
- [Changelog](https://github.com/gevent/gevent/blob/master/docs/changelog_pre.rst)
- [Commits](https://github.com/gevent/gevent/compare/22.10.2...23.9.0)

---
updated-dependencies:
- dependency-name: gevent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-21 12:42:09 +08:00
Josh Dolitsky
34c66b7d02 Update various dependencies, prep for 0.16.0 release (#693)
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2023-06-09 16:28:56 -05:00
dependabot[bot]
72bdd1e832 build(deps): bump flask from 2.2.2 to 2.3.2 in /loadtesting (#681)
Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.2.2...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 15:26:15 -04:00
dependabot[bot]
7eed227ae9 build(deps): bump certifi from 2021.10.8 to 2022.12.7 in /loadtesting (#648)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2021.10.8 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2021.10.08...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 10:14:01 +08:00
Casey Buto
bc596c0f02 fix: Avoid data races for cacheEntries and index files (#556)
* fix: Avoid data races for cacheEntries and index files

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* test: Update to the latest locust version

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* refactor: remove unecessary lock

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* refactor: no need to return error from load function

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* fix: Add additional tenant cache locking

Signed-off-by: Casey Buto <cbuto@d2iq.com>
2022-04-08 15:16:51 -04:00
dependabot[bot]
c6ab46caa8 Bump urllib3 from 1.26.4 to 1.26.5 in /loadtesting
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 22:26:56 +00:00
dependabot[bot]
560b65158a Bump jinja2 from 2.10.1 to 2.11.3 in /loadtesting (#441)
* Bump jinja2 from 2.10.1 to 2.11.3 in /loadtesting

Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.1 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.10.1...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>

* ci: bump github action go-setup to v2

Signed-off-by: scnace <scbizu@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: scnace <scbizu@gmail.com>
2021-03-25 12:38:59 -04:00
Josh Dolitsky
52d91eb7b0 update loadtesting pipfile
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
2019-07-10 17:06:52 -05:00
Josh Dolitsky
d9a698c341 update loadtesting python depends
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
2018-11-01 00:46:17 -05:00
David Genest
0e9d2e36ea Optimized index regeneration
Index regeneration before this PR was causing a concurrency pile-up when
many requests were coming in at a fast pace.  This was causing the time
to return /index to always increase. The behavior was observed on a high
latency connection to Google Cloud Storage, but would also occur with
other network stores.

With this PR, the regeneration time is constant and thus the serving of
index.yaml is also constant.

The implementation takes a general approach to first make initial
network requests (to satisfy the object list from storage) and to pile
up subsequent requests while the initial one is being completed. The
same algorithm is used to update the in-memory cached index.  Note that
these requests need not be protected by a lock because they are only
ever executing on their own. See server.getChartList() for the
implementaion of this idea.

A refactor was needed to separate the fetch from the diff calculation to
allow separate calling of the network heavy operations. While doing so,
we also removed redundant calls to storage file list update.

Also made small low-hanging fruit style optimisations to index
manipulations.

Added request ID to all requests for better debugging. This will be
visible with the --debug flag. This was indispensable to diagnose
complex concurrent processing.

To test the before and after state, we have added the use of the
locusti.io loadtesting engine. A simple README in the loadtesting/
directory shows how to install locust (with pipenv) and loadtest
chartmuseum. This will prove useful in the future.

Fixes #18
2017-11-16 16:15:43 -05:00
Christian Jauvin
8075c86dfe Add locust.io load testing script 2017-11-16 11:20:18 -05:00