Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dac885f3
Commit
dac885f3
authored
Feb 05, 2021
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 8 suggestion(s) to 1 file(s)
parent
51d19607
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
doc/architecture/blueprints/graphql_api/index.md
doc/architecture/blueprints/graphql_api/index.md
+8
-8
No files found.
doc/architecture/blueprints/graphql_api/index.md
View file @
dac885f3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
stage
:
none
stage
:
none
group
:
unassigned
group
:
unassigned
comments
:
false
comments
:
false
description
:
'
Gra
hp
QL
API
architecture
foundation'
description
:
'
Gra
ph
QL
API
architecture
foundation'
---
---
# GraphQL API
# GraphQL API
...
@@ -31,17 +31,17 @@ Most of the work around the GraphQL ecosystem has been done by volunteers that a
...
@@ -31,17 +31,17 @@ Most of the work around the GraphQL ecosystem has been done by volunteers that a
The
[
retrospective on our progress
](
https://gitlab.com/gitlab-org/gitlab/-/issues/235659
)
The
[
retrospective on our progress
](
https://gitlab.com/gitlab-org/gitlab/-/issues/235659
)
surfaced a few opportunities to streamline our GraphQL development efforts and
surfaced a few opportunities to streamline our GraphQL development efforts and
to reduce the risk of performance degradations and possib
i
le outages that may
to reduce the risk of performance degradations and possible outages that may
be related to the gaps in the essential mechanisms needed to make the GraphQL
be related to the gaps in the essential mechanisms needed to make the GraphQL
API observable and operable at scale.
API observable and operable at scale.
Amongst small improvement to the GraphQL engine itself we want to build a
Amongst small improvement
s
to the GraphQL engine itself we want to build a
comprehensive monitoring dashboard, that will enable team members to make sense
comprehensive monitoring dashboard, that will enable team members to make sense
of what is happening inside our GraphQL API. We want to make it possible to define
of what is happening inside our GraphQL API. We want to make it possible to define
SLOs, triage breached SLIs and to be able to zoom into relevant details using
SLOs, triage breached SLIs and to be able to zoom into relevant details using
Grafana and Elastic. We want to see historical data and predict future usage.
Grafana and Elastic. We want to see historical data and predict future usage.
It is an opporunity to learn from our experience in evolving the REST API, for
It is an oppor
t
unity to learn from our experience in evolving the REST API, for
the scale, and to apply this knowledge onto the GraphQL development efforts. We
the scale, and to apply this knowledge onto the GraphQL development efforts. We
can do that by building query-to-feature correlation mechanisms, adding
can do that by building query-to-feature correlation mechanisms, adding
scalable state synchronization support and aligning GraphQL with other
scalable state synchronization support and aligning GraphQL with other
...
@@ -91,7 +91,7 @@ APIs is considered unnecessary. Instead of versioning the API we want to mark
...
@@ -91,7 +91,7 @@ APIs is considered unnecessary. Instead of versioning the API we want to mark
some fields as deprecated, but we need to have a way to understand what is the
some fields as deprecated, but we need to have a way to understand what is the
usage of deprecated fields, types and a way to visualize it in a way that is
usage of deprecated fields, types and a way to visualize it in a way that is
easy to understand. We might want to detect usage of deprecated fields and
easy to understand. We might want to detect usage of deprecated fields and
notify users
about
that we plan to remove them.
notify users that we plan to remove them.
-
Define a data-informed deprecation policy that will serve our users better
-
Define a data-informed deprecation policy that will serve our users better
-
Build a dashboard showing usage frequency of deprecated GraphQL fields
-
Build a dashboard showing usage frequency of deprecated GraphQL fields
...
@@ -99,15 +99,15 @@ notify users about that we plan to remove them.
...
@@ -99,15 +99,15 @@ notify users about that we plan to remove them.
### Ensure consistency with the rest of the codebase
### Ensure consistency with the rest of the codebase
GraphQL is not the only thing we work on, but it cuts across entire
GraphQL is not the only thing we work on, but it cuts across
the
entire
application. It is being used to expose data collected and processed in almost
application. It is being used to expose data collected and processed in almost
every part of our product. It makes it tighly coupled with our monolithic
every part of our product. It makes it tigh
t
ly coupled with our monolithic
codebase.
codebase.
We need to ensure that how we use GraphQL is consistent with other mechanisms
We need to ensure that how we use GraphQL is consistent with other mechanisms
we've designed to improve performance and reliability of GitLab.
we've designed to improve performance and reliability of GitLab.
We have
an extensive experience with evolving out
REST API. We want to apply
We have
extensive experience with evolving our
REST API. We want to apply
this knowledge onto GraphQL and make it performant and secure by default.
this knowledge onto GraphQL and make it performant and secure by default.
-
Design direct uploads for GraphQL
-
Design direct uploads for GraphQL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment