Implement GraphQL comparison: PostgreSQL+Hasura vs Doublets+GQL#10
Open
Implement GraphQL comparison: PostgreSQL+Hasura vs Doublets+GQL#10
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #1
- Add comprehensive GraphQL schema covering all benchmark operations - Set up PostgreSQL+Hasura with Docker Compose and metadata configuration - Set up Doublets GraphQL server with Docker setup - Implement k6 load testing scripts for both GraphQL endpoints - Add visualization and results processing similar to existing benchmarks - Create GitHub Actions workflow for automated benchmarking - Add local benchmark runner script for development - Update README with GraphQL benchmark results section Addresses issue #1 for GraphQL-based performance comparison. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Summary
This PR implements the first version of GraphQL comparison between PostgreSQL+Hasura and Doublets+GQL, as requested in issue #1.
📋 Implementation Details
✅ Core Components
🔄 GraphQL Operations Benchmarked
Based on the existing benchmark operations, implements GraphQL equivalents:
Mutations (Write Operations):
createPointLink- Creates point links (id = source = target)createLink- Creates regular linksupdateLink- Updates existing linksdeleteLink- Deletes links by IDQueries (Read Operations):
allLinks- Get all links ([*, *, *]constraint)linkById- Get by ID ([id, *, *]constraint)concreteLinks- Get by source+target ([*, source, target]constraint)outgoingLinks- Get outgoing ([*, source, *]constraint)incomingLinks- Get incoming ([*, *, target]constraint)🚀 Usage
Local Development:
GitHub Actions:
Automatically runs on push/PR and publishes results to
gh-pagesbranch.📊 Results
The implementation generates:
🔧 Technical Details
🎁 Closes
Fixes #1
🤖 Generated with Claude Code