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

rlgomes / flume
96%
master: 93%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Repo Added 08 Aug 2016 12:08AM UTC
Files 65
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 optimize-various-reducers-in-elastic-adapter
branch: optimize-various-reducers-in-elastic-adapter
CHANGE BRANCH
x
Reset
  • optimize-various-reducers-in-elastic-adapter
  • bunch-o-random-fixes
  • check-examples-compile
  • cli-unittests
  • dependabot/pip/cairosvg-2.5.1
  • dependabot/pip/jinja2-2.11.3
  • dependabot/pip/lxml-4.6.2
  • dependabot/pip/lxml-4.6.3
  • dependabot/pip/pyyaml-5.4
  • dependabot/pip/urllib3-1.24.2
  • dependabot/pip/urllib3-1.26.5
  • enable-coveralls
  • fill-in-math-and-date-reducer-documentation
  • implicit-write-to-stdio
  • introducing-optimizations
  • master
  • missing-funcr-docs-and-tests
  • performance-work
  • pipeline-chaining
  • python-3-comptability
  • remove-blessings-dependency
  • rework-adapters-to-handle-time-field-at-correct-location
  • run-integration-tests
  • speeding-up-unit-tests
  • thirdparty-utilities
  • v0.3
  • v0.3.1
  • v0.3.2
  • v0.3.3
  • v0.3.5
  • v0.3.7
  • v0.3.8
  • v0.4.0

pending completion
71

push

travis-ci

rlgomes
optimized count, maximum, minimum in es adapter

fixes #39

with this we'll have a tremendous performance boost since since these
reductions are done in the storage layer and we don't need to pull
thousands of data points all the way into the **flume** runtime engine
in order to calculate the same things.

As an example of the performance boost:

```bash
rlgomes@t460s> flume "emit(limit=100000, start='1970-01-01') |
put(count=count()) | write('elastic', index='test', batch=1024)"
2016-09-06 21:39:50 $?=0 pwd=/home/rlgomes/workspace/python/flume
venv=env branch=(no duration=38.256s
rlgomes@t460s> flume --no-optimize "read('elastic', index='test') |
reduce(count=count()) | write('stdio')"
{"count": 100000, "time": "1970-01-01T00:00:00.000Z"}
2016-09-06 21:41:26 $?=0 pwd=/home/rlgomes/workspace/python/flume
venv=env branch=(no duration=72.940s
rlgomes@t460s> flume "read('elastic', index='test') |
reduce(count=count()) | write('stdio')"
{"count": 100000, "time": "1970-01-01T00:00:00.000Z"}
2016-09-06 21:42:07 $?=0 pwd=/home/rlgomes/workspace/python/flume
venv=env branch=(no duration=.473s
rlgomes@t460s> flume --no-optimize "read('elastic', index='test') |
reduce(max=maximum('count')) | write('stdio')"
{"max": 100000, "time": "1970-01-01T00:00:00.000Z"}
2016-09-06 21:43:21 $?=0 pwd=/home/rlgomes/workspace/python/flume
venv=env branch=(no duration=57.814s
rlgomes@t460s> flume "read('elastic', index='test') |
reduce(max=maximum('count')) | write('stdio')"
{"max": 100000.0, "time": "1970-01-01T00:00:00.000Z"}
2016-09-06 21:44:17 $?=0 pwd=/home/rlgomes/workspace/python/flume
venv=env branch=(no duration=.439s
rlgomes@t460s> flume --no-optimize "read('elastic', index='test') |
reduce(min=minimum('count')) | write('stdio')"
{"time": "1970-01-01T00:00:00.000Z", "min": 1}
2016-09-06 21:45:16 $?=0 pwd=/home/rlgomes/workspace/python/flume
venv=env branch=(no duration=44.500s
rlgomes@t460s> flume "read('elastic', index='test') |
reduce(min=minimum('count')) | write('... (continued)

1810 of 1895 relevant lines covered (95.51%)

1.9 hits per line

Relevant lines Covered
Build:
Build:
1895 RELEVANT LINES 1810 COVERED LINES
1.9 HITS PER LINE
Source Files on optimize-various-reducers-in-elastic-adapter
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
71 optimize-various-reducers-in-elastic-adapter optimized count, maximum, minimum in es adapter fixes #39 with this we'll have a tremendous performance boost since since these reductions are done in the storage layer and we don't need to pull thousands of data points all the way into the **fl... push 07 Sep 2016 05:11AM UTC rlgomes travis-ci pending completion  
See All Builds (81)
  • 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