Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 159
    • Issues 159
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #131

Closed
Open
Opened Jun 23, 2022 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

[Optimization] NgramsTable connection to Database

Currently lists of ngrams and their history of changes are saved as files (NodeStory type), it is loaded in memory (RAM) and it should be saved in database to scale up its capacity. For now big lists and big corpora are rather slow and its behavior is quite erratic.

Roadmap to optimize it.

First adapt the schema of the database to welcome the ngrams list instead of saving it as file.

After this connection, we will work on the way to interface the in-memory data structure store (NodeStory) and progressively save it in database in a continous way (the same way Reddis is coupled with others databases; here we use the NodeList structure which is much more complex than a simple key value).

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#131