Tag: Scala
-
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
-
From first principles: Why Scala?
Posted on February 5, 2021, Level beginner Resource Length medium
Scala, first appearing in 2004, is neither an old stalwart nor a new player in the programming language market. This post will discuss the unique combination of features that Scala provides and how it compares to other languages on the market, diving beneath the superficial experience to explore the fundamentals of the language. By Haoyi.
Tags scala app-development code-refactoring programming functional-programming
-
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
-
Getting started with Knative in Scala
Posted on September 24, 2020, Level intermediate Resource Length long
Knative is an open source project that extends Kubernetes by providing a set of middleware components simplifying deploying, running, and managing serverless applications. By Boris Lublinsky.
Tags scala serverless devops kubernetes programming software-architecture
-
Zero to AWS Lambda in Scala
Posted on September 14, 2020, Level intermediate Resource Length short
AWS Lambda is the platform for deploying functions to the AWS cloud. You can use it to develop functions that respond to AWS events (eg S3 uploads, DynamoDB inserts), AWS API calls, or via HTTP endpoints using the API Gateway. By Jason Swartz.
Tags serverless devops open-source scala programming java
-
Railway oriented programming in Scala
Posted on August 1, 2020, Level advanced Resource Length long
An article by Pierre Jambet about his discovery of Railway Oriented Programming (ROP).
Tags scala software-architecture functional-programming code-refactoring software java
-
🚀 Visualizing memory management in JVM(Java, Kotlin, Scala, Groovy, Clojure)
Posted on July 17, 2020, Level intermediate Resource Length medium
In this multi-part series, author aims to demystify the concepts behind memory management and take a deeper look at memory management in some of the modern programming languages. By Deepu K Sasidharan; JHipster co-lead, Java, JS, Cloud Native Advocate, Developer Advocate @ Adyen, Author, Speaker, Software craftsman.
Tags java scala jvm performance
-
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
-
Building serverless Scala services with GraalVM native image
Posted on March 2, 2020, Level intermediate Resource Length short
Using GraalVM's Native Image tool to create native executables. Author describes the steps necessary to build a native executable from a simple http4s web service. There is also complete code accompanying this example. By Noel Welsh.
Tags java scala jvm performance
-
Beyond Liskov: Type safe equality in Scala
Posted on December 15, 2019, Level advanced Resource Length long
The blog post by Haoyi about type safety equality in Scala. If you are doing something non-trivial to compute a trivial result, it's probably an programmer error. Universal equality is just one common case of that.
Tags scala programming java