Using Perl and Erlang

https://news.ycombinator.com/item?id=8911620

This is true, but it's a point worth making every so often too. I created a system with Erlang and Perl that punched well above its weight (in terms of resources allocated to it) because I was able to cleanly separate the "concurrency" into the Erlang and the "reusing tons of existing code and working in a language the devs are familiar with" into the Perl. It's a powerful pattern, and if you are, like I was, stuck in a language with poor speed and in the case of perl no significant concurrency story [1], it's important to hear that there are options other than "throw it all out and start over again in a Cooler Language ™".
1: Perl has plenty of event loop choices, but in terms of trying to maintain thousands of live SSL connections at scale it's a terrible, terrible choice for that connection manager. But it was just fine as a service provider.

#programming #perl #erlang

From JR's : articles
162 words - 935 chars
created on - #
source - versions

Related articles
Perl regex extracting domain name from URL code example - Oct 02, 2013
Installing a Perl Module - Jan 13, 2015
Rest and Json links to keep around - Oct 10, 2013
Perl and OAuth - Dec 03, 2013
Add HTML Scrubber to Junco - Oct 01, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 14, 2024 - 9:36 p.m. EST