elasticsearch/docs/reference/modules
Stuart Tettemer 808b70d2f9
Script: Restore the scripting general cache (#79453)
Deprecate the script context cache in favor of the general cache.

Users should use the following settings:
`script.max_compilations_rate` to set the max compilation rate
  for user scripts such as filter scripts.  Certain script contexts
  that submit scripts outside of the control of the user are
  exempted from this rate limit.  Examples include runtime fields,
  ingest and watcher.

`script.cache.max_size` to set the max size of the cache.

`script.cache.expire` to set the expiration time for entries in
the cache.

Whats deprecated?
`script.max_compilations_rate: use-context`.  This special
setting value was used to turn on the script context-specific caches.

`script.context.$CONTEXT.cache_max_size`, use `script.cache.max_size`
instead.

`script.context.$CONTEXT.cache_expire`, use `script.cache.expire`
instead.

`script.context.$CONTEXT.max_compilations_rate`, use
`script.max_compilations_rate` instead.

The default cache size was increased from `100` to `3000`, which
was approximately the max cache size when using context-specific caches.

The default compilation rate limit was increased from `75/5m` to
`150/5m` to account for increasing uses of scripts.

System script contexts can now opt-out of compilation rate limiting
using a flag rather than a sentinel rate limit value.

7.16: Script: Deprecate script context cache #79508
Refs: #62899

7.16: Script: Opt-out system contexts from script compilation rate limit #79459
Refs: #62899
2021-10-21 07:57:27 -05:00
..
cluster Deprecation of transient cluster settings (#78794) 2021-10-15 13:00:52 -04:00
discovery A typo error (#78987) (#79203) 2021-10-15 08:52:03 -04:00
indices Script: Restore the scripting general cache (#79453) 2021-10-21 07:57:27 -05:00
network Deprecation of transient cluster settings (#78794) 2021-10-15 13:00:52 -04:00
cluster.asciidoc [DOCS] Document dynamic cluster-lvl shard alloc settings (#61338) 2020-08-31 11:04:11 -04:00
discovery.asciidoc Expand and consolidate networking docs (#68051) 2021-02-01 13:06:20 +00:00
gateway.asciidoc Remove deprecated gateway settings (#53845) 2021-02-03 14:10:45 +00:00
http.asciidoc Limit count of HTTP channels with tracked stats (#77303) 2021-09-08 07:25:57 +01:00
network.asciidoc [DOCS] Update remote cluster docs (#77043) 2021-09-22 16:02:33 -04:00
node.asciidoc [DOCS] Update remote cluster docs (#77043) 2021-09-22 16:02:33 -04:00
plugins.asciidoc [DOCS] Relocate "Plugins" page (#54974) 2020-04-10 15:29:44 -04:00
remote-clusters-shared.asciidoc Improve docs for pre-release version compatibility (#78428) 2021-09-29 04:49:07 -04:00
remote-clusters.asciidoc Add docs for pre-release version compatibility (#78317) 2021-09-27 16:56:35 +01:00
threadpool.asciidoc Node level can match action (#78765) 2021-10-18 10:13:44 +02:00
transport.asciidoc Enable LZ4 transport compression by default (#76326) 2021-08-17 12:19:42 -06:00