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

Netflix / conductor / 4791 / 1
70%
master: 70%

Build:
Build:
LAST BUILD BRANCH: 2.31
DEFAULT BRANCH: master
Ran 01 Dec 2020 01:41AM UTC
Files 301
Run time 23s
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

01 Dec 2020 01:18AM UTC coverage: 70.17% (-0.05%) from 70.221%
bintrayUser=[secure] bintrayKey=[secure] sonatypeUsername=[secure] sonatypePassword=[secure] dockerhubUsername=[secure] dockerhubPassword=[secure]

push

travis-ci-com

web-flow
Improve postgresql DAO performance (#1940)

* Improve postgresql DAO performance

by adding proper FOR SHARE / FOR UPDATE / SKIP LOCKED locks to DB queries
where it makes sense in order to reduce conflicts/deadlocks in DB.

Most important case is when workers poll for work, they are not
interested in tasks that are locked (currently being updated) so they
can leverage 'SKIP LOCKED' to prevent DB locks and tx deadlocks.

This increases the performance of postgres dao

Additional improvements:

+ move thread.sleep out of DB transaction when tasks are being polled
with timeout parameter

+ add serialization_error to the list of causes triggerring TX retry
(this is happening under heavy load)

+ fix processUnack condition: it used to do the opposite. This has been
also fixed in the meantime by u447 <rick.fishman@bcbsfl.com>

+ add a performance test. This test can be executed manually, but should
not be automated

+ add retries to containsMessage method

Signed-off-by: Maros Marsalek <mmarsalek@frinx.io>

* Remove double query from processUnacks

That was a mistake in the original commit, no need to do the same thing twice

13025 of 18562 relevant lines covered (70.17%)

0.7 hits per line

Source Files on job 4791.1 (bintrayUser=[secure] bintrayKey=[secure] sonatypeUsername=[secure] sonatypePassword=[secure] dockerhubUsername=[secure] dockerhubPassword=[secure])
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2219
  • Travis Job 4791.1
  • ea9ad82d on github
  • Prev Job for bintrayUser=[secure] bintrayKey=[secure] sonatypeUsername=[secure] sonatypePassword=[secure] dockerhubUsername=[secure] dockerhubPassword=[secure] on dev (#4790.1)
  • Next Job for bintrayUser=[secure] bintrayKey=[secure] sonatypeUsername=[secure] sonatypePassword=[secure] dockerhubUsername=[secure] dockerhubPassword=[secure] on dev (#4804.1)
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

© 2026 Coveralls, Inc