[{"data":1,"prerenderedAt":258},["ShallowReactive",2],{"project-13920588":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":45,"post_text":46,"what":47,"said":85,"maker_in_thread":161,"shape":169,"grid":173,"attempts":221,"same_week":222,"maker_shows":249,"maker_hidden":250,"reader_version":251,"card":252},"13920588","FaaS","Serverless functions framework for Docker","title","Show HN: FaaS – Serverless functions framework for Docker","http:\u002F\u002Fgithub.com\u002Falexellis\u002Ffaas","github.com","alexellisuk",1490084621,2017,73,21,609,2242,28,"notable","infrastructure","serverless functions","other",[24,25,26,27,28],"serverless","functions as a service","docker","docker swarm","faas","debated",-0.044,{"positive":32,"neutral":33,"mixed":34,"critical":35},3,5,0,4,12,{"idea":38,"privacy":41,"performance":42,"docs":43,"design":44},{"positive":39,"critical":40},2,1,{"positive":34,"critical":34},{"positive":34,"critical":40},{"positive":34,"critical":40},{"positive":40,"critical":40},[32,40,34,33,34,32,34,32,34,32,33,40,34,34,32,34,40,40,33,34,34],null,{"problem":48,"audience":46,"pricing":46,"motivation":46,"time_to_build":46,"stack":58,"openness":84,"stage":84,"team_size":84},{"value":49,"source":50,"evidence":51},"Running event-driven functions on Docker without managing servers","inferred",[52,55],{"id":53,"by":11,"text":54},"13929155","So I'd like to know more about your usercases - it's something I want to add to the roadmap. Right now this is designed to be facing services making HTTP POSTs aka webhooks and…",{"id":56,"by":11,"text":57},"13931921","One use-case is for acting as an event sink or event bus for webhooks. So integrations with Github, AlertManager, Confluence, Minio - basically anything that generates a webhook…",[59,66,70,76],{"value":60,"source":61,"evidence":62},"Docker","maker",[63],{"id":64,"by":11,"text":65},"13929142","I think we're trying to do related but slightly different things. This is for Kubernetes only, FaaS is built on Swarm features which are baked into Docker. I would think either…",{"value":67,"source":61,"evidence":68},"Docker Swarm",[69],{"id":64,"by":11,"text":65},{"value":71,"source":50,"evidence":72},"Go",[73],{"id":74,"by":11,"text":75},"13939606","The post is handled in the watchdog function which is embedded into each function. https:\u002F\u002Fgithub.com\u002Falexellis\u002Ffaas\u002Fblob\u002Fmaster\u002Fwatchdog\u002Fmain.go All sample functions are using a…",{"value":77,"source":78,"evidence":79},"Prometheus","commenter",[80],{"id":81,"by":82,"text":83},"13929113","vegasbrianc","The Docker FaaS UI and built-in Prometheus metrics is a great way to build a Serverless configuration. Not to mention how easy it is to install and deploy with one command.","unknown",{"praise":86,"objections":95,"requests":114,"questions":130,"alternatives":138},[87,91],{"value":88,"source":78,"evidence":89},"Simple to install and deploy with one command",[90],{"id":81,"by":82,"text":83},{"value":92,"source":78,"evidence":93},"Built-in UI and Prometheus metrics",[94],{"id":81,"by":82,"text":83},[96,107],{"value":97,"source":78,"evidence":98},"Process startup per invocation adds latency",[99,103],{"id":100,"by":101,"text":102},"13929069","rcarmo","I like the simplicity, but have some issues with the stdin\u002Fstdout approach - firing up a new interpreter for every invocation has the potential to become costly in terms of time…",{"id":104,"by":105,"text":106},"13929605","hdhzy","What's interesting is that all other alternatives listed here in comments also use stdin & stdout. Have we returned to CGI?",{"value":108,"source":78,"evidence":109},"Overhead of functions compared with microservices",[110],{"id":111,"by":112,"text":113},"13930034","arekkas","The project and UI looks very cool. But can someone explain to me why FaaS is a good thing? Isn't this just a perversion of microservices with a ton of development, operations,…",[115,124],{"value":116,"source":78,"evidence":117},"Map query parameters and headers to input",[118,121],{"id":119,"by":105,"text":120},"13928792","Wow, I was thinking about building something like that but this looks very good! Is there a way to map query parameters and \u002F or http headers to input JSON? (a la API Gateway).",{"id":122,"by":105,"text":123},"13929550","Sometimes I've got a service that won't send plain JSON but rather some data in query parameters and some in http headers. So it's rather for integration with others. AWS API…",{"value":125,"source":78,"evidence":126},"Example of a function accepting POST",[127],{"id":128,"by":101,"text":129},"13930230","It would be nice to see an example of a function that accepts POST, btw., since that would make it easy to do a long-running function that took advantage of recurring requests to…",[131],{"value":132,"source":78,"evidence":133},"How does it compare to iron functions",[134],{"id":135,"by":136,"text":137},"13928755","hbt","Anyone knows how this compare to iron functions https:\u002F\u002Fgithub.com\u002Firon-io\u002Ffunctions Looks similar. Docker image with entry point but the entry point is a server instead of…",[139,143,147,154],{"value":140,"source":78,"evidence":141},"iron functions",[142],{"id":135,"by":136,"text":137},{"value":144,"source":78,"evidence":145},"hook.io microcule",[146],{"id":135,"by":136,"text":137},{"value":148,"source":78,"evidence":149},"Fission",[150],{"id":151,"by":152,"text":153},"13929061","mankash666","There's also http:\u002F\u002Ffission.io",{"value":155,"source":78,"evidence":156},"AWS Lambda",[157],{"id":158,"by":159,"text":160},"13930869","zdragnar","Kindof. If you look at aws lambda, you get a few more things for the overhead price: namely, integration with other services (Iam, cognito) and no need to worry about whether…",{"comments":162,"answered":40,"key":163},6,[164,165,168],{"id":53,"text":54},{"id":166,"text":167},"13939525","That makes sense, do you have any examples? The input doesn't have to be JSON btw.",{"id":56,"text":57},{"commenters":170,"max_depth":33,"maker_replies":162,"first_comment_mins":171,"lifespan_hours":172},11,1291,107,[174,176,178,180,182,184,185,187,190,191,194,197,199,202,205,207,209,211,215,217,220],[135,34,32,175,136,34],"project\u002Fneutral\u002Fidea",[111,40,40,177,112,34],"project\u002Fcritical\u002Fidea",[158,40,34,179,159,34],"commenter\u002Fneutral\u002Fidea",[119,39,33,181,105,34],"project\u002Fpositive\u002Fidea",[53,39,34,183,11,40],"maker\u002Fneutral\u002Fidea",[122,39,32,175,105,34],[166,39,34,186,11,40],"maker\u002Fneutral\u002Fnone",[188,39,32,175,189,34],"13930716","Kiro",[56,39,34,175,11,40],[192,39,32,193,105,34],"13957146","project\u002Fneutral\u002Fprivacy",[195,32,33,181,196,34],"13928788","isuckatcoding",[100,35,40,198,101,34],"project\u002Fcritical\u002Fperformance",[200,35,34,201,11,40],"13929131","maker\u002Fneutral\u002Fperformance",[203,35,34,204,101,34],"13929914","commenter\u002Fneutral\u002Fperformance",[128,35,32,206,101,34],"project\u002Fneutral\u002Fdocs",[74,35,34,208,11,40],"maker\u002Fneutral\u002Fdocs",[104,35,40,210,105,34],"project\u002Fcritical\u002Fdesign",[212,33,40,213,214,34],"13929567","project\u002Fcritical\u002Fdocs","detaro",[81,162,33,216,82,34],"project\u002Fpositive\u002Fdesign",[151,218,34,219,152,34],7,"other\u002Fneutral\u002Fnone",[64,218,34,175,11,40],[],[223,228,232,236,241,245],{"id":224,"name":225,"points":226,"category":227},"13907010","Aeneas",188,"dev_tools",{"id":229,"name":230,"points":231,"category":227},"13901005","Ladon",158,{"id":233,"name":234,"points":235,"category":227},"13906014","Klipse",111,{"id":237,"name":238,"points":239,"category":240},"13921364","Marta",106,"productivity",{"id":242,"name":243,"points":244,"category":227},"13908606","OS",97,{"id":246,"name":247,"points":248,"category":227},"13913413","go-sumtype",75,42,false,"v2",{"id":253,"name":5,"line":6,"ai":250,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":254,"top":18,"kw":255,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":256,"url":9,"mix":257,"praise":88,"objection":97,"sub":21},13920588,-0.04,[24,25,26,27,28],"310503030351003011500",[32,33,34,35],1794036553679]