简体   繁体   中英

What is the most efficient way of virtualize large data?

I have a list of cards that contains charts, images on it. Since the chart data and image requests slowdown my application, I thought to follow a virtualization technique. I'm currently using ngx-perfect-scrollbar and I'm about to use the virtual scrolling feature of it. But I need to know is there a better and faster way that I can visualize the data without lagging the application?'

Below is the code snippet I'm using the create the cards and a sample image of the interface.

<perfect-scrollbar class="{{isMobileDevice ? 'mobile-perfect-scrollbar' : ''}}">
                <div class="wl_tile_container_holder">
                    <div *ngFor="let item of rowData" class="wl_tile_container" (click)="onClickTileView(item)">
                        <app-watchlist-tile [data]="item"
                        [isFullMarket]="isFullMarket"
                        [isDefinedWatchlist]="isDefinedWatchlist"
                        [selectedWatchList]="selectedWatchList"
                        [fullView]="fullView"
                        (menuItemClicked)="onSelectMenuItem($event)">
                        </app-watchlist-tile>
                    </div>
               </div>

在此处输入图像描述

完全虚拟化为虚拟机提供了最佳的隔离和安全性,并简化了迁移和可移植性,因为同一个客户操作系统实例可以在虚拟化或本机硬件上运行

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM