Skip to content

QuantaDB Frequently Asked Questions

Tushar Nikam edited this page May 24, 2025 · 1 revision

Implementation Status

Implemented Features

Q: Is QuantaDB compatible with pure Dart projects?
A: Yes! While QuantaDB uses Flutter's path_provider for secure storage locations, it's fully compatible with pure Dart projects. The Flutter dependency is optional and can be removed for server-side use.

Q: Do the performance benchmarks include disk I/O operations?
A: Yes, all benchmark statistics include disk I/O operations, including MemTable flushes and SSTable compactions. This gives you a realistic picture of real-world performance.

Q: Does QuantaDB support multi-isolate operations?
A: Yes! QuantaDB is designed with multi-isolate support, featuring:

  • Thread-safe architecture with proper synchronization
  • Isolate workers for background operations
  • Proper locking mechanisms
  • Transaction isolation levels
  • Background workers for compaction and query processing

Q: What query capabilities are currently available?
A: The current query system supports:

  • Predicates (filtering)
  • Sorting
  • Pagination
  • Basic aggregations
  • Type-safe query interface

Q: Does QuantaDB support transactions?
A: Yes! QuantaDB implements ACID-compliant transactions with:

  • Atomic operations
  • Commit and rollback functionality
  • Proper isolation levels
  • Error handling and recovery

In Development (Roadmap)

Q: What advanced query features are planned?
A: We're working on:

  • Full-text search capabilities
  • Geospatial queries
  • Complex query optimization
  • Advanced indexing strategies
  • Query caching

Q: When will Flutter web support be available?
A: Flutter web support is planned for v0.3.0, featuring:

  • IndexedDB integration
  • Web-specific optimizations
  • Cross-platform data synchronization
  • Web-specific security features

Q: What cloud synchronization features are coming?
A: We're developing:

  • Google Cloud sync integration
  • Real-time sync capabilities
  • Conflict resolution
  • Offline-first support
  • Multi-device synchronization

Future Considerations

Q: Will QuantaDB support GraphQL?
A: While not currently in the roadmap, we're open to community feedback about GraphQL integration. This would involve:

  • GraphQL schema generation
  • Query optimization
  • Real-time subscriptions
  • Schema validation

Q: Are there plans for a GUI management tool?
A: This is not currently planned but could be valuable for:

  • Database inspection
  • Query building
  • Performance monitoring
  • Data visualization

Q: Will there be support for custom encryption algorithms?
A: While basic encryption is implemented, we're considering:

  • Custom encryption algorithm support
  • Hardware-accelerated encryption
  • Key rotation mechanisms
  • Encryption at rest

🔍 Technical Questions

Q: How does QuantaDB handle large datasets?
A: QuantaDB uses an LSM-Tree architecture that:

  • Efficiently manages memory and disk usage
  • Implements automatic compaction
  • Uses bloom filters for fast lookups
  • Supports background operations

Q: What's the backup and recovery strategy?
A: Current features include:

  • Automatic data persistence
  • Transaction logging
  • Basic export/import capabilities
  • Future plans for:
    • Point-in-time recovery
    • Incremental backups
    • Automated backup scheduling

Q: How does QuantaDB ensure data consistency?
A: Through multiple mechanisms:

  • ACID transactions
  • Write-ahead logging
  • Atomic operations
  • Proper isolation levels
  • Background consistency checks

Development Questions

Q: How can I contribute to QuantaDB?
A: We welcome contributions through:

  • Code contributions
  • Documentation improvements
  • Bug reports
  • Feature suggestions
  • Performance optimizations
  • Testing and benchmarking

Q: What's the testing strategy?
A: We maintain:

  • Unit tests
  • Integration tests
  • Performance benchmarks
  • Cross-platform testing
  • Future plans for:
    • Fuzzing tests
    • Stress testing
    • Chaos testing

Performance Questions

Q: How does QuantaDB compare to other databases?
A: QuantaDB shows competitive performance:

  • Faster writes than SQLite and Hive
  • Comparable read performance
  • Efficient memory usage
  • Optimized for mobile devices
  • Future optimizations planned for:
    • Large dataset handling
    • Concurrent operations
    • Memory management

Security Questions

Q: What security features are implemented?
A: Current features include:

  • Basic encryption
  • Secure storage locations
  • Access control lists
  • Data validation
  • Future plans for:
    • Advanced encryption
    • Audit logging
    • Access control
    • Security hardening

Note: This FAQ is regularly updated. Last updated: [24 May 2025]