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

  • 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
主站蜘蛛池模板: 望谟县| 邓州市| 淮阳县| 霍城县| 牡丹江市| 石狮市| 永济市| 宾川县| 牟定县| 潮州市| 怀远县| 吕梁市| 威远县| 井冈山市| 大城县| 梁山县| 深泽县| 五大连池市| 五原县| 云安县| 南皮县| 资源县| 德江县| 洮南市| 保康县| 永昌县| 格尔木市| 如皋市| 即墨市| 青岛市| 曲阳县| 文成县| 马鞍山市| 崇阳县| 什邡市| 蓬溪县| 镇远县| 泉州市| 漳州市| 阿拉善右旗| 成武县|