vesoft-inc/nebula-importer

enhance data reader logic

Open

#218 opened on Oct 11, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (62 forks)auto 404
HACKTOBERFESTtype/enhancement

Repository metrics

Stars
 (101 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide