- 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
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- Node.js+Webpack開發實戰
- 工程軟件開發技術基礎
- 軟件架構設計:大型網站技術架構與業務架構融合之道
- C和C++安全編碼(原書第2版)
- 看透JavaScript:原理、方法與實踐
- Java程序員面試算法寶典
- Java:Data Science Made Easy
- SSM輕量級框架應用實戰
- Android 應用案例開發大全(第3版)
- Getting Started with NativeScript
- OpenGL Data Visualization Cookbook
- JavaScript腳本特效編程給力起飛
- Emgu CV Essentials
- Python機器學習之金融風險管理