Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 138
    • Issues 138
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • 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
  • purescript-gargantext
  • Issues
  • #167

Closed
Open
Opened Apr 01, 2020 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

[Graph] Async Route

add a reload/update icon in Graph settings (Left Node Actions) to test the async route of the backend

Overall what happened is: ngrams table was changed (new table version). On Graph GET, versions were compared and an expensive Louvain clustering recomputation was triggered (if versions differed). This caused API slowdown. Idea is: remove that version comparison on GET (i.e. serve whatever the latest computed graph version is). On graph change (via "remove candidate/remove stop"), do it into the /api/v1.0/graph/{graph_id}/async endpoint, wait for job id to finish, then rerender graph. The job will recompute graph in the background.

Batch ngrams table change: https://drive.google.com/file/d/1O0MTkULK4U1VRGzSddyKUL0Gxk8ItJ2s/view

Edited Apr 01, 2020 by Przemyslaw Kaminski
Assignee
Assign to
Release
Milestone
Release
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#167