官术网_书友最值得收藏!

  • Functional Kotlin
  • Mario Arias Rivu Chakraborty
  • 92字
  • 2021-06-24 19:15:29

Caching

As immutable objects are not going to change, they can be easily cached to improve performance. Thus, you can easily avoid making multiple calls to the same function/variable and, instead, cache it locally and save an ample amount of processing time. The following are some of the advantages of caching:

  • It reduces the overhead from server resources
  • It increases the performance of the application by serving it with the cached output
  • It decreases CPU round trips for fetching data from the database by persisting data in the memory
  • It increases reliability
主站蜘蛛池模板: 华蓥市| 新营市| 阿巴嘎旗| 兖州市| 五寨县| 平原县| 镇坪县| 香港| 牡丹江市| 安福县| 新蔡县| 遵化市| 施甸县| 屏山县| 江油市| 杭锦旗| 长宁县| 红河县| 蛟河市| 靖州| 定南县| 隆回县| 凌海市| 吉木乃县| 温州市| 南和县| 海盐县| 卢氏县| 泰兴市| 桂平市| 柞水县| 天津市| 望奎县| 淅川县| 昌乐县| 招远市| 黔江区| 刚察县| 武山县| 如东县| 中牟县|