-
Notifications
You must be signed in to change notification settings - Fork 7
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
148 add token to a graphqlrestgrpcjava query to track queries for a single unit of work #275
Merged
lukashornych
merged 16 commits into
dev
from
148-add-token-to-a-graphqlrestgrpcjava-query-to-track-queries-for-a-single-unit-of-work
Oct 3, 2023
Merged
148 add token to a graphqlrestgrpcjava query to track queries for a single unit of work #275
lukashornych
merged 16 commits into
dev
from
148-add-token-to-a-graphqlrestgrpcjava-query-to-track-queries-for-a-single-unit-of-work
Oct 3, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ies for a single unit of work We want clients to provide a new grouping information - a random token that could be used to group multiple requests with a single unit of work - such as rendering a single page. This unit of work could be tracked in monitoring and used to "debug" the frontstore and evaluate whether the client is using the API correctly. For example, we might discover that a single page is rendering dozens of overlapping queries instead of one or two. We could also track the impact of prefetching and other techniques common in the modern JS world. The database could also track the queries for each unit of work and create e-tags that allow frontstores to securely cache data locally, radically reducing latency and increasing throughput - static but up-to-date e-shops, yay!
…ies for a single unit of work Added schematic integration to EvitaClient.
…taContract and EvitaSessionContract
…to-track-queries-for-a-single-unit-of-work
…to-track-queries-for-a-single-unit-of-work
…to-track-queries-for-a-single-unit-of-work
…to-track-queries-for-a-single-unit-of-work
…nd more complex client ID format
…nd more complex client ID format
…to-track-queries-for-a-single-unit-of-work # Conflicts: # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/CatalogDataApiGraphQLSchemaBuilder.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/CollectionSizeDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/CollectionsDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/GetEntityDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/GetUnknownEntityDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/ListEntitiesDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/ListUnknownEntitiesDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/dataApi/resolver/dataFetcher/QueryEntitiesDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/schemaApi/builder/CatalogSchemaSchemaBuilder.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/schemaApi/builder/EntitySchemaSchemaBuilder.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/schemaApi/resolver/dataFetcher/CatalogSchemaDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/schemaApi/resolver/dataFetcher/EntitySchemaDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/schemaApi/resolver/dataFetcher/ReferenceSchemaEntityTypeNameVariantsDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/catalog/schemaApi/resolver/dataFetcher/ReferenceSchemaGroupTypeNameVariantsDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/resolver/dataFetcher/ReadDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/system/resolver/dataFetcher/CatalogDataFetcher.java # evita_external_api/evita_external_api_graphql/src/main/java/io/evitadb/externalApi/graphql/api/system/resolver/dataFetcher/CatalogsDataFetcher.java
4 tasks
lukashornych
deleted the
148-add-token-to-a-graphqlrestgrpcjava-query-to-track-queries-for-a-single-unit-of-work
branch
October 3, 2023 12:43
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.