Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve how we save stats. Use channels #131

Closed
4 tasks
Ianleeclark opened this issue May 9, 2016 · 0 comments
Closed
4 tasks

Improve how we save stats. Use channels #131

Ianleeclark opened this issue May 9, 2016 · 0 comments

Comments

@Ianleeclark
Copy link
Owner

Ianleeclark commented May 9, 2016

Right now we update stats after every announce response. It'd be better if we cached our stats and only updated every N requests.

  • Cache Scrape requests
  • Cache tracker stats
  • Cache Peer Stats
  • Update all at the same time.
@Ianleeclark Ianleeclark mentioned this issue May 20, 2016
10 tasks
@Ianleeclark Ianleeclark changed the title Cache stats Cache stats and send in every N requests Jun 1, 2016
@Ianleeclark Ianleeclark reopened this Jun 19, 2016
This was referenced Nov 25, 2016
@Ianleeclark Ianleeclark changed the title Cache stats and send in every N requests Improve how we save stats. Use channels Nov 28, 2016
Ianleeclark added a commit that referenced this issue Nov 28, 2016
ADD:
  - database/database.go Adding new `PeerDeltaEvent` and `PeerTrackerDelta` to
    improve how we save peer updates.
Ianleeclark added a commit that referenced this issue Nov 28, 2016
ADD:
  - database/impl/mysqlStore_test.go Some tests for channel updating methods
Ianleeclark added a commit that referenced this issue Nov 28, 2016
Adding new option to .travis.yml so it times out
Ianleeclark added a commit that referenced this issue Nov 28, 2016
Attempting to resolve build failures.
Ianleeclark added a commit that referenced this issue Nov 28, 2016
Attempting to resolve build failures.
Ianleeclark added a commit that referenced this issue Nov 28, 2016
Build failure resolutions?
Ianleeclark added a commit that referenced this issue Nov 28, 2016
build failures....
Ianleeclark added a commit that referenced this issue Nov 28, 2016
Last time to resolve build failures hopefully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant