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

[gateway] Sync service is memory and CPU consuming #504

Closed
brasseld opened this Issue Mar 21, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@brasseld
Member

brasseld commented Mar 21, 2017

Each time the gateway is looking for API updates, the sync service is loading:

  1. all apis
  2. all events for each apis (including picture payload)

This process must be improved by:

  1. Removing the picture field from the event payload
  2. Rewriting the sync algorithm:
    1. Get all APIs
    2. For each API, check if it is associating to the gateway (thanks to deployment tags)
    3. Get last event by API (since the last refresh or since the beginning for the first check)
    4. Do action according to the event

@brasseld brasseld added this to the 1.5.0 milestone Mar 21, 2017

@brasseld brasseld self-assigned this Mar 21, 2017

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue Mar 21, 2017

brasseld added a commit to gravitee-io/release that referenced this issue Mar 21, 2017

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Mar 21, 2017

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Mar 21, 2017

NicolasGeraud added a commit to gravitee-io/release that referenced this issue Mar 28, 2017

NicolasGeraud added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Mar 30, 2017

NicolasGeraud added a commit to gravitee-io/gravitee-gateway that referenced this issue Mar 30, 2017

NicolasGeraud added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Mar 31, 2017

NicolasGeraud added a commit to gravitee-io/gravitee-gateway that referenced this issue Mar 31, 2017

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