Artwork

Content provided by Scalawags Podcast. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Scalawags Podcast or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Scalawags #19

1:22:11
 
Share
 

Archived series ("HTTP Redirect" status)

Replaced by: scalawags.tv

When? This feed was archived on December 02, 2017 16:21 (7y ago). Last successful fetch was on August 17, 2017 14:32 (7y ago)

Why? HTTP Redirect status. The feed permanently redirected to another series.

What now? If you were subscribed to this series when it was replaced, you will now be subscribed to the replacement series. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 60658009 series 60604
Content provided by Scalawags Podcast. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Scalawags Podcast or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Five Years of Akka w/ Legendary Viktor Klang

Scalawags, not the podcast you come to for facts

Scalawags, the podcast that brings the Internet to its knees with double-digit live-viewing numbers!

with special guest Viktor Klang, man of Akka

youtube: https://www.youtube.com/watch?v=x9IxmgJNLbg

Intro (0:00)
  • Viktor loses up here what he gains down there
  • the rapture came and only Daniel was chosen
Akka, the early days (3:50)
  • Akka is a big deal
  • it's five years old
  • Jonas Bonér started it...
    • ...but Viktor made the first pull request
  • Lift was the matchmaker
  • revealed: contents of that first PR!!
  • on GitHub, Akka started the day after Node.JS started
  • main inspiration: Erlang
  • money quote: "concurrency is just a specialization of distributed computing"
  • Akka vs. Scala-standard-library actors
    • Akka resembles Erlang less?
Akka rebooted (13:45)
  • why the rewrite for 2.0?
    • supervision!
    • actor systems
    • proper classloader handling
    • internal architectural issues
Akka HTTP and Akka Streams (20:40) Actors and type safety (32:50)
  • messages are just Any. will this change? how do you type actors?
  • actors and the active object design pattern
  • the first Akka had typed actors, using AOP
    • later Viktor rewrote it to use JDK proxies
    • but, performance penalty
  • Roland Kuhn has used macros to type messages and responses
    • issues: thread-safety of reflection? performance? Java interop?
  • research on typed actors at EPFL?
  • Marlow and Wadler's paper on typing Erlang:
  • recent discussions on using marker interfaces to associate message types with actors
  • Josh: perhaps actors will stay untyped but we'll build higher-level typed APIs over top of them
    • for example, Akka Streams
    • analogy with type erasure in the VM itself?
  • nominal typing leads to chicken-or-egg problems with serialization and class loaders
Akka Streams vs. scalaz-stream (46:25) Akka and Java (58:00)
  • are Akka Streams usable from Java?
    • yes. does that constrain the design?
  • what proportion of Akka users are using it from Java?
    • a lot. could even be 50/50
  • "the best way of gaining traction [...] for any technology, is to be open, and not to be judgmental"
  • Akka for Python?
  • what are the implications of Java 8 for Akka?
Listening to users (1:03:35)
  • Dick: how do you stay in touch with what users want?
  • culture!
  • putting a high priority on documentation and helping newcomers
  • treat root causes, not just symptoms
Security (1:07:25)
  • user question: what about security if some nodes are untrusted?
  • no man is an island, but actors are
Monitoring (1:10:30)
  • JMX is roundly made fun of
  • stack traces >> core dumps
    • async "stack traces" at the JVM level? want.
Wrap-up (1:14:10)
  • Viktor's thoughts on life, the universe, and everything
  • what is the optimum thread pool size of an unladen African swallow?
  • are actors people?
  • moving past Akka's notorious TerminatedChildrenDungeon scandal
  • behind "the one who walks the bubbles of space-time"
    • aka the Flying Spaghetti Actor
  • Captain Deadlock Dreadlock
  • try Akka! you have the power.
  continue reading

41 episodes

Artwork
iconShare
 

Archived series ("HTTP Redirect" status)

Replaced by: scalawags.tv

When? This feed was archived on December 02, 2017 16:21 (7y ago). Last successful fetch was on August 17, 2017 14:32 (7y ago)

Why? HTTP Redirect status. The feed permanently redirected to another series.

What now? If you were subscribed to this series when it was replaced, you will now be subscribed to the replacement series. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 60658009 series 60604
Content provided by Scalawags Podcast. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Scalawags Podcast or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Five Years of Akka w/ Legendary Viktor Klang

Scalawags, not the podcast you come to for facts

Scalawags, the podcast that brings the Internet to its knees with double-digit live-viewing numbers!

with special guest Viktor Klang, man of Akka

youtube: https://www.youtube.com/watch?v=x9IxmgJNLbg

Intro (0:00)
  • Viktor loses up here what he gains down there
  • the rapture came and only Daniel was chosen
Akka, the early days (3:50)
  • Akka is a big deal
  • it's five years old
  • Jonas Bonér started it...
    • ...but Viktor made the first pull request
  • Lift was the matchmaker
  • revealed: contents of that first PR!!
  • on GitHub, Akka started the day after Node.JS started
  • main inspiration: Erlang
  • money quote: "concurrency is just a specialization of distributed computing"
  • Akka vs. Scala-standard-library actors
    • Akka resembles Erlang less?
Akka rebooted (13:45)
  • why the rewrite for 2.0?
    • supervision!
    • actor systems
    • proper classloader handling
    • internal architectural issues
Akka HTTP and Akka Streams (20:40) Actors and type safety (32:50)
  • messages are just Any. will this change? how do you type actors?
  • actors and the active object design pattern
  • the first Akka had typed actors, using AOP
    • later Viktor rewrote it to use JDK proxies
    • but, performance penalty
  • Roland Kuhn has used macros to type messages and responses
    • issues: thread-safety of reflection? performance? Java interop?
  • research on typed actors at EPFL?
  • Marlow and Wadler's paper on typing Erlang:
  • recent discussions on using marker interfaces to associate message types with actors
  • Josh: perhaps actors will stay untyped but we'll build higher-level typed APIs over top of them
    • for example, Akka Streams
    • analogy with type erasure in the VM itself?
  • nominal typing leads to chicken-or-egg problems with serialization and class loaders
Akka Streams vs. scalaz-stream (46:25) Akka and Java (58:00)
  • are Akka Streams usable from Java?
    • yes. does that constrain the design?
  • what proportion of Akka users are using it from Java?
    • a lot. could even be 50/50
  • "the best way of gaining traction [...] for any technology, is to be open, and not to be judgmental"
  • Akka for Python?
  • what are the implications of Java 8 for Akka?
Listening to users (1:03:35)
  • Dick: how do you stay in touch with what users want?
  • culture!
  • putting a high priority on documentation and helping newcomers
  • treat root causes, not just symptoms
Security (1:07:25)
  • user question: what about security if some nodes are untrusted?
  • no man is an island, but actors are
Monitoring (1:10:30)
  • JMX is roundly made fun of
  • stack traces >> core dumps
    • async "stack traces" at the JVM level? want.
Wrap-up (1:14:10)
  • Viktor's thoughts on life, the universe, and everything
  • what is the optimum thread pool size of an unladen African swallow?
  • are actors people?
  • moving past Akka's notorious TerminatedChildrenDungeon scandal
  • behind "the one who walks the bubbles of space-time"
    • aka the Flying Spaghetti Actor
  • Captain Deadlock Dreadlock
  • try Akka! you have the power.
  continue reading

41 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide