This page enumerates potential solutions that could help. These ideas still need to be investigated and explored.
Use Ywasm in the node.js client. This may better map the Ypy implementation.
The HTTP requests handled by Tornado are not concurrent. It may still be worth to try to implement concurrent locking to reject thread-safety issues.