Writing scalable web applications, like so many things, is in some ways a bit of dark art. Not all methods are well documented, and the Internet is very young in terms of the power of servers running on applications. You must first understand the theory of distributed application architectures and their problems (bottlenecks, parallel state). Then apply this to your application platform. In this case, Erlang, where he still works out of the box.
- Learn the language
- Know what you want to build
- How did others do this?
- Get coding
In terms of scalability ... their general theory and then application. Different applications will require different approaches, which largely depend on the platform used.
The best thing to do is get the building and read about the theory as you go. It will be a steep curve. Also see examples .
source share