aspose file tools*
The moose likes Threads and Synchronization and the fly likes Erlang's performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Erlang Watch "Erlang New topic
Author

Erlang's performance

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3838

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?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Alain O'Dea
Greenhorn

Joined: Nov 16, 2010
Posts: 9
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

Joined: Nov 07, 2010
Posts: 9
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

Joined: Mar 24, 2008
Posts: 3838

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Erlang's performance