Developers moving to Erlang for code scaling
December 26, 2008 —
(Page 1 of 2)
There's no denying that writing scalable code is difficult. When the processors involved are multiplying by the day, some tactics become inevitable, such as using locks and setting up message queues between systems.
At the fringes of the scalability world, Erlang is being lauded as a programming-level solution to the problem. But even for its proponents, there's no denying the language's lack of penetration.
Originally created in 1987 by Ericsson, a Swedish telecommunications company, Erlang was designed to build fault-tolerant, concurrent applications. In some ways it is similar to Smalltalk in that everything is a message.
Damien Katz won the Erlanger of the Year award for 2008. He's the creator of CouchDB, a Lotus Notes-style document database written in Erlang. He said that he rewrote six months' worth of C++ into Erlang over a month and a half. “It is actually very close to Smalltalk, I think, in terms of the original goals of Smalltalk. But Erlang hides its state within a process, and Smalltalk hides it in an object,” said Katz.
Katz came to the language for its concurrency, which allows for cheaper scalability, he said. He had worked with threads and locks in C++ for many years prior to learning Erlang in 2007.
“Instead of having these threads which live in the same process and can see the same global data, Erlang has what're called processes. There are little virtual processes, and they all live inside the Erlang virtual machine,” said Katz.
“They can't see each other. All they can do is send messages. They can send asynchronous messages, and that's how you do all of your concurrency. Instead of global data, where you modify it and read it and set a global lock, you send it a message and say, 'Give me a value for foo,' or you might send a message like, 'Increment the bar value.' You have these processes, and they are self-contained, they have their own memory, and they can die. It's a very different programming model than the traditional threads model.”
Related Search Term(s): databases, Erlang, servers, ProcessOne
Share this link: http://sdt.bz/33136
Most Read Latest News Blog Resources
Taking enterprise architecture to the business side
Startup Corso is bringing out a cloud-based planning platform that ties into business plans
|
|
Zeichick’s Take: Radio moves from analog waveforms to digital packets
Streaming radio highlights the need for streaming applications to be designed to take up as little bandwidth as possible
|
|
Appcelerator Acquires Cocoafish to Add Instant Mobile Cloud Capabilities to its Industry Leading Titanium Platform
Appcelerator Offers Messaging, Social, Location and Storage Mobile Cloud Services to All Mobile App Publishers
|
|
ComponentOne Releases a Collection of 40+ UI Widgets Powered by HTML5 and jQuery
ComponentOne has announced the 2012 release of Wijmo: a kit of UI widgets for HTML5 and jQuery development
|
Taking enterprise architecture to the business side
Startup Corso is bringing out a cloud-based planning platform that ties into business plans
|
|
Top five apps to manage your workload
Web applications offer new ways to track your “to-do” lists
|
|
Not so fast when it comes to testing in the cloud
Developers face outsourcing, virtual lab management and mobile devices as obstacles
|
|
Xceed releases UX-focused suite for Microsoft’s WPF
"Blendables" helps match user experiences to developer visions
|
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
|
|
Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
|
|
RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
|
|
GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
|
The Hidden Costs of Software Licensing
Moving beyond paper-based software licensing to more flexible, software-based licensing is a business decision. There is a growing trend tow...
|
|
Case Study: You May Need a Development Mechanic
As a contractor for a major financial player in Germany, SOBEGE, a German-based consultancy specializing in embedded IT and web services, wa...
|
|
Ensuring Software Quality at a Major International Bank
One of the world’s leading international banks has adopted AgitarOne technology for delivering generated unit tests for their Java software...
|
|
Load Testing Adobe Flex Applications
Adobe Flex applications may be different from applications you’ve worked with before. For classic HTML web applications, the server does all...
|