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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.34.39