What is the difference between PostGraphile V4 Core and PostGraphile Pro?
PostGraphile V4 Core is the open-source version, sufficient for many needs, and continues to be maintained. PostGraphile Pro is a commercial plugin that enhances V4 with additional features particularly useful for scaling solutions, protecting the API from expensive queries, and integrating with read replicas. PostGraphile V5 is also open-source and actively developed.
How does PostGraphile handle authentication and authorization?
PostGraphile supports authentication via JWT or custom pgSettings. For authorization, it leverages PostgreSQL's Row-Level Security (RLS) and Role-Based Access Control (RBAC) to provide fine-grained control over data access.
Can PostGraphile be used with read replicas for scaling?
Yes, PostGraphile Pro includes features specifically designed to facilitate scaling via read replicas, optimizing its performance in distributed database environments.
What kind of performance can be expected from PostGraphile?
PostGraphile is designed for high performance, with users reporting 500-1500 requests per second on a single server, making it suitable for demanding applications.
How can I get access to PostGraphile Pro features?
PostGraphile Pro is primarily available as a perk for Graphile sponsors. Businesses can also purchase a standalone license, though sponsorship offers additional benefits like priority support and discounted consultancy.
Does PostGraphile support real-time data updates?
Yes, PostGraphile supports real-time GraphQL capabilities through Subscriptions and Live Queries, allowing clients to receive instant updates as data changes in the database.