woikos
34ab56815e
Add database IPC split mode and blob storage abstraction (v0.53.0)
...
Major refactoring to support running the database as a separate gRPC service:
- Add gRPC database server (cmd/orly-db/) and launcher (cmd/orly-launcher/)
- Add proto definitions for all database operations (proto/orlydb/v1/)
- Add gRPC client implementing database.Database interface
- Abstract Blossom blob storage into database interface (9 methods)
- Remove BBolt database backend (pkg/bbolt/ deleted)
- Hide Blossom tab in UI when blob storage unavailable
- Update documentation for new architecture
Database backends: badger (default), neo4j, wasmdb, grpc
Files modified:
- cmd/orly-db/: New gRPC database server
- cmd/orly-launcher/: Process supervisor for split mode
- proto/orlydb/v1/: Protocol buffer definitions
- pkg/database/grpc/: gRPC client implementation
- pkg/database/blob.go: Badger blob storage implementation
- pkg/database/interface.go: Added blob storage methods
- pkg/database/types.go: Added BlobMetadata, BlobDescriptor types
- pkg/database/factory.go: Removed BBolt, added gRPC backend
- pkg/neo4j/blob.go: Blob storage stubs
- pkg/wasmdb/blob.go: Blob storage stubs
- pkg/blossom/: Refactored to use database.Database interface
- app/config/config.go: Removed BBolt config, added gRPC settings
- CLAUDE.md: Updated documentation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4 months ago
mleku
59247400dc
Remove Dgraph support from the codebase.
...
Dgraph-related functionality, configuration, and benchmarks have been removed from the project. This streamlines the codebase to focus on supported backends, specifically eliminating Dgraph references in favor of Neo4j and other implementations. Version bumped to reflect the changes.
6 months ago