BERT and Ernie: Scaling your Ruby site with Erlang
1–10 of 13 posts
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#2Re: BERT and Ernie: Scaling your Ruby site with Erlang
#3Re: BERT and Ernie: Scaling your Ruby site with Erlang
#4I usually prefer money on servers since it's faster to develop for my team. But I guess for the functionally gifted, this is a great solution.
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#5I think the problem with solutions like these it usually comes down throwing down money at more development (Erlang is hard) or throwing down money on more servers (delayed_job, Amazon SQS, etc.). I usually prefer money on servers since it's faster to develop for my team. But I guess for the functionally gifted, this is a great solution.
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#6I think the problem with solutions like these it usually comes down throwing down money at more development (Erlang is hard) or throwing down money on more servers (delayed_job, Amazon SQS, etc.). I usually prefer money on servers since it's faster to develop for my team. But I guess for the functionally gifted, this is a great solution.
delayed_job, Amazon SQS, etc are not RPC systems. You can't block waiting on a response like you can with messaging systems.
For instance, delayed_job makes an RPC call that asks "how much disk space is this repository using?" It waits until it gets a response from an Ernie handler then continues with its background job.
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#7Why would you choose an approach like this instead of using tmm1-amqp + rabbitmq? A message queue seems like it would work well, and is the logical step up from delayed_job.
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#8Why would you choose an approach like this instead of using tmm1-amqp + rabbitmq? A message queue seems like it would work well, and is the logical step up from delayed_job.
You could use BERT with amqp, as it's just a data format (like JSON). Ernie and BERT-RPC are libraries which build on that.
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#9I think the problem with solutions like these it usually comes down throwing down money at more development (Erlang is hard) or throwing down money on more servers (delayed_job, Amazon SQS, etc.). I usually prefer money on servers since it's faster to develop for my team. But I guess for the functionally gifted, this is a great solution.
Re: BERT and Ernie: Scaling your Ruby site with Erlang
#10I think the problem with solutions like these it usually comes down throwing down money at more development (Erlang is hard) or throwing down money on more servers (delayed_job, Amazon SQS, etc.). I usually prefer money on servers since it's faster to develop for my team. But I guess for the functionally gifted, this is a great solution.
I wouldn't say Erlang is a "hard" language, especially once you understand it. Sure, there aren't a whole hell of a lot of people that are proficient in it, but I think that's just because it's a little obscure. To someone with a little experience with functional programming, Erlang should make a lot of sense.
Also, I found that a lot of concepts from Prolog carry over nicely. Erlang was initially implemented in Prolog, and that's where it gets pattern matching and immutable variables from. (Along with several stylistic / syntactic quirks.)