April 2022 Summaries
4 posts from Wundergraph
Filter
Month:
Year:
Post Summaries
Back to Blog
GraphQL Subscriptions are a powerful feature in GraphQL that allow clients to receive updates in real-time. However, implementing them over WebSockets is not ideal due to several problems such as statefulness, security issues, bidirectional communication, and usability problems with Server-Side Rendering (SSR).
We've chosen SSE/Fetch to implement GraphQL Subscriptions instead, which offers a modern, easy-to-use API that's performant, secure, and allows for SSR. The SSE/Fetch approach is stateless, disallows the client from sending arbitrary data, can be easily secured with the Token Handler Pattern, and supports HTTP/2. It also enables simple implementation of SSR for GraphQL Subscriptions. With 93.76% of all browsers supporting HTTP/2, 94.65% supporting SSE, and 93.62% supporting Fetch, it's time to migrate from WebSockets to SSE/Fetch for GraphQL Subscriptions.
Apr 27, 2022
2,667 words in the original blog post.
WunderGraph has partnered with Oracle Cloud to provide developers with a faster and more secure way to build and deploy microservices, APIs, and cloud-native applications. The partnership enables 90% faster integrations using GraphQL, automating most integration tasks and providing an unparalleled developer experience. WunderGraph acts as a backend for frontend applications, handling security, authentication, caching, and state management. Oracle Cloud Infrastructure provides the necessary services to migrate, build, and run IT workloads, including cloud-native applications and data platforms. Hosting a WunderGraph application on Oracle Cloud is extremely easy, requiring only 10 minutes of setup and access to an Oracle Cloud account, Docker Hub, and Oracle CLI. The partnership aims to provide developers with a better developer experience for working with APIs.
Apr 21, 2022
1,119 words in the original blog post.
Designing APIs for long-running operations is crucial to providing a good user experience, especially when dealing with synchronous or asynchronous API workflows. GraphQL and REST are two popular approaches that can be used to design such APIs. While both have their strengths and weaknesses, GraphQL offers more explicit schema definitions and type safety, but also comes with the added complexity of WebSockets for subscriptions. On the other hand, REST APIs can leverage hypermedia controls, making it easier to implement asynchronous APIs without forcing clients to poll the server. However, this approach requires good API governance and tooling. Ultimately, the choice between GraphQL and REST depends on the specific needs of the project, the target audience, and the desired level of complexity. Good API design and user feedback are more important than choosing a particular technology stack.
Apr 20, 2022
2,378 words in the original blog post.
We're hiring! We're looking for Golang (Go) Developers, DevOps Engineers and Solution Architects who want to help shape the future of Microservices, distributed systems, and APIs. WunderGraph is building the next generation of API and Microservices infrastructure, with a customer base ranging from small startups to well-known enterprises. A new partnership with Cloud IAM has been announced, offering a fully managed Keycloak solution for developers. This integration allows users to build Keycloak authentication into their application with ease, automating setup, running, and scaling of Keycloak clusters. WunderGraph provides a unified Virtual Graph that automates 90% of integration tasks, providing an unparalleled developer experience. With this integration, developers can integrate Cloud IAM in under 10 minutes, using the quick start chat application as a demo. To get started, set up your Cloud IAM account, create a new deployment, and add your WunderGraph Client, configuring settings such as access type and redirect URI. After that, declare Cloud IAM as the login provider to authenticate users, adding the necessary configuration to the wundergraph.config.ts file. The client is then generated by WunderGraph, providing user information from Cloud IAM and a seamless login flow. With this integration, developers can start using Keycloak with Cloud IAM and WunderGraph today, sharing their projects on our Community Discord Channel and taking advantage of dedicated support from our team.
Apr 18, 2022
859 words in the original blog post.