robocin / ssl-core

MIT License
11 stars 0 forks source link

Add MongoDB integration with robocin::ThreadPool #69

Open matheusvtna opened 4 months ago

matheusvtna commented 4 months ago

Describe the feature request.

MongoDB (and also other databases that can be used) needs to be handled asynchronously to avoid interrupting the main flow of a service. The ThreadPool implementation provides a mechanism for managing a pool of work threads that can execute arbitrary tasks simultaneously.

Describe the scenario use case.

Every time a service would have to manage its database, it should use a ThreadPool instance to manage workers to handle database access asynchronously.