当前位置:网站首页>When should I use Apache Druid
When should I use Apache Druid
2022-06-24 06:13:00 【HoneyMoose】
Many companies have put Druid It can be applied to many different application scenarios . Please visit Use Apache Druid The company Page to find out which companies use Druid.
If your usage scenario conforms to some of the following features , that Druid It will be a very good choice :
- The insertion frequency of data is very high , But the update frequency is very low .
- Most queries are aggregate queries (aggregation) And report query (reporting queries), For example, we often use “group by” Inquire about . There are also some retrieval and scanning queries .
- The query latency is limited to 100ms To In a few seconds .
- Your data has a time component ( attribute ). For time-related attributes ,Druid Carry out special design and optimization .
- You may have multiple data tables , But queries are usually only for a large distributed data table , however , The query may also need to query multiple smaller
lookupsurface . - If your data has a high cardinality (high cardinality) Data field , for example URLs、 user IDs, But you need to quickly count and sort these fields .
- You need to get from Kafka,HDFS, text file , Or object storage ( for example ,AWS S3) Load data in .
If your usage scenario is some of the following ,Druid No A better choice :
- For an existing record , Use primary key (primary key) Perform low latency update operations .Druid Support streaming insertion (streaming inserts) data , But it doesn't support streaming updates very well (streaming updates) data . Druid The update operation of is completed through background batch processing .
- Your system is similar to an offline reporting system , Query latency is not an important consideration in system design .
- The table needs to be updated in the usage scenario (Fact Table) Make a connection query , And for this query, you can introduce a high delay to wait for the query to complete .
边栏推荐
- Web automation test (3): Selenium basic course of web function automation test
- The basic concept of network is the relationship among services, protocols, processes and ports.
- Differences between JSON objects and JSON strings
- Precautions for selecting high frequency signal generator
- Risc-v assembly language programming (2) assembly program ASM_ run_ led
- Royal treasure: an analysis of SQL algebra optimization
- CLB unable to access / access timeout troubleshooting
- NoClassDefFoundError and classnotfoundexception exceptions
- Kubernetes Chapter 1: Foundation
- Spirit information development log (4)
猜你喜欢

One line of keyboard

ServiceStack. Source code analysis of redis (connection and connection pool)

What is the difference between a white box test and a black box test

A cigarette of time to talk with you about how novices transform from functional testing to advanced automated testing
![[fault announcement] one stored procedure brings down the entire database](/img/7c/e5adda73a077fe4b8f04b59d1e0e1e.jpg)
[fault announcement] one stored procedure brings down the entire database

Solution to the 39th weekly game of acwing

Technology is a double-edged sword, which needs to be well kept
随机推荐
The errorcontrol registry of the third-party service is 3, which may cause the system to cycle restart. For example, ldpkit introduced by WPS
Brief introduction to the working principle of high frequency signal generator
Basic concepts of complex networks
[fault announcement] one stored procedure brings down the entire database
PNAs: development of white matter pathways in human brain during the second and third trimester of pregnancy
Tencent (host security) was listed in the market guide for cloud workload protection platform released by Gartner
Precautions for selecting high frequency signal generator
Domain name, resolution, SSL certificate product selection
At the beginning of the school season, use this template to improve the management level
What are the domain name registration query tools? What should be paid attention to when registering a domain name
12. Tencent cloud IOT device side learning -- NTP function and Implementation
Havip+keepalived high availability building
The difference between ArrayList and LinkedList and the principle of using scene locality
Flutter layout Basics - page navigation and return
Increase the dynamic port range to solve TCPIP alarm
Risc-v instruction set explanation (7) instruction address alignment and addition and subtraction overflow processing
Discussion on NFT Technology
Coding and codesign: make design and development easier
Could not read username for xxxxx
Why migrate dig to wire