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

Metering for all APIs #210

Open
ThorodanBrom opened this issue Oct 14, 2024 · 3 comments
Open

Metering for all APIs #210

ThorodanBrom opened this issue Oct 14, 2024 · 3 comments

Comments

@ThorodanBrom
Copy link
Collaborator

No description provided.

@ThorodanBrom
Copy link
Collaborator Author

  • Metering present for all APIs except tile access
  • Doing metering for tile access presents it's own set of problems

@ThorodanBrom
Copy link
Collaborator Author

  • Check how many packets are pushed into RMQ for tiles on canvas
  • Add cache-control headers to the tiles API
    • Check point 1 after that
  • Explore aggregation of data somehow, somewhere

@ThorodanBrom
Copy link
Collaborator Author

  • Use a Handler, method will not work
    • constructor must start the periodic timer
    • impl of addition to map and removal from map and sending to MetVerticle
    • removal; remove, convert to JSON, update size to the value/sum total size and call MV
  • Make a class for the TilesRequest based off the JSON that the MetVerticle uses
    • equals should only check API and User ID. (please check out hashcode )
  • https://vertx.io/docs/vertx-core/java/#_using_the_shareddata_api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant