Refactor: TypeScript Engine – Production-Ready SnailDB Core#1
Merged
cyberkutti-iedc merged 13 commits intomainfrom Nov 28, 2025
Merged
Refactor: TypeScript Engine – Production-Ready SnailDB Core#1cyberkutti-iedc merged 13 commits intomainfrom
cyberkutti-iedc merged 13 commits intomainfrom
Conversation
- Added ReplicationManager class to handle master-slave replication and clustering. - Included methods for adding and removing slaves, initializing replication, and getting slave count. feat: Create SNAILDB server with core functionalities - Developed SnailDBServer class to manage server operations, client connections, and command execution. - Implemented features such as authentication, command handling, and monitoring. - Integrated persistence and memory management for efficient data handling. feat: Build production-grade storage engine with persistence - Introduced StorageEngine class for in-memory data storage with support for persistence, WAL, and recovery. - Implemented data types, eviction policies, and memory management strategies. feat: Add vector index for AI/LLM embeddings - Created VectorIndex class implementing HNSW for fast similarity search. - Included methods for inserting, searching, and deleting vectors, along with distance calculations.
- Created EXAMPLES.md with real-world usage scenarios including AI-powered search, e-commerce recommendations, LLM conversation memory, real-time analytics, session management, rate limiting, caching, and job queue implementation. - Developed FEATURES.md detailing core features, performance capabilities, security measures, deployment options, client support, and advanced features. - Established INSTALLATION.md for installation and setup instructions, including system requirements and various installation methods (source, npm, Docker, Kubernetes). - Introduced QUICKSTART.md for a rapid setup guide to get SNAILDB running in under 5 minutes. - Configured Jest testing framework with jest.config.js and added integration tests in snaildb.test.ts to validate core functionality. - Updated tsconfig.tests.json for TypeScript configuration in tests.
…e dthe gitirgone file add the dtaa fodler
…erver availability check
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 merges the complete TypeScript engine refactor into the main branch, transforming SnailDB into a fully production-ready, self-hosted, AI-optimized database. All legacy code and external dependencies have been removed, and the project is now entirely TypeScript-based.
Key Changes:
Benefits:
Next Steps:
Linked Issues / PRs:
Closes #N/A (or link relevant issues if any)