The MSPro Boomi Collection
About
Boomi Console
Boomi Console
  • Boomi Console
    • What is ...
  • Installation & Setup
    • Download & Install
    • Setup a Workspace
    • Connect your Workspace
    • Test your Workspace
  • Commands
    • COMP - Components
      • GET
      • DOC
    • PACK - Packaged Components
      • PACK GET
      • PACK DOC
    • DEPLOY - Deployments
      • GET - Deployments and Packages
      • EXEC - Deploy components
        • Deployment from Repos
        • Promotion to Env
      • DELETE - Undeploy Components
    • WORKSPACE CONNECT
    • ACCOUNT INFO
    • Arguments
      • Common Arguments
        • The Set Argument in Detail
        • Query Filter
          • Start date or time span
        • Arguments in a file
        • Allow Multi
        • Component Resolution
      • COMP Arguments
        • COMP GET Arguments
        • COMP DOC Arguments
      • PACK Arguments
      • DEPLOY Arguments
        • DEPLOY GET Arguments
        • DEPLOY EXEC Arguments
        • DEPLOY DELETE Arguments
  • Use-Cases
    • Analyze deployed components
    • Components in a Folder
    • Deploy Components
    • Reveal a Process
    • Reveal an API Component
    • Deployed Components Overview
    • Deployment Task Document
    • Create a cSet.jsonc file
  • Library
    • Component Set
      • The Components Set JsonC file
        • Create a package file
      • Set File resolution
    • The Report Engine
      • Render DataSets
        • DataSet Base
        • Component Metadata DataSet
          • Component Metadata Header
          • Component Metadata
          • CompDataSet With Counts
        • Deployed Packages DataSet
        • Package Content DataSet
        • Map Markdown Dataset
      • Components
        • Deployable Components
        • Orphaned Components
    • The Workspace
      • Manage your workspace
      • Components Set Workspace
      • Workspace folders
      • The project database
    • Configuration files
      • Application Settings
      • Workspace configuration file
      • boomiConsole.user.json
    • How to...
      • Use Excel to view CSV files
      • Local metadata and caching
      • Getting help
      • Environments
      • How to get a Component's Id
    • Referenced Pages
      • Lists
      • Documentation Snapshots
  • Download and Release History
  • Help Text
    • Documentation Links
    • Target Path Resolution
    • GitHub Emojis
    • Packaged Component and Versions
    • Components and Versions
    • Component Hierarchy
    • Referenced Components
Powered by GitBook
On this page
  • Local Metadata
  • SQLite DB
  • In-Memory cache
  1. Library
  2. How to...

Local metadata and caching

Caching metadata

Last updated 10 months ago

Boomi Console uses a cached approach to avoid roundtrips to the (by nature slow[er]) API.

Local Metadata

Boomi Console saves all metadata responses to the file system ProjectDir\Metatdata. This data is there for you, only. It is not used for caching, but sometimes it is helpful to look-up or search in these XML files.

SQLite DB

A SQLite database in your workspace directory is used to cache persist API responses. This DB caches the Boom Component Metadata API respones by Component ID and Version.

The Component metadata is versioned (on save) and it does not change for a specific version (immutable).

Based on this "assumption" we can store/cache Component metadata under their ID plus Version. Whenever there is a request for a specific component version, a database look-up takes place. If it fails, an API request is sent and the database updated with the response.

All requests which do not specify and explcit component version are directly sent to the API, because the most recent version of the component is required directly from the repository.

You can delete this file at any time, however it'll be created again when you run a command.

In-Memory cache

There is an in-memroy cache is available only during a single commands execution. It is there to buffer already read component to avoid reading the same component twice during the same run. The cache cannot be modfied or cleared.

SQLIte bc.db.sqLite