Who's using gqlgen in production? #1864
Replies: 78 comments
-
not yet in production... 😿 |
Beta Was this translation helpful? Give feedback.
-
Using with the flutter graphql client.
Not in production yet but getting there
…On Tue, 7 Aug 2018, 10:03 Masahiro Wakame, ***@***.***> wrote:
not yet in production... 😿
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#268 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATuCwjUrr_SkuWxPxz-xCYub7976wJMGks5uOUm_gaJpZM4Vxbuv>
.
|
Beta Was this translation helpful? Give feedback.
-
Soon ~10 days |
Beta Was this translation helpful? Give feedback.
-
Running in production with one internal application for about 3 months now. User base 10-15. |
Beta Was this translation helpful? Give feedback.
-
Render is using it for everything in production and internal tooling. We love it. |
Beta Was this translation helpful? Give feedback.
-
Is anyone using the subscriptions in production? |
Beta Was this translation helpful? Give feedback.
-
We are close to deploying at least 3-4 of our core services at Sky Bet using gqlgen. |
Beta Was this translation helpful? Give feedback.
-
We are using for our news app newsdigest's backend API for two months! For our use case, performance is very very very important, and gqlgen is awesome for that. :) I compared with other GraphQL libraries and choosed it. |
Beta Was this translation helpful? Give feedback.
-
@yamitzky how big is the performance jump in this versus gophers (a guesstimate is gucci). I know that the other libraries aren't that performant. |
Beta Was this translation helpful? Give feedback.
-
Neighborly is starting to move one of our production applications to gqlgen |
Beta Was this translation helpful? Give feedback.
-
After testing out gqglen and some other libraries we will use it in one of the next projects. |
Beta Was this translation helpful? Give feedback.
-
I use gqlgen almost daily. It is the foundation of how we build our GraphQL implementations, of which there are many. We write medical practice-management and automation software. gqlgen is deployed in linux containers, Windows desktop and service applications, as well as on Raspberry Pis! Thank you so much for an excellent package! It has helped lay the foundation for most of our software development today! |
Beta Was this translation helpful? Give feedback.
-
Yessir, we are! Our implementation is primitive, and our subscriptions are limited by it. Here's a simple example of some resolvers that might help you out. I haven't run this at all, but have copied some code from another project. No promises that it works as-is! // Subscriptions stores active subscriptions. The index of the top-level map is either a Task ID, or the string "*". The second-level map stores an active subscription with a unique ID.
var Subscriptions = map[string]map[string]chan *models.Task
const SUB_ALL = "*"
func (r subscriptionResolver) TaskCompleted(ctx context.Context, id *string) (*models.Task, error) {
subId := uuid.Must(uuid.NewV4()).String()
c := make(chan *models.Charge, 1)
if id == nil {
id = &SUB_ALL
}
go func() {
<-ctx.Done()
delete(subs[id], subId)
}()
if subs[id] == nil {
subs[id] = make(map[string]chan *models.Task, 0)
}
subs[id][subId] = c
return c, nil
}
func (r mutationResolver) CompleteTask(ctx context.Context, id string) (*models.Task, error) {
t := &models.Task{}
// persist your task
// Publish to filtered subscriptions
for _, c := range Subscriptions[id] {
c <- t
}
// Publish to non-filtered subscriptions
for _, c := range Subscriptions[SUB_ALL] {
c <- t
}
return t, nil
} One thing we need to improve on is my eventing. With a proper event bus, subscription "filters" could be vastly more complex; not to mention all of the other benefits of an event-based system. |
Beta Was this translation helpful? Give feedback.
-
git-bug is not fully ready ready but does use gqlgen to bind the web UI with the backend. |
Beta Was this translation helpful? Give feedback.
-
I'm not a company, but I use it for the backend of my blog, writing.natwelch.com. |
Beta Was this translation helpful? Give feedback.
-
Mongodb is using it in production to power our graphql api for our internal CI tool. |
Beta Was this translation helpful? Give feedback.
-
We used gqlgen to build https://github.com/upbound/xgql at @upbound, and are using it in production as of last week. xgql is a GraphQL API for @crossplaneio (and thus by extension @kubernetes). We have a somewhat novel model in that we deploy hundreds of xgqls as sort of 'sidecars' to Crossplane deployments in Kubernetes clusters, then use another layer of GraphQL (currently Apollo based) to stitch them all together into a SaaS app. |
Beta Was this translation helpful? Give feedback.
-
I am maintaining this api starter project based on gqlgen that I use on a personal and client projects. A query would look like:
You can see the parsing of the query params into sql here |
Beta Was this translation helpful? Give feedback.
-
I’ve shared the repo at: https://github.com/diep-it-dn/fullstack-go-angular |
Beta Was this translation helpful? Give feedback.
-
@vektah Khan Academy currently has 91.1% of its requests being served via Go (and the majority of those uses gqlgen). For some sense of scale, last year millions of people spent 8.7 BILLION minutes actively learning on Khan Academy. I did a high level talk about our transition from Python to Go and gqlgen is what made it all possible. We are very grateful to the contributors to this wonderful repository! ❤️ That said, if a maintainer gets a chance to review our pull request for resolving requests for federation entities in parallel we would be even more thrilled. 😏 |
Beta Was this translation helpful? Give feedback.
-
We are using at Foyernet!!! |
Beta Was this translation helpful? Give feedback.
-
We are using gqlgen at www.everphone.com |
Beta Was this translation helpful? Give feedback.
-
Nice one @warent. I'd love to see a some kind of comparison between sqlc/gqlgen vs ent/gqlgen - both popular choices |
Beta Was this translation helpful? Give feedback.
-
Look at how Skim built Authentication and Authorization with gqlgen, a blog post by @janeadsouza: |
Beta Was this translation helpful? Give feedback.
-
@StevenACoffman can we pin this issue? Or should we use "Discussions" for this? |
Beta Was this translation helpful? Give feedback.
-
I think a discussion is probably good, right? |
Beta Was this translation helpful? Give feedback.
-
I use it for everything on production and internal tools. I love that !! |
Beta Was this translation helpful? Give feedback.
-
LitmusChaos, A CNCF incubation project, We are using GQLGen (v0.11.3) for the last 2 years. Great tool ❤️ |
Beta Was this translation helpful? Give feedback.
-
We've faced similar challenges at Ledger Labs when integrating GraphQL with Go, particularly with time handling. A solution that worked for us was defining custom scalar types in the GraphQL schema for time.Time. This allowed us to manage different time formats more effectively. Additionally, using middleware for time serialization and deserialization helped maintain consistency across our applications. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
At work we use gqlgen for 6 years now, works great. |
Beta Was this translation helpful? Give feedback.
-
We are preparing a blog post and would like to get a feel for who is currently using gqlgen?
Might as well go first; 99designs has been running gqlgen for several months now.
Beta Was this translation helpful? Give feedback.
All reactions