RE: TheBrain hanging during API calls #100630
https://thebrain.zendesk.com/agent/tickets/100630
Hello Michael,
Thank you for sending the updated link.
The team reviewed the information and it does appear that the request rate may have been a contributing factor. When thoughts are created programmatically, TheBrain still needs to write them to the database, update the index, and refresh the UI. If new requests arrive faster than those operations can be completed, the application can start to fall behind and become less responsive.
The recommended approach for now would be to throttle the requests somewhat. The exact rate will depend on the hardware and how quickly TheBrain can process the workload on that machine.
That said, we do think there may be opportunities for improvement here, so we've kept note of the behavior as well.
Best regards,
John