Optimize performance in Lucidscale

Written by:  Shanna S
Last updated:  

Lucidscale can save a lot of time when creating large infrastructure diagrams, but it is much more than just an algorithm that translates data into shapes and lines. It is a powerful and dynamic visualization engine, and like other rendering engines, its operations can take time, processing power, and computer memory.

Here are our best tips to make the most out of working with large infrastructures to get the best performance in Lucidscale. 

Import large datasets

Check Cloud Provider API rate limits

Lucidscale uses cloud provider APIs to import infrastructures. These API endpoints use customer account credentials and are bound to the API quotas of their cloud environment. Lucidscale currently calls these APIs as quickly as it can and in some cases may consume the available quota, resulting in throttling from your cloud provider. When this happens, the system will slow down and, if possible, continue importing at a slower pace.

Larger infrastructures can require more API calls to fetch data from the cloud provider. This increases the likelihood of exhausting API quotas, which can further increase wait times or cause the import to fail altogether. 

If import wait times or failures become excessive, we recommend ensuring there is space available on your quota. For more information on quotas, or how to increase them, please refer to your cloud provider's documentation.

Narrow the dataset

A good practice is to keep imports small where possible. Methods for reducing import size vary depending on the cloud provider and the import method. Read the following information to see our recommended best practices for each provider.

Maximize workspace performance

Large diagrams not only require more computational power, but can also be difficult for viewers to interpret. We recommend limiting the number of shapes rendered in the document to the minimum required by setting filters, toggling resources, and summarizing shapes.

Set filters

filters_icon_from_main_toolbar_in_Lucidscale.png

Create filters in the main toolbar of a Lucidscale document.

To learn more about working with Filters in AWS, Azure, and Google Cloud, check out our articles.

Toggle Resources

toggle_eye_icon_in_resources_section_of_Lucidscale_data_panel.png

Show only the most relevant services by toggling the eye icon in the Resources section of the data panel.

To learn more about working with Resources in AWS, Azure, and Google Cloud, check out our articles.

Summarize shapes

toggle_on_summarize_shapes_in_display_options_section_of_layout_menu_in_Lucidscale.png

Summarize shapes of a particular resource type in the Layout menu.

To learn more about working with layout settings for resources in AWS, Azure, and Google Cloud, check out our articles.

Cloud Agent and large datasets (beta)

If you're using the Cloud Agent (beta) to generate diagrams from large AWS environments, be aware that very large or broad requests may hit the agent's processing limits, resulting in incomplete output or a generation failure. To improve results:

  • Narrow the scope of your prompt. Specify the accounts, regions, or resource types you want included.
  • Include any tagging conventions the agent should use to identify in-scope resources (for example, "filter to resources tagged Environment=Production").
  • If the agent's first attempt is incomplete, re-prompt with more specific parameters rather than starting over with a broad request.

For the best performance, also follow the data import guidance in this article to keep your imported datasets focused on the resources you actively need.

Give feedback on this article

Have feedback about this article? Tell us about your experience here

Did you find what you were looking for?

Still have a question or want to share what you have learned? Visit our Community   to get help and collaborate with others.