Makes sense.
It's ok exchanging a json, but it's also important to provide a schema for
input validation in those cases.
Yes, you'll have to maintain the schema, but safer is better than sorry.
Two questions:
 1. which is the model that you want to serialize?  I don't see a clear
speration of concern between rpc rest call.
2. And also can you provide the tests for minimal experimentation?
Best Regards,
Giorgio
P.S when we'll feel the need of speed, PyO3 + Rust is the way to go or also
without going native, asyncio+uvloop.
in my recent REST service tests, the latency became comparable to Go.

Reply via email to