Erlang, the future of Web Apps?
There is a lot of buzz around Erlang these days, and there is a reason to it - Erlang has native solutions for most common problem of todays large web apps:
-Erlang is distributed
-Thus, Erlang is easy to scale
-Erlang comes with built in mnesia database, which can also be distributed
(and it even comes with transaction support)
Erlang is process based language, and programmers from the world of sequential languages must change they mind set rapidly in order to fully understand and take advantage of Erlang.
On the other hand, Erlang is fairly simple language with just a few built in functions an it could take you just a few days to get a grip on it.
and if you dont trust me, you should probably trust guys at Google. Here is one of the topics form this years Google's scalability conference in Seattle:
Scalable Wikipedia with Erlang by Thorsten Schuett, Zuse Institute Berlin
Abstract:
Global online services at Amazon, eBay, Myspace, YouTube, or Google serve millions of customers with tens of thousands of servers located throughout the world. At this scale, components fail continuously and it is difficult to maintain a consistent state while hiding failures from the application.
Peer-to-peer protocols provide availability by replicating services among peers, but they are mostly limited to write-once/read-many data sharing. To extend them beyond the typical file sharing, the support of fast transactions on distributed hash tables (DHTs) is an important yet missing feature.
We will present a distributed key/value store based on a DHT that supports consistent writes. Our system comprises three layers:
* a DHT layer for scalable, reliable access to replicated data,
* a transaction layer to ensure data consistency in the face of concurrent write operations,
* an application layer with an extremely high access rate.For the application layer, we selected a distributed, scalable Wiki with full transaction support. We will show that our Wiki outperforms the public Wikipedia in terms of served page requests per second and we will discuss how the development of the distributed code benefited from the use of Erlang.
Also Apache built their new document based database called Couch DB on top of Erlang, and Facebook implemented their online chat system in Erlang, so if you think about it, there must be something good about that language.
So why not learn it?

