Skip to content

[Webinterface] After mainnet, revisit polling #146

Open

Description

@rfornea

There are probably many solutions to this problem. Long term there may be iota events we can listen for, but that's a ways away.

But currently, requests to the iota node can "pile up" before any of them complete. My suggestion is wait for polling requests to complete before issuing subsequent requests. It would be better if we would wait for each poll to come back, before polling for the same iota addresses again. Basically still poll, but just not on a strict interval, and don't issue subsequent GETs to iota node until the previous has resolved.

Discuss other options in the comments.

Activity

  1. AaronVasquez commented on May 30, 2018

    @AaronVasquez
    Contributor

    Is the problem that we don't wait for a response before polling again? Or are we just making too many requests in general?

  2. rfornea commented on May 30, 2018

    @rfornea
    ContributorAuthor

    I think it is likely a combination of both. Even with a decrease in the amount of polling they still seem to be bogging down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions