Rich Dougherty (@richdougherty) profile picture

Programmer with interest in languages, distributed systems and async programming.

Wellington, New Zealand
Joined February 2009
Photo by Rich Dougherty (@richdougherty)
An almost magical way to find bottlenecks: "a causal profiler detects how changing a line would affect performance … by freezing the other threads … we have 'virtually' sped the line being executed by the given thread." decave.github.io/JCoz/
Nice technical update on Project Loom (fibers on the JVM): youtu.be/NV46KFV1m-4
4
[new blog post] SDPaxos: Building efficient semi-decentralized geo-replicated state machines muratbuffalo.blogspot.com/20…
2
14
Kotlin 1.3 will have coroutines as a stable API: blog.jetbrains.com/kotlin/20…
2
1
For those who love HTTP internals... :)
I've just reuploaded my slides from "Deep HTTP Dive Through #Aleph and #Netty" with a few enhancements and corrections speakerdeck.com/kachayev/dee… Most notably, connection pipelining support on the server, thanks @ztellman for pointing that out! (there was an issue in my tests suite)
3
I hope Project Loom (fibers and continuations) makes it to the JRE. @pressron talks about the project: youtube.com/watch?v=fpyub8fb…
2
Rust's Tokio changes to use a hierarchical timer implementation so it can get better resolution (tokio.rs/blog/2018-03-timers…). Cc @viktorklang.
2
Rich Dougherty retweeted
Monix version 3.0.0-M3 released — Local & TaskLocal, pure Task cancellation, performance optimizations, update to @Typelevel Cats 1.0.1 and cats-effect 0.8: github.com/monix/monix/relea…
21
49
+1 for opaque types: "type aliases that only exist at compile time and emulate wrapper types … must not create any extra overhead at runtime while still providing a type safe use at compile time". docs.scala-lang.org/sips/opa… @d6 @jvican teapawt.net/scala_lang/status/9427…
Minutes from the SIP meeting December 2017 are ready, newest member @milessabin, great to have you on board! docs.scala-lang.org/sips/min…
1
5
The source code for “A new adaptive accrual failure detector for #Akka” is now available at github.com/manuelbernhardt/a…. Check out the original article at manuel.bernhardt.io/2017/07/…
5
7
Could imagine using this to improve actor performance - dedicate a thread, manage cache lines to eliminate memory contention. (cc @Akka) teapawt.net/adriancolyer/status/93…
Approaches to shared data structures, and why delegation using a dedicated thread can be much more efficient than locking schemes in some scenarios: blog.acolyer.org/2017/12/04/… Simpler *and* better!
2
1
4
As a VS Code user I'm excited about the LSP support with this release! teapawt.net/scala_sbt/status/93635…
sbt 1.1.0-RC1 is released ft. unified slash syntax for settings and sbt server rework that uses Language Server Protocol by @eed3si9n. Read all about it on @lightbend Tech Hub blog #scala - developer.lightbend.com/blog…
1
Looks interesting - was thinking about something like this for reverse routing in Play! Can you encode things like a requirement to include a CSRF token? teapawt.net/julienrf/status/935618…