• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OpenTreeMap / otm-core
83%
develop: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/sockjs-0.3.21
DEFAULT BRANCH: develop
Repo Added 10 Nov 2014 03:43AM UTC
Files 235
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH revert-2485-revert-2483-feature/tune-rate-limiting
branch: revert-2485-revert-2483-feature/tune-rate-limiting
CHANGE BRANCH
x
Reset
  • revert-2485-revert-2483-feature/tune-rate-limiting
  • 2.1.0
  • 2.1.1
  • 2.10.0
  • 2.11.0
  • 2.11.1
  • 2.12.0
  • 2.13.0
  • 2.13.1
  • 2.14.0
  • 2.15.0
  • 2.16.0
  • 2.17.0
  • 2.17.1
  • 2.19.0
  • 2.19.1
  • 2.19.2
  • 2.20.0
  • 2.21.0
  • 2.21.1
  • 2.21.2
  • 2.21.3
  • 2.21.4
  • 2.21.5
  • 2.21.6
  • 2.21.7
  • 2.22.0
  • 2.22.1
  • 2.3.0
  • 2.4.0
  • 2.5.0
  • 2.5.1
  • 2.6.0
  • 2.7.0
  • 2.8.0
  • 2.9.0
  • add-suppport-for-inline-translations-to-field-tags
  • admin-styling
  • bug/sml/admin-treemap-title-wrapping
  • custom-field-mgmt-ui
  • dependabot/npm_and_yarn/extend-3.0.2
  • dependabot/npm_and_yarn/fstream-1.0.12
  • dependabot/npm_and_yarn/http-proxy-1.18.1
  • dependabot/npm_and_yarn/ini-1.3.7
  • dependabot/npm_and_yarn/lodash-4.17.13
  • dependabot/npm_and_yarn/lodash-4.17.19
  • dependabot/npm_and_yarn/node-sass-4.13.1
  • dependabot/npm_and_yarn/sockjs-0.3.21
  • dependabot/npm_and_yarn/websocket-extensions-0.1.4
  • dependabot/npm_and_yarn/y18n-3.2.2
  • dependabot/pip/django-1.11.28
  • dependabot/pip/django-1.11.29
  • dependabot/pip/pillow-6.2.0
  • develop
  • feature/hmc/bump-pyrollbar
  • feature/hmc/django-site-domain
  • feature/hmc/omgeo-with-requests
  • feature/hmc/remove-circle-ci
  • feature/hmc/remove-statsd
  • feature/hmc/statsd-celery
  • feature/hmc/systemd-non-ascii-output
  • feature/jcw/add-favs-to-profile
  • feature/jcw/api-docs-and-tool
  • feature/jcw/comment-out-importer-support-for-read-only
  • feature/jcw/mapfeature-updated-at
  • feature/jcw/new-modeling-header
  • feature/jcw/remove-gender-from-species
  • feature/jcw/show-alt-no-favs-message
  • feature/jcw/show-import-update-date-rather-than-id
  • feature/jcw/speed-up-instance-edits-page
  • feature/jcw/speed-up-user-audit-query
  • feature/mw/advanced-search-style
  • feature/mw/dashboard-header-fix
  • feature/mw/dashboard-style-cleanup
  • feature/mw/global-spinner
  • feature/mw/highlight-color
  • feature/mw/mgmt-cleanup
  • feature/mw/mgmt-padding-issue
  • feature/mw/modal-warning
  • feature/mw/modeling-btn-fix
  • feature/mw/modeling-num-input-fixes
  • feature/mw/modeling-planlist
  • feature/mw/modeling-sidebar-toolbar-fixes
  • feature/mw/modeling-toolbar-small-desktops-fix
  • feature/mw/modelling-cleanup
  • feature/mw/multiselect-style-fix
  • feature/mw/new-field-highlight
  • feature/mw/plan-modal-labels
  • feature/mw/scenario-protoype
  • feature/mw/suspend-map-cleanup
  • feature/mw/updated-spinner
  • feature/provision-py3
  • feature/sml/location-search-marker
  • feature/sml/management-sidebar-click-targets
  • feature/sml/profile-name-wrapping-bug
  • feature/tnation/rollbar
  • feature/tnation/rollbar-upgrade
  • fix/jcw/double-wrapped-api-species-view
  • fix/jcw/fix-species-import-guide-link
  • fix/jcw/make-import-statuses-unique
  • fix/jcw/remove-gender-fieldpermissions
  • fix/jcw/remove-gender-fieldpermissions-2
  • foo
  • gitter
  • hotfix/2.1.1
  • hotfix/2.11.1
  • hotfix/2.13.1
  • hotfix/2.17.1
  • hotfix/2.19.1
  • hotfix/2.19.2
  • hotfix/2.21.1
  • hotfix/2.21.2
  • hotfix/2.21.3
  • hotfix/2.21.4
  • hotfix/2.21.5
  • hotfix/2.21.6
  • hotfix/2.21.7
  • hotfix/2.22.1
  • hotfix/2.22.2
  • hotfix/2.5.1
  • jcw/bryant3
  • jcw/catch-basemap-crash
  • jcw/date-picker-bug
  • jcw/delete-tree-with-hidden-id
  • jcw/dependency-updates
  • jcw/encode-geocode-param
  • jcw/fix-basemap-crash-hotfix
  • jcw/fix-basemap-restore
  • jcw/fix-geocode-test
  • jcw/fix-invitation-activation
  • jcw/fix-modeling-csv
  • jcw/fix-udf-helper
  • jcw/handle-basemap-pref-not-available
  • jcw/hidden-tree-id-can-be-shown
  • jcw/jquery-3
  • jcw/js-deps
  • jcw/mobile-safari-layer-selector
  • jcw/photo-export
  • jcw/registration-recaptcha
  • jcw/tree-edit-perm
  • jcw/udf-choice-whitespace
  • jcw/update-djqscsv-and-tinsel
  • jcw/update-moment
  • jcw/update-urllib3
  • jw/export-units-fix
  • jw/units-fix
  • kd/clear-boundary-polygon
  • kd/numeric-udf-validation
  • kd/protected-udf
  • kd/restrict-polygonal-features
  • kd/sequential-reference-number
  • kd/wm-task-priority
  • kd/wm-teams
  • kd/wmm-custom-fields
  • kd/works-management
  • list
  • master
  • maurizi-requires-io
  • modeling-chart-labels-2
  • modeling-mortality-params
  • modular-pricing
  • otm-bryant2
  • otm-cloud
  • python3
  • release
  • release-2.0
  • release/2.1.0
  • release/2.10.0
  • release/2.11.0
  • release/2.12.0
  • release/2.13.0
  • release/2.14.0
  • release/2.15.0
  • release/2.16.0
  • release/2.17.0
  • release/2.19.0
  • release/2.2.0
  • release/2.20.0
  • release/2.21.0
  • release/2.22.0
  • release/2.3.0
  • release/2.4.0
  • release/2.5.0
  • release/2.6.0
  • release/2.7.0
  • release/2.8.0
  • release/2.9.0
  • remove-unused-provisioning-items
  • requires-io-develop
  • requires-io-master
  • revert-2233-remove-unused-provisioning-items
  • revert-2483-feature/tune-rate-limiting
  • rtb/custom-field-reuse-fix
  • rtb/default-static-pages
  • rtb/defer-choice-delete
  • rtb/ecobenefits-totals
  • rtb/export-comments-button
  • rtb/fix-detail-search
  • rtb/hstore
  • rtb/importer-proximity
  • rtb/no-double-quotes
  • rtb/no-polygon-on-mobile
  • rtb/skipped-bioswale-test
  • rtb/static-page-edit-default
  • rtb/stewardship-search-date-bug
  • split-modeling
  • udf-date-validation
  • update-python-deps-1.8

