November 2022 Summaries
7 posts from Convex
Filter
Month:
Year:
Post Summaries
Back to Blog
The text discusses strategies for managing request flows in reactive applications to maintain responsive user interfaces and prevent resource wastage, focusing on the concept of "single flighting." Unlike throttling, debouncing, and rate limiting, single flighting ensures that only one request is processed at a time, adapting to server load and network speed, thereby providing natural back pressure. This technique is implemented in React using the Convex backend, featuring hooks like `useLatestValue` and `useSingleFlight` that optimize request handling without overwhelming the server. The article emphasizes the importance of balancing request frequency and system performance, while also considering scenarios like optimistic updates and the potential for missing intermediate data, particularly in applications that involve tracking changes over time.
Nov 30, 2022
2,595 words in the original blog post.
Convex 0.5.0 introduces built-in support for actions, which are arbitrary lambda functions running in a Node.js environment on the Convex cloud, differentiating them from Convex mutation and query functions that focus on deterministic, side-effect-free operations. While Convex's core consists of a custom-built, scalable database, it aims to transcend traditional backend engineering by offering a streamlined platform where developers prioritize application code over infrastructure concerns. This integration of actions with queries, mutations, subscriptions, and reactivity eliminates the need for additional glue code or data synchronization, promising a seamless experience for building full-stack AI projects. Convex's holistic approach contrasts with the complex array of tools in the Infrastructure-as-a-Service landscape by providing a cohesive solution that supports cloud functions, database management, file storage, scheduling, workflow, vector search, and real-time updates, designed to scale efficiently and reduce infrastructure overhead.
Nov 28, 2022
367 words in the original blog post.
At the Jamstack Conf 2022, James Cowling discussed the future of databases, highlighting Convex as a comprehensive backend platform designed for building full-stack AI projects. Convex offers a suite of integrated tools including cloud functions, a database, file storage, scheduling, workflow, vector search, and real-time updates, all of which are designed to work together seamlessly. This platform enables rapid project development with the capability to scale indefinitely, providing a robust foundation for developers to build and manage sophisticated applications efficiently.
Nov 23, 2022
51 words in the original blog post.
The text discusses the concept of feature flags, also known as feature gates or kill switches, which allow developers to enable or disable features in an application without redeploying the code. Using Convex, a backend-as-a-service, developers can implement feature flags by writing reactive queries and transactional mutations in TypeScript, enabling features to be toggled remotely. This approach provides benefits such as caching, which optimizes database performance by automatically invalidating when flag values change. The text also highlights the importance of discipline in managing feature flags to avoid code complexity and suggests using off-the-shelf solutions like LaunchDarkly for advanced functionalities, including user segmentation, metrics, and UI management tools. The example provided demonstrates how to implement a feature flag for an interactive chat on a webpage, illustrating the use of server-side queries and client-side hooks to manage and update feature states efficiently.
Nov 21, 2022
1,628 words in the original blog post.
The serverless revolution, driven by platforms such as Netlify and Vercel, has significantly changed how developers build applications by removing the need for traditional infrastructure management and allowing them to focus on product development. This shift has enabled developers to deploy scalable applications with ease but still leaves one major challenge: managing distributed state and end-to-end data management, which remains complex and requires substantial backend engineering. Convex emerges as a solution, offering a backend platform that simplifies managing persistent state by automatically updating browser components and tracking changes to backend data using simple queries in JavaScript or TypeScript. Convex aims to complete the serverless vision by providing a seamless integration of cloud functions, databases, and real-time updates, making data management as effortless as other aspects of serverless development.
Nov 18, 2022
1,500 words in the original blog post.
James Cowling discusses the future of databases as platforms that extend beyond traditional storage to manage persistent state across application surfaces, using the example of an online store built on Convex. This approach emphasizes the importance of maintaining consistent, dynamic states across various components and users, ensuring actions like adding items to a cart are reflected instantaneously and consistently for all users. Convex simplifies this complex task by requiring only two simple queries written in JavaScript or TypeScript, automatically managing backend data changes and updating browser components consistently via websockets. The platform is presented as a comprehensive backend-as-a-service solution that effectively handles the challenges of managing persistent state, suggesting that businesses may benefit more from such a platform than from a traditional database. Convex offers a seamless integration of cloud functions, databases, file storage, and other features necessary for building scalable full-stack AI projects.
Nov 11, 2022
773 words in the original blog post.
Jamie Turner, CEO of Convex, discusses the evolving landscape of streaming data and its impact on application development, highlighting concerns with "the edge" and Convex's distinctive approach to caching and materialized views. Convex is presented as a comprehensive backend platform designed to support full-stack AI projects with features such as cloud functions, a database, file storage, scheduling, workflow management, vector search, and real-time updates, all integrated seamlessly to enable rapid development and scalability.
Nov 09, 2022
90 words in the original blog post.