[Boost.Redis] Single Connection Concurrency Inquiry

Samarah Uriarte via Boost-users <[email protected]> Mon, 8 Jan 2024 19:52:40 +0000
Newsgroups gmane.comp.lib.boost.user
Message-ID <MW4PR15MB4522BCF32D91BBDBCDE16C52F46B2@MW4PR15MB4522.namprd15.prod.outlook.com>
Hello,

I am using the Boost Redis library to write to a local Redis server and would like to inquire about how a single connection can handle concurrent calls. I have several C++ classes that have their own Boost.Redis connections, but this is leading to ASIO-related hanging behavior that is difficult to debug. I would like to simplify the design by initializing only one connection that can be used by all of these classes instead. I know the "async_exec" method supports concurrency but I wonder if this might cause any future issues with larger workloads.

Thank you in advance.

Sincerely,
Samarah Uriarte

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users