Explanation of Resources



What is a Resource?

A Resource is an element such as a DB table, DB transaction, bean, file, socket, etc. used by the application. The Dynamic Analysis detects and captures the usage of Resources. The Resource Report’s table outlines the different resources usage.

Understanding Resource usage is important for determining the scope and boundaries of Domains. For example, having a non-exclusive DB read-write transaction might be problematic if the intent is to create microservices for these Domains.

The screenshot below shows an Application’s Resource Report. You can view the usage of Resources through the lens of which-Resources-are-in-a-given-Domain or which-Domains-use-a-given-Resource. You can select Resource in a domain and click Details to see the flows that are accessing the resource.

To access the Resource Report:

  1. Log into the vFunction Server UI
  2. Select Analysis from the top, center menu bar
  3. Select Resource Report from the left-hand sidebar under the Actions Header

Resources

A resource can be:

  • Exclusive and used only by a single Domain
  • Non-exclusive and accessed / used from three or less Domains
  • Common and accessed by more than three Domains, for example, an operating system file.

The Common Library has no resources, so even if a common class is accessing a resource (say a file or a database table) the resource will be associated to the relevant domain.