pending completion
1419

push

travis-ci

steventlamb
Use the best rate limits from staging testing

These rates limits where arrived at by looking for a sweet spot between
keeping the importer fast, addressing verifiable performance issues, and
accounting for uncertainty in performance issues in production.

For these purposes we will assume the following to be fixed:
1) 10k trees per import
2) added to an instance with complex bounds and 300k+ trees.
3) same hardware, mirroring production

* Importer speed
** validation
*** best case, infinite == 1:21
*** worst case, 10/m == 5:44
6:20 = 7:41 (mm:ss).
*** low sweet spot, 30/m == 2:00
below this value and things slow down substantially.
*** high sweet spot, 45/m == 1:20
above this and performance doesn't go up. Implying perhaps that this is
equivalent to the rate at which the system can consume input.
** imports
*** best case, infinite == 6:20
*** worst case, 5/m == 11:30
*** low sweet spot, 7/m == 7:15
*** high sweet spot, 10/m == 6:22
This resembles the unlimited case as well as the case of 30/m. However,
there's something else going on here. __lower rate limits cause jobs to
take longer__. I could find no explanation but was able to reproduce
this consistently. The looser the rate limiting, the longer each task
took. This means that even though 7/m is similar in performance, it
enables the system to do quite a bit more idling with little
consequence. For this reason, I recommend closer to the lowend, with a
target of 8/m.

* Verifiable performance issues
By this I mean that in a controlled environment in which we test imports
in isolation, we can see a small measurable difference in different rate
limit values. The truth is that even without rate limiting the
performance is still pretty similar, but there's some room for
optimization none-the-less.

* Uncertain performance issues
The inconvenient truth is that importer performance is obscured by the
fact that the import detail page is consuming massive resources. For
example, DB CPU load can drop from... (continued)

14153 of 17047 relevant lines covered (83.02%)

0.83 hits per line

Relevant lines Covered
Build:
Build:
17047 RELEVANT LINES 14153 COVERED LINES
0.83 HITS PER LINE
Source Files on revert-2485-revert-2483-feature/tune-rate-limiting
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1419 revert-2485-revert-2483-feature/tune-rate-limiting Use the best rate limits from staging testing These rates limits where arrived at by looking for a sweet spot between keeping the importer fast, addressing verifiable performance issues, and accounting for uncertainty in performance issues in pro... push 09 Feb 2016 06:44PM UTC steventlamb travis-ci pending completion  
1417 revert-2485-revert-2483-feature/tune-rate-limiting Revert "Revert "Add coarse values to importer rate limiting"" push 08 Feb 2016 07:38PM UTC steventlamb travis-ci pending completion  
1381 revert-2485-revert-2483-feature/tune-rate-limiting Revert "Revert "Add coarse values to importer rate limiting"" push 01 Feb 2016 08:25PM UTC steventlamb travis-ci pending completion  
See All Builds (2530)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc