Tag: Akka
-
Event streaming is not event sourcing!
Posted on May 18, 2022, Level beginner Resource Length long
The main misunderstanding, and source of the issues, is related to deciding on the stale data. It brings uncertainty and the need for workarounds. It's a common mistake to use tools like Kafka and Pulsar for event stores, but they are not. You don't have basic guarantees for optimistic concurrency checks. By Oskar Dudycz.
Tags streaming software-architecture devops akka app-development
-
Discarding magic feathers -- Going frameworkless in Scala
Posted on February 25, 2022, Level intermediate Resource Length medium
A good few years back, I looked into building a Scala webapp using Java's little-known provided HTTP server rather than one of the many frameworks already out there during my 10% time at Springer Nature. I made a mistake here - to avoid those frameworks I built my own framework to route requests within a webapp. I called it Sommelier, and it is now hidden away in a private github repo as really, we don't need another of those. Maybe we don't need any of them at all. By Jim Kinsey.
Tags scala akka programming app-development web-development
-
Introduction to Akka Streams
Posted on August 22, 2021, Level beginner Resource Length medium
Akka Streams is a library to process and transfer a sequence of elements. It is built on top of Akka Actors to make the ingestion and processing of streams easy. As it is build on top of Akka Actors, it provide a higher-level abstraction over Akka's existing actor model. By Asbin Bhadra.
Tags akka queues programming scala java jvm
-
First look at Akka Serverless
Posted on August 21, 2021, Level intermediate Resource Length long
Akka Serverless exposes part of the open-source battle-tested Akka framework as an as-a-service offering. If you ever wondered what a fully managed version of Akka Cluster+Sharding+Persistence would look like, here's the answer! If you don't know what Akka is at all, don't worry — we'll cover all the necessary details. By Adam Warski.
Tags akka queues app-development scala containers jvm
-
Stateful serverless on Google Cloud with Cloudstate and Akka Serverless
Posted on November 14, 2020, Level intermediate Resource Length medium
In recent years, stateless middle-tiers have been touted as a simple way to achieve horizontal scalability. But the rise of microservices has pushed the limits of the stateless architectural pattern, causing developers to look for alternatives. By James Ward, Developer Advocate at Google Cloud and Viktor Klang, Head of Cloud Engineering and Deputy CTO at Lightbend.
Tags akka streaming scala serverless gcp
-
What is Ask Pattern in Akka?
Posted on November 13, 2020, Level intermediate Resource Length short
In Akka, ask is a pattern and involves Actors as well as Futures. Ask is used to sends a message asynchronously and it returns a Future which represents a possible reply. If the actor does not reply and complete the future, it will expire after the timeout period. After the timeout period, it throws a TimeoutException. By Purva Agrawal.
Tags akka streaming scala programming
-
How to build stateful, cloud-native services with Akka and Kubernetes
Posted on May 10, 2020, Level intermediate Resource Length long
In this white paper by Jonas Bonér, CTO and co-founder of Lightbend, Inc you will learn few tips for running your stateful services as if they are stateless. The next frontier of competitive advantage is the speed with which you can extract value from data.
Tags akka programming scala containers
-
10000 nodes and beyond with Akka Cluster and Rapid
Posted on May 7, 2020, Level advanced Resource Length long
At the foundation of clustered systems are so-called membership protocols. The job of a membership protocol is to keep clustered applications up-to-date with the list of nodes that are part of the cluster, allowing all the individual nodes to act as one system. By Manuel Bernhardt.
Tags scala java programming akka devops performance software-architecture
-
Tour of Akka Typed: Message Adapters, Ask Pattern and Actor Discovery
Posted on September 17, 2019, Level advanced Resource Length medium
An article in series by Manuel Bernhardt in which he explores the basics of the Akka Typed API, why it was created and what are its benefits in comparison to the classic Actor API, how to build typed actor systems via protocols and behaviors and how to create typed actors.
Tags akka java scala programming messaging queues
-
Why gRPC?
Posted on August 25, 2019, Level beginner Resource Length short
Short explanation focusing on gRPC and it's implementation in Akka (Scala). gRPC is a transport mechanism for request / response and (non-persistent) streaming use cases. Akka gRPC is Open Source and available under the Apache 2 License.
Tags akka scala functional-programming java web-development
-
Lessons learned while writing a Haskell application
Posted on June 24, 2019, Level intermediate Resource Length long
Gabriel Volpe in this article writes about his experience with Haskell. He introduced Haskell at his last job and wanted to put into practice all the stuff he learned: take the good, leave the bad.
Tags programming software functional-programming akka scala
-
Using JaCoCo as code coverage tool for Scala
Posted on May 29, 2019, Level intermediate Resource Length short
Straight to the point guide by Miles Buckley focusing on open source coverage tool for Java.
Tags akka scala java programming