Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #16 from schmurfy/patch-2

added a warning on stack overflow.
  • Loading branch information...
commit c0a346d55b4fa8b60bcde93be0810e2f0a18cef1 2 parents d3e83d1 + 77cfefd
@igrigorik authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -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](https://github.com/schmurfy/assets_crash).
+
Simple async demo stack with Rails 3.1 + EventMachine and Fibers.
* Hit localhost:3000/widgets to do a 1s async mysql query
Please sign in to comment.
Something went wrong with that request. Please try again.