bruchim
GraphQL Live Query, How To?
I've found some [1] [2] [3], but they're either archived or not ready for production.
I want to register from my clients (frontend app) for specific (can be complex) queries and get updates on changes.
[1] https://github.com/n1ru4l/graphql-live-query [2] https://www.graphile.org/postgraphile/live-queries/ [3]https://grafbase.com/blog/simplify-building-realtime-applica...
Ask HN: Reactive and LocalFirst GraphQL Platform?
What is the best platform for achieving offline-first & reactive UI with graphql?I'm familiar with graphql "subscribe" functionality, but I'm talking about a robust platform to manage connections on a big scale, handling first snapshots, update queues, etc.I'm looking for something similar to what Tuomas described in his talk about linear sync:...
Ask HN: Local First with GraphQL?
Imaging subscribing to SQL query not just for a table; isn't it very complicated?
Electric-SQL, Convex, and Triplit are definitely relevant, and I'll dive deep into understanding their pros and cons. In the meantime, I found another relevant one: https://squid.cloud/, which has a slightly different approach, more like full BAAS.
On one end, it can save me some time; on another, it's another stack my R&D needs to be familiar with.
It indeed solves half of the problem, but managing websockets for thousands of users is not that trivial IMO
Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
I'm exploring ways to make my frontend applications reactive to database changes without overloading the backend.- Traditional methods like polling are resource-intensive and rerun entire queries, which isn't efficient. - Iām familiar with some libraries and companies are doing this by building materialized views close to the DB [1][2], but I want to update the frontend, not just the backend. -...
I'm basically looking for more perspective of other teams, if they are feeling the same after migrating to graphQL (the same query in simple node + SQL ORM took half of the time), and if there is something that helped them solve these problems.
e.g. caching graphql is not as easy as caching GET API, something that I didn't know before.
My general feeling is that for the average developer, graphql can lead to some serious performance issues, and I wonder if it's just my experience or we are doing something wrong.
Ask HN: GraphQL Performance Issues, Am I the Only One?
We've recently made the leap to GraphQL for our APIs, attracted by its promise of more efficient and flexible data retrieval. The initial transition was smooth, and the benefits were immediately apparent. But, we've since hit a bit of a snag concerning performance.We already implemented some of the recommended practices, like data loaders and simple expiration-based caching, but we're still in...
Regarding your second comment, while it's true that all the solutions you mentioned allow you to deploy a DB, they are offering between 5-10 locations around the world, compared to 100+ locations of Edge solutions.
Anyway, that's not the main point. I still don't think it's the right way to create read replicas for all your data in all locations. There should be a better way to copy only the relevant data (the data you want to fetch with low latency).
Ask HN: Edge Computing, a Half-Solved Puzzle?
I've been thinking about the benefits of bringing compute power to the edge, but it seems like there's still something missing. Especially when you have to deal with a centralized database located far away.The idea behind edge computing is to provide faster response times by running logic close to the end user, reducing data travel distance. However, when you involve a database, this advantage...