Optimizing Time Series Chart (TSC) Performance

In this walkthrough, we explore the key improvements we've made to enhance the performance and scalability of Time Series Chart (TSC), one of our most utilized data visualization tools. We'll discuss the challenges with handling large volumes of data, and how our specialized TSC connectors alleviate these issues.

Key Highlights: Traditional TSC performance pitfalls with high-volume data sets. Introduction to specialized TSC connectors that efficiently handle large volumes of data. Demo of the new TSC SQL connector's performance metrics. Agenda: Problem Statement: Discussion on how traditional TSC design struggles with handling large data volumes, leading to slow data return and processing times.

Solution Overview: Introduction to our specialized TSC connector, designed to return only the data points actually displayed on the chart. This ensures faster data retrieval and client-side processing.

Technical Deep Dive: Elaboration on how the specialized TSC connector works in conjunction with the block to crunch the numbers and deliver optimized performance.

Demo: A live demonstration by Dragon, our expert developer, showcasing the new TSC SQL connector in action.

Upcoming Releases: Information on future compatibility with Azure Data Explorer and Historian, and what you will need for the block enhancement in 4.3 release.

User Experience: Pros and cons of using the new approach, including its impact on user interactions like zooming and changing asset selection.

Additional Notes: The functionality will be rolled out for Azure Data Explorer and Historian in subsequent releases. Smaller data volumes can continue to use original connectors to avoid load between interactions. Relevant Metrics: Data request returned in less than 400 milliseconds. Reduced data size to 44-45 KB. Join us as we delve into these innovative changes aimed to make your experience with Time Series Charts smoother, quicker, and more scalable.

For more technical content tailored for engineers and subject matter experts, please subscribe to our channel.

Transcript

application designers time series chart

or TSC is one of our most popular data

visualizations

however we found that performance is not

satisfactory with large volumes of data

and as you know this is usually the case

with time series data

all relevant data is returned to the

client for processing so that it doesn't

need to be refreshed

unless certain parameters are changed

but large volumes of data are slow to

return and slow to process on the client

[Music]

we've made changes to the block itself

and released a specialized TSC connector

that only Returns the data points

displayed on that chart

the block sends the requested parameters

to the connector which retrieves the

data from the data source crunches the

numbers and sends back only the data

actually displayed

for example rather than sending 60 000

records for 180 buckets we're only

returning 180 records

this results in a fast and scalable user

experience

the disadvantage of this approach is

that it is repeated every time the chart

is interacted with such as zooming or

changing the asset selection

a CSC SQL connector is available now

and the functionality will be rolled out

for Azure data Explorer and historian

next

you will need the 4.3 release for The

Block enhancement and thereafter simply

load the new connectors as they are made

available

alternatively you can continue using the

original connectors for smaller data

volumes to avoid the load between

interactions

[Music]

have a demo by Dragon another one of our

talented developers of the new connector

in action

we discovered doing a trial run through

that my audio is not going to play or

the audio of the video is not going to

play through from you so

this is my first run through with the

script so let's just see how that goes

when we play the video

this is the new TSC SQL connector

which pulling the selected fields that

we have for this time range

and this interval size

we can see that the request was

returning in less than 400 milliseconds

and the size is 44 45 kilobytes

if I open the request now we can see

that we have 179 records or buckets and

for each packet we have the selected

field with their corresponding Min and

Max values that are actually showing on

this one

now what we've said is if we move the

range it's going to send a new request

the same size in the same time

if we move the range

sorry if we increase or decrease the

interval size we should have double the

buckets

Last updated