KX Community

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

Home Forums kdb+ .z.W equivalent for input queue

Tagged: 

  • .z.W equivalent for input queue

    Posted by jlucid on October 29, 2024 at 9:36 am

    Would it be technically possible to build the equivalent of .z.W but for input queues? I am currently listening to a websocket feed which is very bursty and I’d like to defer running business logic until a burst of data is processed. If there were a way to check that there are no bytes waiting on the input queue I could use that as a criteria to trigger the business logic.

    Currently I am running the business logic on a tick by tick basis, but in cases where I get a burst of messages, all close together in time, I end up running the business logic on data that isn’t the latest.

    • This discussion was modified 1 month, 3 weeks ago by  jlucid.
    • This discussion was modified 1 month, 3 weeks ago by  jlucid.
    replied 1 month, 3 weeks ago 0 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.