Browse files

Merge pull request #16 from schmurfy/patch-2

added a warning on stack overflow.
  • Loading branch information...
2 parents d3e83d1 + 77cfefd commit c0a346d55b4fa8b60bcde93be0810e2f0a18cef1 @igrigorik committed Sep 27, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0
@@ -1,5 +1,11 @@
# Async Rails 3.1 stack demo
+Important warning:
+ You should be aware when using fibers with Rails that you can get a stack overflow error if your stack grows
+ bigger than 4Kb (which is enough for most things though), this got even worse with the 3.1 release in which
+ you can easily overflow the stack, here is an example [here](
Simple async demo stack with Rails 3.1 + EventMachine and Fibers.
* Hit localhost:3000/widgets to do a 1s async mysql query

0 comments on commit c0a346d

Please sign in to comment.