Skip to main content

Performance Considerations

MiftahDB is designed for high performance:

  1. Synchronous API reduces overhead and improves concurrency
  2. Optimized SQLite settings for improved performance
  3. In-memory database option for maximum speed

Tips

For best performance, consider the following tips:

  • Use in-memory databases for temporary or cache-like data
  • Regularly run the cleanup() and vacuum() methods to optimize the database