Will the event loop will be Blocked when sending large data as json in json_message?

I am sending large amount of database result as json data using json_message in dispatcher. It seems it is blocking the event loop. All the concurrent conversations are running synchronously after this action.

Is this the case?

How to resolve this?

Please help me with this.

Thank you

How large? Don’t send it via the json_message. Instead, store it in a block store like s3 and include the link to the block store object in json_message.

Thank you, will try that. I am using rasa webchat and socket.io channel. I have many custom actions to fill in the form. My bot seems to be running synchronously. if one user chats with the bot. another user have to wait for first one complete then he gets the response. how to make it asynchronous. I am using async for all the custom actions. Or is there any way to scale the rasa and action server with socket.io channel.