Skip to content

Connection & thread pool for async functions #12

Description

@morsisko

As far as I see, there is only one connection and one thread that send/wait for queries, it's probably done there:
https://github.com/liancheng/amy/blob/master/include/amy/impl/mysql_service.ipp#L89
What about resp a custom number of connections and threads on start of program? Then amy could pick free one from the pool and use them. It's extremaly useful when you are handling multiple request in your program, that can not be send like "multi query", for example user login.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions