-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using a new child process upon each request #3
Comments
Disclaimer: I've only done toy hello world examples so far with Haskell on Ideally the executable would be running in the background, frozen from an I'm not sure what the other options would be, aside from communicating with With that said, I've heard Haskell has a pretty low overhead for starting http://roscidus.com/blog/blog/2013/06/09/choosing-a-python-replacement-for-0install/#speed-and-size On Tuesday, August 2, 2016, thkang2 [email protected] wrote:
|
Hi Wesley, What do you mean by "frozen" ? Having some process forked which runs in the I think that startup overhead of Haskell process is indeed pretty slow, Le 2 août 2016 15:56, "Wesley Baugh" [email protected] a écrit :
|
Yes, the Lambda docs indicate that subsequent invocations MAY reuse an Are you saying JVM boot time is slow? How does the overhead of starting a I'd suggest trying it out and measure the timings / overhead for yourself On Tuesday, August 2, 2016, Arnaud Bailly [email protected] wrote:
|
The screenshot says it already really: "request duration 118ms, billed 200ms". Seems to have taken about 100x what you'd shoot for, for a server-side hello-world responder. Maybe that's just the first "warm-up" request, have you compared after hitting the program with multiple subsequent requests? |
Won't it be extremely large overhead to boot up a child haskell process and communicate it via stdin/stdout? Even if the haskell code is going to be like
putStrLn "Hello World!"
I understand this isn't for production, just asking if you explored any other options, as I have interest in running haskell code on aws lambda myself.
Thanks!
The text was updated successfully, but these errors were encountered: