Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Erlang's performance

 
Vijitha Kumara
Bartender
Posts: 3914
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Authors,

1. How Erlang works with the multiple cores?

2. How would you compare Erlang with other programming languages in terms of performance.Is there any performance benchmark(s) available?
 
Alain O'Dea
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Erlang naturally scales to multiple cores because it runs a process scheduler per-core and

2. Erlang does poorly on benchmarks that don't reflect the characteristics of software that makes money:
http://shootout.alioth.debian.org/u64q/erlang.php

I am not sure of benchmarks of web applications and similar business software or SaaS software that would better predict its usefulness for profit.
 
Richard Carlsson
author
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, micro-benchmarks like the language shootout aren't really useful for evaluating the sort of use cases that Erlang was meant for.

Here is a presentation that shows the performance advantages of using Erlang: http://www.slideshare.net/Arbow/comparing-cpp-and-erlang-for-motorola-telecoms-software (Basically, Erlang totally outperformed C++ for this kind of application, and with much smaller code size.)
 
Vijitha Kumara
Bartender
Posts: 3914
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Alain and Richard for sharing the information.
Richard Carlsson wrote:Basically, Erlang totally outperformed C++ for this kind of application, and with much smaller code size

I'd like to give it a try
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic