3 ms·
> The easiest way is to run a Python HTTP server, but the memory usage is too high. We need a more lightweight solution, so I used xmlrpc for memory efficiency
by michaelmior 2y ago
> The easiest way is to run a Python HTTP server, but the memory usage is too high. We need a more lightweight solution, so I used xmlrpc for memory efficiency
Doesn't XML-RPC operate over HTTP?
- arctanx 2y agoIt does, but I used Flask previously for comparison, so I came to that conclusion.
- michaelmior 2y agoIt seems like you've already proved your conclusion false though if you ended up using an HTTP server anyway. The conclusion seems to be that Flask wasn't suitable for the task.
- arctanx 2y agoYou are right, the conclusion should be revised to: "I ended up using an HTTP server anyway, but I choosed the more efficient one", because Flask's http server is for testing only. Sorry for the unclear. I think using a Unix Socket could be more efficient but I don't want to be over-engineering :)