we had about 20k more users come in and use socialmoth than we expected the other day. that is MORE, not total. up until that point, the dot-com and the fb app were working on the same server and using the same database.
my focus has been entirely following the users, and the users are on facebook. also i should follow the money, and that is also facebook. i moved the fb app to a new set of servers sunday, but i haven't moved the dot com to the same servers yet.
i plan an relinking them soon, but i've been scaling again since then. and learning about proxy balancers (nginx vs mod proxy balancer vs haproxy - if anyone wants to give advice)
rkabir, if you ask a specific question about flow, i can tell you want i know and can make public. the sites popularity was due to the facebook users. nothing i made scaled well enough for the new popularity and i haven't gone back and redone all of the dot com code to match the facebook scaled/optimized code.
omouse, do you use socialmoth? new features are on the way. they are done, but not publicly shown yet. also, my facebook users are dying for new features and suggesting them, but they realize there is a lot of scaling work to do. (i love how nice my users are) sometimes you just need to take a break and make new stuff though.
I am using swiftiply's evented mongrel + nginx for my site. I am tremendously happy with it and would be happy to spread the love (and config files). Email is in my profile.
i'll look in to it. no matter what i do, mod proxy balancer appears to not actually balance equally. i think i need to read more about it. and see if there is a mysterious setting.
balance=1
of the boxes, the first box always has a much higher load.
Mongrel, mod_proxy_balancer, and mongrel are all ass. Moving to nginx helped out a bit, but not really. Rails is lame because all the time you saved writing your app gets eaten up by rewriting it and doing sysadmin tasks with undocumented software. Sadly, for my next project I'll be pulling a Derek Sivers.
> i plan an relinking them soon, but i've been scaling again since then. and learning about proxy balancers (nginx vs mod proxy balancer vs haproxy - if anyone wants to give advice)
I haven't compared the various load balancers, but have you considered pound? It's small, lean, mean and easy to set up.
don't know anyone using pound, know one person who left it. i prefer solutions that are more mainstream for things that should be very well established and solved problems.
Comments
hey guys this is paul from socialmoth.
we had about 20k more users come in and use socialmoth than we expected the other day. that is MORE, not total. up until that point, the dot-com and the fb app were working on the same server and using the same database.
my focus has been entirely following the users, and the users are on facebook. also i should follow the money, and that is also facebook. i moved the fb app to a new set of servers sunday, but i haven't moved the dot com to the same servers yet.
i plan an relinking them soon, but i've been scaling again since then. and learning about proxy balancers (nginx vs mod proxy balancer vs haproxy - if anyone wants to give advice)
rkabir, if you ask a specific question about flow, i can tell you want i know and can make public. the sites popularity was due to the facebook users. nothing i made scaled well enough for the new popularity and i haven't gone back and redone all of the dot com code to match the facebook scaled/optimized code.
omouse, do you use socialmoth? new features are on the way. they are done, but not publicly shown yet. also, my facebook users are dying for new features and suggesting them, but they realize there is a lot of scaling work to do. (i love how nice my users are) sometimes you just need to take a break and make new stuff though.
I haven't used it, but you might look into this as well: http://swiftiply.swiftcore.org/index.html
with mongrel: http://swiftiply.swiftcore.org/mongrel.html
I am using swiftiply's evented mongrel + nginx for my site. I am tremendously happy with it and would be happy to spread the love (and config files). Email is in my profile.
how many boxes do you have?
Just one 4-core box.
i'll look in to it. no matter what i do, mod proxy balancer appears to not actually balance equally. i think i need to read more about it. and see if there is a mysterious setting.
balance=1
of the boxes, the first box always has a much higher load.
Mongrel, mod_proxy_balancer, and mongrel are all ass. Moving to nginx helped out a bit, but not really. Rails is lame because all the time you saved writing your app gets eaten up by rewriting it and doing sysadmin tasks with undocumented software. Sadly, for my next project I'll be pulling a Derek Sivers.
> i plan an relinking them soon, but i've been scaling again since then. and learning about proxy balancers (nginx vs mod proxy balancer vs haproxy - if anyone wants to give advice)
I haven't compared the various load balancers, but have you considered pound? It's small, lean, mean and easy to set up.
don't know anyone using pound, know one person who left it. i prefer solutions that are more mainstream for things that should be very well established and solved problems.