Skip to content

Excessive IP Data Fetching #229

@ansermino

Description

@ansermino

Expected Behavior

Fetching IP information should happen only when needed. Specifically it should occur when a new peer is found that has not been seen before. This could also be optimized further so that it's only fetched when a new IP address is seen.

Current Behavior

Upon restarting the API we are seeing ~45,000 requests for IP data. It seems that for every peer we are re-fetching the IP data unnecessarily.

Possible Solution

  • Fetch IP data for peers we have not seen before
  • (Optionally) Fetch iP data for IPs we have not seen before, perhaps by adding a separate db collection for IP data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions