ES索引文件瘦身总结如下: 原始数据:(1)学习splunk,原始data存big string(2)原始文件还可以再度压缩倒排索引:(1)去掉不必要的倒排索引信息:例如文件位置倒排._source和field store选择之一(2)合并倒排文件,去掉一些冗余的小文件(3)原始数据big string存储后负责ES聚合功能的doc_values去掉(4)其他方面:倒排列表数据结构是skiplist本质是空间换时间,可考虑用有序数组存储. Strange that I haven't recei…
Not every app is greenfield, and it would be a shame if existing React apps could not benefit from the micro-size of Preact. In this lesson we’ll discuss what preact-compat is, how to use it, and some examples of the file-size savings available. http…