Skip to content

v0.3.0 - Thread-safety, connection pooling, and SSL improvements

Latest

Choose a tag to compare

@Peyochanchan Peyochanchan released this 09 Dec 20:52
· 1 commit to main since this release

Added

  • Thread-safe metrics with Mutex protection for concurrent usage
  • Connection pooling with net-http-persistent (automatic connection reuse)
  • SSL/TLS configuration options: ssl_verify_mode, ssl_ca_file, ssl_ca_path, ssl_timeout
  • Thread-safe logger cache for warn_once method
  • Comprehensive concurrent/async documentation with SolidQueue, Sidekiq, Concurrent Ruby examples
  • 39 new tests for thread-safety, SSL configuration, and connection pooling

Changed

  • HTTP client now uses Net::HTTP::Persistent for better performance
  • Configuration metrics now thread-safe across concurrent requests
  • Documentation reorganized with SolidQueue as recommended background job backend

Performance

  • Connection pooling reduces TCP handshake overhead
  • Thread-safe implementation enables safe concurrent translations
  • Configurable SSL timeout for production environments

Full Changelog: https://github.com/Peyochanchan/mistral_translator/blob/main/CHANGELOG.md

All tests passing: 442 examples, 0 failures