vesoft-inc/nebula-importer

enhance data reader logic

Aperta

#218 aperta il 11 ott 2022

 (0 commenti) (0 reazioni) (0 assegnatari)Go (62 fork)auto 404
HACKTOBERFESTtype/enhancement

Metriche repository

Star
 (101 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

importer read all the files in concurrent, it would cause below issues:

  1. if there're 1000+ files, it would read too many data, and would OOM.
  2. one goroutine reads one file, if there is only one file, would import slow even if there're many graph clients.

Guida contributor