druid/extensions-core
Gian Merlino 3525d4059e
Cache: Add maxEntrySize config, make groupBy cacheable by default. (#5108)
* Cache: Add maxEntrySize config.

The idea is this makes it more feasible to cache query types that
can potentially generate large result sets, like groupBy and select,
without fear of writing too much to the cache per query.

Includes a refactor of cache population code in CachingQueryRunner and
CachingClusteredClient, such that they now use the same CachePopulator
interface with two implementations: one for foreground and one for
background.

The main reason for splitting the foreground / background impls is
that the foreground impl can have a more effective implementation of
maxEntrySize. It can stop retaining subvalues for the cache early.

* Add CachePopulatorStats.

* Fix whitespace.

* Fix docs.

* Fix various tests.

* Add tests.

* Fix tests.

* Better tests

* Remove conflict markers.

* Fix licenses.
2018-08-07 10:23:15 -07:00
..
avro-extensions Remove redundant type parameters and enforce some other style and inspection rules (#5980) 2018-07-27 16:56:49 -05:00
datasketches Part 2 of changes for SQL Compatible Null Handling (#5958) 2018-08-02 08:20:25 -07:00
druid-basic-security Prohibit Lists.newArrayList() with a single argument (#6068) 2018-07-31 20:09:10 -07:00
druid-kerberos Fix ClassNotFoundException in druid-kerberos extension (#4776) 2018-07-27 16:23:09 -07:00
hdfs-storage Remove redundant type parameters and enforce some other style and inspection rules (#5980) 2018-07-27 16:56:49 -05:00
histogram Part 2 of changes for SQL Compatible Null Handling (#5958) 2018-08-02 08:20:25 -07:00
kafka-eight Update license headers. (#5976) 2018-07-11 09:55:18 -07:00
kafka-extraction-namespace Remove redundant type parameters and enforce some other style and inspection rules (#5980) 2018-07-27 16:56:49 -05:00
kafka-indexing-service Cache: Add maxEntrySize config, make groupBy cacheable by default. (#5108) 2018-08-07 10:23:15 -07:00
lookups-cached-global Part 2 of changes for SQL Compatible Null Handling (#5958) 2018-08-02 08:20:25 -07:00
lookups-cached-single Part 2 of changes for SQL Compatible Null Handling (#5958) 2018-08-02 08:20:25 -07:00
mysql-metadata-storage Update license headers. (#5976) 2018-07-11 09:55:18 -07:00
postgresql-metadata-storage Update license headers. (#5976) 2018-07-11 09:55:18 -07:00
protobuf-extensions Remove redundant type parameters and enforce some other style and inspection rules (#5980) 2018-07-27 16:56:49 -05:00
s3-extensions Native parallel batch indexing without shuffle (#5492) 2018-08-06 23:59:42 -07:00
simple-client-sslcontext Update license headers. (#5976) 2018-07-11 09:55:18 -07:00
stats Part 2 of changes for SQL Compatible Null Handling (#5958) 2018-08-02 08:20:25 -07:00