layout: post title: New codingmarks added in the 7th week of 2018 description: “New codingmarks added in the 7th week of 2018. Keywords: cloud, encryption, firewall, phising, security, tools and user-experience” author: ama permalink: /ama/new-codingmarks-week-7-2018 published: true categories: [codingmarks] tags: [codingmarks] — New codingmarks added in the 7th week of 2018. Hot topics include:
Last week I showed you how to increase the performance of multiple java calls by making them asynchronous and parallel. This week we take a look at another potential performance booster, you should always keep in mind - caching.
Let’s imagine a scenario where you call a REST service and you know the returned values don’t change very often. In this case you really need to consider caching the response. We will use Guava’s provided caching capabilities to implement such a cache for this example.