Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Implementing Actors, and by extension the Observer pattern, is just so ridiculously easy in Scala.

observers.foreach(o => o ! myEvent)

...and you're sending asynchronous events to each of the observers. With Akka, you can have those actors running basically anywhere and have the messages automatically routed to them. The obvious question is-- can this Reactor trait be applied via Akka to external machines?



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: