KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Concurrent user request issues for sequential processing of processes Re: Concurrent user request issues for sequential processing of processes

  • davidcrossey

    Member
    April 14, 2022 at 12:00 am

    Check out the architecture diagram on Sync requests – KX Platform for an idea of how you could set this up.

    Your Java client can use sync requests with a Gateway (GW) process.

    The GW can then defer the response to the Java client and send the query (async) through a Query Router (QR), thus allowing the GW to handle more client requests.

    Queries then flow on to a Query Process (QP) which completes the actual work, before sending the result back to the GW, and then finally the client.

    Please also see information on Callbacks