We are introducing a new agentic platform building, running, and evaluating agentic systems. It is an alternative to Langchain, Crew.ai, Temporal, and n8n.
Docs, examples, courses, videos, and blogs listed below.
We are eager to hear your observations on Akka here in this forum, but I can also share a Discord link for those wanting a deeper discussion.
We have been working with design partners for multiple years to shape our approach. We have roughly 40 ML / AI companies in production, the largest handling more than one billion tokens per second.
Agentic developers will want to consider Akka for projects that have multiple teams collaborating for organizational velocity, where performance-cost matters, and there are strict SLA targets required.
There are four offerings:
Akka Orchestration - guide, moderate and control long-running systems
Akka Agents - create agents, MCP tools, and HTTP/gRPC APIs
Akka Memory - durable, in-memory and sharded data
Akka Streaming - high performance stream processing
The more we stretch the topic the more we get confused. This is the bitter truth of life. People go on thinking and thinking without implementing the ideas at brain. Why it happens so? Have we ever asked the question that why we feel shy to our self? Why we don’t go and follow our dream? Why we always limit our strength and capability to get restricted by the various factors of life which can be avoided, if we devote our heart towards it. My friend’s, success is the outcome of your thought not any event or moment nurtured by nature for you for whom you don’t have authority to get hold of. Remember the time of your life when everything in your life was according to you. Each night you used to wait for sun to rise so that you could begin your journey towards your dream. There was some unknown energy flowing through your veins at that time which is missing now. Can’t we bring that again? Believe me everything is in your brain. The only person you can blame for your failure is you and the opposite is also true. History says that whatever a human mind can conceive it can achieve. There is some strange energy in our thought process if not then how a small child and unskilled child under the guidance of his teacher can defeat one of the greatest warrior of all time “Alexander the great”. That child was Chandragupta Maurya and the teacher was Chanakya. Chandragupta was the first king to rule whole India at a time. Get inspired and try beyond your limit. Your thought can change your life.
As i read my akka book, the technology looks very similar to Java Beans. in fact I googled and found a few articles listing similarity and differences between java beans and akka
Now as far as I know, the beans were a rage in late 1990s but then the web services were considered a better option.
As I read about akka actor messages and remote actors I feel that this could have been done by using web services as well. Why to go back to an old model of java beans.
now obviously my thinking can be wrong as I am only learning and I am sure that there are reasons why I should write my logic in akka instead of REST web services.
I did google "akka vs web services" but didn't find anything useful. It would be kind if you could point me to some articles which can clarify why should I choose akka over simple REST web services.
Can you share your valuable insights by participating in the survey on the upcoming course we are going to create. we collect no personal details, just the opinion.
I am really struggling with this. Has anyone actually got this to work? We are not using Spring Web. The application just reads from a topic, performs some transformation and then writes to another topic.
I just need to spring up a Kafka test container and have Spring use the configuration from that.
The only integration for Alpakka that I can see is Spring Web :(
It seems that Akka in the Java world is not that popular. Maybe Scala is the reason?
Akka and Kafka belong in two distinct technology camps that have only circumstantial similarities. Kafka is an event streaming platform, loosely residing in the Message-Oriented Middleware (MoM) space. Akka is an Actor Model — a mechanism for concurrent computation based on the concepts of agents, immutability, and message passing. The similarities are in the ‘message’ part. (Before anyone jumps in, there is no suggestion that the uses of Kafka are somehow limited to messaging; however, this is one of the prominent use cases.)
Kafka
Architecturally, Kafka is a lower-level construct that assists in the shipping and retention of events within a distributed application landscape. It embodies the ‘dump-pipes, smart endpoints’ metaphor, essentially acting as a highly-scalable persistent transport, which enables parallelism at the consumer level through the use of partially-ordered topics, comprising totally-ordered partitions. Kafka is not a programming model, and is completely application agnostic. In other words, you can implement Kafka producers and consumers in a variety of languages, providing you can obtain a c lient library written in that language. (And most languages do have a Kafka library.) The contracts between producers and consumers in the Kafka world are very rudimentary: producers deposit records onto an append-only topic, while consumers read records in a non-destructive manner that resembles a cursor. (Consuming a message does not delete it from the topic.)
Akka
Akka is a high-level application framework that obviates the need for traditional lock-based concurrency control primitives by employing the concept of actors — active entities that may be either durable or ephemeral, depending on the application context. Under the hood, an actor model maintains a set of inboxes (inbound message queues) and a scheduler for efficiently multiplexing a relatively small number of OS-level threads onto a much larger (possibly in the order millions) number of actors. Actors may form a range of topologies (hierarchical, pipeline or ad hoc) and communicate by passing messages. Although multiple actors may be operating concurrently, any given actor may only operate on one message at any given time. And it will remove the message when it has finished processing it. Providing an actor has sole ownership of some contentious resource, an actor model like Akka eliminates the need for exclusive and shared locks, by ensuring that only one process can operate (read from or write to) any given resource. Furthermore, an actor model is bound to a specific programming language.
¿Por qué no los dos?
Granted, the similarities between Kafka and Akka are superficial. However, Kafka may be used as the underlying transport for a distributed actor model. Generally, one does not cross-shop between the two; they are not exclusive — both may be used freely within an application for different roles.
In summary:
Both employ messages as an operating concept; although in Kafka, they are called ‘records’.
In both technologies, messages are ordered. Additionally, Kafka supports a further level of sharding where messages in a topic may follow a partial order. (Some records may appear mutually ordered, while others may be arbitrarily ordered.)
Kafka records are generally consumer-agnostic, in that they don’t target specific consumers, largely decoupling the producer and consumer ecosystems. Akka messages tend to target specific actors; however, they may also follow a broadcast topology.
Kafka records are not removed when consumed. An Akka message will be removed after an actor has dealt with it.
Records in Kafka are persistent. Akka's messages are normally transient; however, they can be made durable with Akka Persistence.
Kafka is designed for use in distributed systems. Akka operates within the confines of a single process. It may be applied in a distributed context when using a cluster; this effectively aggregates multiple actor systems into a single actor address space.
Here is my first blog post, where I described how to design actor based apps with a simple yet representative example. Anyone interested in Scala or Akka feel free to check it out.
Hi everyone ! We wanted to share something we’ve been working on at Scalac - a 4-part series called "Building with Akka" The idea: show how to build a Customer Registry Application using Akka, covering: Setting up the project Modeling the domain Implementing views & APIs And finally, deployment We just published Part 4 (deployment!), but if you’re interested, you can start from the beginning and follow the whole process. Here’s the link if you want to check it out: https://scalac.io/blog/akka-platform-intro/
Our first guest: Jonas Bonér - CTO and creator of Akka, interviewed by Scalac’s CTO Łukasz Marchewka. First episode’s topics: designing distributed systems, the future of the Akka Platform, AI, and much more. Listen here: https://scalac.io/blog/jonas-boner-akka-cto-ask-cto/