News for hackers. Stuff that matters.
Re:IronFunctions: language agnostic open-source alternative ... by wilsonfiifi on Tuesday November 15, 2016 @11:56PM (#12964626)
This is absolutely fab! I've been trying to figure out an elegant way to 'pipe' query results to user defined filter functions[0] for my side-project[1]. Can't wait to give this a go and dig into it. Thanks for making this open source and writing it in Go(lang) :-D

  [0] https://bytengine.readthedocs.io/en/latest/funcs.html  
  [1] https://github.com/johnwilson/bytengine
Re:IronFunctions: language agnostic open-source alternative ... by kennu on Wednesday November 16, 2016 @12:49PM (#12969437)
It's not strictly speaking an alternative to AWS Lambda, because you have to run your own IronFunctions server somewhere. So you will again have to manage servers instead of being serverless.

It's nice to have this platform available though.

Re:IronFunctions: language agnostic open-source alternative ... by carimura on Wednesday November 16, 2016 @05:45PM (#12972308)
Right, it's Lambda anywhere ... that you want to run it. But we hope/expect to see the service hosted on all clouds soon.
Re:IronFunctions: language agnostic open-source alternative ... by kaishiro on Tuesday November 15, 2016 @04:37PM (#12962459)
Woah, this is a big deal.

I played with IronWorkers a lot and even built some tooling around spinning up a worker and long polling an IronCache waiting for output (yes, it was a little gnarly). I'm really excited to play with this.

Re:IronFunctions: language agnostic open-source alternative ... by carimura on Tuesday November 15, 2016 @02:38PM (#12961431)
also join the real-time conversation: http://get.iron.io/open-slack
Re:IronFunctions: language agnostic open-source alternative ... by rendered_fat on Tuesday November 15, 2016 @02:32PM (#12961375)
neat. Is there any plans to tie this into the serverless (or JAWS whatever) framework?
Re:IronFunctions: language agnostic open-source alternative ... by carimura on Tuesday November 15, 2016 @02:34PM (#12961390)
Ya if it's a popular request, definitely.
Re:IronFunctions: language agnostic open-source alternative ... by fierro on Wednesday November 16, 2016 @12:50PM (#12969445)
Assuming you want to expose a set of APIs, each corresponding to a single function, each API is a separate docker container? What are the performance ramifications of functions-in-docker?
Re:IronFunctions: language agnostic open-source alternative ... by treeder on Wednesday November 16, 2016 @05:09PM (#12972048)
Unfortunately, Docker has a fair bit of overhead, more on that here: https://medium.com/travis-on-docker/the-overhead-of-docker-r... . That said, the overhead is probably not a big deal in a lot of cases.

And for the those cases, where it is a big deal, the next two major milestones on the roadmap aim to work around that issue, namely hot containers and streaming input. https://github.com/iron-io/functions#roadmap . Once that's in place, it should perform similar to any API.

Re:IronFunctions: language agnostic open-source alternative ... by out_of_protocol on Tuesday November 15, 2016 @02:28PM (#12961342)
Are both sync and async modes supported?
Re:IronFunctions: language agnostic open-source alternative ... by treeder on Tuesday November 15, 2016 @02:30PM (#12961358)
Yes, both are supported. See the main README for how to use both.
Re:IronFunctions: language agnostic open-source alternative ... by soroso on Tuesday November 15, 2016 @02:30PM (#12961364)
Yes - when you create a function you may tell whether it is sync or async, and just push tasks into it.
Re:IronFunctions: language agnostic open-source alternative ... by sandGorgon on Tuesday November 15, 2016 @10:14PM (#12964272)
Are you planning on adding scheduled functions? Kind of like a cron..
Re:IronFunctions: language agnostic open-source alternative ... by treeder on Wednesday November 16, 2016 @09:27AM (#12967026)
Yes, we are! Follow this issue: https://github.com/iron-io/functions/issues/100
Re:IronFunctions: language agnostic open-source alternative ... by bglynn on Tuesday November 15, 2016 @02:44PM (#12961491)
How's the difference between between IronWorker and IronFunctions?
Re:IronFunctions: language agnostic open-source alternative ... by carimura on Tuesday November 15, 2016 @02:59PM (#12961617)
IronWorker is more classic job processing whereas IronFunctions is AWS Lambda-style sync service. We'll follow up with a longer blog post on the differences.
Re:IronFunctions: language agnostic open-source alternative ... by aisofteng on Tuesday November 15, 2016 @07:40PM (#12963652)
OpenWhisk is also in this space.
Re:IronFunctions: language agnostic open-source alternative ... by kholmes79 on Tuesday November 15, 2016 @02:27PM (#12961335)
do you support java?
Re:IronFunctions: language agnostic open-source alternative ... by treeder on Tuesday November 15, 2016 @02:32PM (#12961377)
Yes, Java is supported. Like the other comment, anything you can run in a Docker container, which is pretty much any language. It also supports the same format/structure as Lambda in Java.
Re:IronFunctions: language agnostic open-source alternative ... by soroso on Tuesday November 15, 2016 @02:29PM (#12961353)
It is built on top of Docker, so if you dockerize a Java application, it just works.

It does work also with Java lambda apps, you can import them straight from AWS Lambda API using the CLI app.

Re:IronFunctions: language agnostic open-source alternative ... by out_of_protocol on Tuesday November 15, 2016 @02:28PM (#12961346)
Anything in docker container would work i suppose
Re:IronFunctions: language agnostic open-source alternative ... by seiflotfy on Tuesday November 15, 2016 @02:33PM (#12961382)
you can import your AWS Java code using the command line https://github.com/iron-io/functions/blob/master/docs/lambda...