<html><body><p><tt><font size="2">"openbmc" <openbmc-bounces+hramasub=in.ibm.com@lists.ozlabs.org> wrote on 02/08/2018 09:55:18 AM:<br><br>> From: Rolf Brudeseth <code@brudeseth.name></font></tt><br><tt><font size="2">> To: openbmc@lists.ozlabs.org</font></tt><br><tt><font size="2">> Date: 02/08/2018 10:23 AM</font></tt><br><tt><font size="2">> Subject: Re: Redfish on OpenBMC</font></tt><br><tt><font size="2">> Sent by: "openbmc" <openbmc-bounces+hramasub=in.ibm.com@lists.ozlabs.org></font></tt><br><tt><font size="2">> <br>> 5) Leverage existing open source projects:<br>> - Does the implementation compose existing services and frameworks ?<br>> Such as a webserver(say, nginx) and a rest framework (flask).</font></tt><br><tt><font size="2">> In my testing, flask was a non-starter for performance on low end <br>> systems, and while reasonably performant when measured externally <br>> with response times, it consumed quite a</font></tt><br><tt><font size="2">> bit of system CPU cycles for most tasks. Also, the startup time for <br>> python was suspect, and difficult to improve on without lots of gymnastics.</font></tt><br><tt><font size="2">> Hari>> I haven't evaluated flask and it's good to know the <br>> performance limitations with flask and python. <br>> <br>> regards,<br>> Hari !<br></font></tt><br><tt><font size="2">> Are other language options besides Python an alternative, such as <br>> Golang? It has webserver and template functionality built-in so an <br>> additional framework may not be required.<br>> <br>> It is compiled so it should have better performance than Python. <br>> Cross-compiling to ARM is trivial.<br>> <br>> Rolf<br>There certainly is no precedence for golang based code in OpenBMC yet.<br>But that shouldn't stop us from exploring that. I believe Michael's <br>implementation is golang based as well.</font></tt><br><tt><font size="2">Hari !</font></tt><BR>
</body></html>