[erlang-questions] Ideas on Distributed Programming on single machine
Sat Jan 17 21:05:00 CET 2015
Wow! I am glad to know I am wrong because this opens up opportunities to do
distributed programming on my Macbook :)
Since I am very new to this, do you mind sharing any resources, links that
I can read to learn about "How to do" them?
Thanks a lot Christopher
On Sat, Jan 17, 2015 at 11:46 AM, Christopher Meiklejohn <
> On Jan 17, 2015, at 8:23 PM, Harit Himanshu <harit.subscriptions@REDACTED>
> This is really dumb question and I am pretty sure that there is limit to
> how much distributed programming could be learnt using single machine(I am
> using Mac in this case).
>> I am reading through Programming Erlang, Chapter 14, Distributed
>> Programming where Joe talk about how to run Name Server in distributed mode
>> 1. I write and test my program in a regular nondistributed Erlang
>> session. This is what we’ve been doing up to now, so it presents no new
>> 2. I test my program on two different Erlang nodes running on the
>> same computer.
>> 3. I test my program on two different Erlang nodes running on two
>> physically separated computers either in the same local area network or
>> anywhere on the Internet.
>> You can get pretty far using all of the networking tools provided with
> your operating system to simulate various network conditions. I do all of
> my daily distributed programming and research using a stock MacBook.
> Consider Kyle Kingsbury’s work on Jepsen where he’s able to find bug in
> several major distributed databases. There are also tools such as ‘tc’
> which can be used to add arbitrary latency between processes.
> For what it’s worth, Basho does a significant amount of fault testing on a
> single machine by using fault-injection tools, or by facilities like
> ‘intercepts’ provided by Riak Test.
> My advice is this: do everything locally on your machine until you have a
> reason to move to separate infrastructure; it will be easier to develop and
> - Chris
> Christopher Meiklejohn
> Senior Software Engineer
> Basho Technologies, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions