Apache Druid: a high performance real-time analytics database.
Go to file
BIGrey c5bfe36011
Optimize FileWriteOutBytes to avoid high system cpu usage (#9722)
* optimize FileWriteOutBytes to avoid high sys cpu

* optimize FileWriteOutBytes to avoid high sys cpu -- remove IOException

* optimize FileWriteOutBytes to avoid high sys cpu -- remove IOException in writeOutBytes.size

* Revert "optimize FileWriteOutBytes to avoid high sys cpu -- remove IOException in writeOutBytes.size"

This reverts commit 965f7421

* Revert "optimize FileWriteOutBytes to avoid high sys cpu -- remove IOException"

This reverts commit 149e08c0

* optimize FileWriteOutBytes to avoid high sys cpu -- avoid IOEception never thrown check

* Fix size counting to handle IOE in FileWriteOutBytes + tests

* remove unused throws IOException in WriteOutBytes.size()

* Remove redundant throws IOExcpetion clauses

* Parameterize IndexMergeBenchmark

Co-authored-by: huanghui.bigrey <huanghui.bigrey@bytedance.com>
Co-authored-by: Suneet Saldanha <suneet.saldanha@imply.io>
2020-04-23 20:18:42 -07:00
.github De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
.idea IntelliJ inspections cleanup (#9339) 2020-04-10 10:04:40 -07:00
benchmarks Optimize FileWriteOutBytes to avoid high system cpu usage (#9722) 2020-04-23 20:18:42 -07:00
cloud Bump up development version to 0.19.0-SNAPSHOT (#9586) 2020-03-30 16:24:04 -07:00
codestyle Forbid easily misused HashSet and HashMap constructors (#9165) 2020-02-07 10:44:09 +03:00
core IntelliJ inspections cleanup (#9339) 2020-04-10 10:04:40 -07:00
dev change backtick() and fix broken links (#9550) 2020-03-23 20:57:03 -07:00
distribution Web console basic end-to-end-test (#9595) 2020-04-09 12:38:09 -07:00
docs Datasource doc structure adjustments. (#9716) 2020-04-23 16:04:59 -07:00
examples Add QueryResource to log4j2 template. (#9735) 2020-04-22 09:18:45 -07:00
extendedset Align library version (#9636) 2020-04-21 20:19:38 -07:00
extensions-contrib Align library version (#9636) 2020-04-21 20:19:38 -07:00
extensions-core druid-pac4j:add custom SSL handling to com.nimbusds.oauth2.sdk.http.HTTPRequest objects (#9695) 2020-04-15 15:59:24 -07:00
hll Bump up development version to 0.19.0-SNAPSHOT (#9586) 2020-03-30 16:24:04 -07:00
indexing-hadoop IntelliJ inspections cleanup (#9339) 2020-04-10 10:04:40 -07:00
indexing-service Indexing Service validates externally received taskId (#9666) 2020-04-10 10:36:26 -07:00
integration-tests Add integration tests for kafka ingestion (#9724) 2020-04-22 10:43:34 -07:00
licenses Fix for [CVE-2020-1958]: Apache Druid LDAP injection vulnerability (#9600) 2020-04-01 14:52:01 -07:00
processing Optimize FileWriteOutBytes to avoid high system cpu usage (#9722) 2020-04-23 20:18:42 -07:00
publications De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
server fixes for inline subqueries when multi-value dimension is present (#9698) 2020-04-21 18:44:26 -07:00
services Add missing integration tests for the compaction by the coordinator (#9644) 2020-04-15 14:27:33 -07:00
sql Revert "remove ServerDiscoverySelector from DruidLeaderClient (#9481)" (#9702) 2020-04-14 20:42:56 -07:00
web-console web-console clean coverage report on build clean (#9718) 2020-04-21 17:02:05 -07:00
website document useFilterCNF query context parameter (#9647) 2020-04-16 22:12:20 -07:00
.asf.yaml Add .asf.yaml. (#9083) 2019-12-20 16:45:38 -08:00
.backportrc.json Add 0.18.0 to .backportrc.json to facilitate backport. (#9661) 2020-04-11 13:49:04 -07:00
.codecov.yml Use Codecov (#8388) 2019-08-28 08:49:30 -07:00
.dockerignore Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
.gitignore Web console basic end-to-end-test (#9595) 2020-04-09 12:38:09 -07:00
.lgtm.yml Suppress LGTM warnings about stack trace exposure (#9631) 2020-04-09 17:31:03 -07:00
.travis.yml Add integration tests for kafka ingestion (#9724) 2020-04-22 10:43:34 -07:00
CONTRIBUTING.md Fix numbered list formatting in markdown. (#9664) 2020-04-21 20:18:12 -07:00
LABELS Add plain text README.txt, use relative link from README.md to build.md (#7611) 2019-05-09 21:29:26 -07:00
LICENSE More optimize CNF conversion of filters (#9634) 2020-04-08 21:31:17 -07:00
NOTICE De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
README.md Update README.md 2019-12-20 20:56:53 -08:00
README.template De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
licenses.yaml Missing license changes for sources in licenses.yaml (#9678) 2020-04-10 23:06:33 -07:00
owasp-dependency-check-suppressions.xml Document possible vulnerabilities for the druid-ranger-security (#9649) 2020-04-09 10:43:11 -07:00
pom.xml Add integration tests for kafka ingestion (#9724) 2020-04-22 10:43:34 -07:00
upload.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00

README.md

Slack Build Status Language grade: Java Coverage Status Docker


Website | Documentation | Developer Mailing List | User Mailing List | Slack | Twitter | Download


Apache Druid

Druid is a high performance real-time analytics database. Druid's main value add is to reduce time to insight and action.

Druid is designed for workflows where fast queries and ingest really matter. Druid excels at powering UIs, running operational (ad-hoc) queries, or handling high concurrency. Consider Druid as an open source alternative to data warehouses for a variety of use cases.

Getting started

You can get started with Druid with our quickstart.

Druid provides a rich set of APIs (via HTTP and JDBC) for loading, managing, and querying your data. You can also interact with Druid via the built-in console (shown below).

Load data

data loader Kafka

Load streaming and batch data using a point-and-click wizard to guide you through ingestion setup. Monitor one off tasks and ingestion supervisors.

Manage the cluster

management

Manage your cluster with ease. Get a view of your datasources, segments, ingestion tasks, and services from one convenient location. All powered by SQL systems tables, allowing you to see the underlying query for each view.

Issue queries

query view combo

Use the built-in query workbench to prototype DruidSQL and native queries or connect one of the many tools that help you make the most out of Druid.

Documentation

You can find the documentation for the latest Druid release on the project website.

If you would like to contribute documentation, please do so under /docs in this repository and submit a pull request.

Community

Community support is available on the druid-user mailing list, which is hosted at Google Groups.

Development discussions occur on dev@druid.apache.org, which you can subscribe to by emailing dev-subscribe@druid.apache.org.

Chat with Druid committers and users in real-time on the #druid channel in the Apache Slack team. Please use this invitation link to join the ASF Slack, and once joined, go into the #druid channel.

Building from source

Please note that JDK 8 is required to build Druid.

For instructions on building Druid from source, see docs/development/build.md

Contributing

Please follow the community guidelines for contributing.

For instructions on setting up IntelliJ dev/intellij-setup.md

License

Apache License, Version 2.0