Database connection multiplexing for prepared statements

    公开(公告)号:US11943316B1

    公开(公告)日:2024-03-26

    申请号:US18073889

    申请日:2022-12-02

    CPC classification number: H04L67/5682 G06F16/252

    Abstract: Systems and techniques are disclosed for multiplexing database connections with a database proxy, in association with prepared statements. When a client sends initial messages, via a client connection, that set up a prepared statement with a database, the database proxy stores corresponding prepared statement setup data in state data associated with the client connection. When the client sends subsequent messages via the client connection that invoke the prepared statement, the database proxy selects a database connection to use to forward the subsequent messages to the database. The database proxy uses the stored prepared statement setup data to select a database connection that the database already associates with the prepared statement, or to inject prepared statement setup messages that cause the database to set up the prepared statement with the selected database connection.

Patent Agency Ranking