A set of DDD-friendly tools for the JVM, simplifying reactive, event-driven, and microservices architectures.
Scheduler
in both vlingo-actors and Akka is used for timers that schedule one or continuous future signals to an actor. The term used for delivering messages to actors on threads is called dispatching. Erlang/BEAM doesn't assign O/S threads to processes in the way that Java does. It sort of implements a virtual O/S of its own, which enables all kinds of different ways to control fairness. Think of how Un*x and Windows operating systems how by literally interrupting execution of a process on a thread and giving that thread to another process. So a JVM is interrupted by the O/S in mid execution of some/many code paths. That's what the BEAM does to it's own processes (and yes, the O/S still interrupts the BEAM).
@/all We have updated our support plans. Sorry if you missed our introductory pricing.
@/all Watch our @vlingo_io webinar from Thursday on YouTube.
"Safely Exchanging Information Across Microservices"
Subscribe to my YouTube channel to get updates when new content arrives.
actorFor
.ActorInstantiator
instead. There are many examples. See: @SuppressWarnings({"rawtypes", "unchecked"})
private static class StateStoreEntryReaderInstantiator implements ActorInstantiator<InMemoryStateStoreEntryReaderActor> {
private static final long serialVersionUID = 8463366612347915854L;
final String name;
final List<Entry<?>> entries;
StateStoreEntryReaderInstantiator(final List<Entry<?>> entries, final String name) {
this.entries = entries;
this.name = name;
}
@Override
public InMemoryStateStoreEntryReaderActor instantiate() {
return new InMemoryStateStoreEntryReaderActor(entries, name);
}
@Override
public Class<InMemoryStateStoreEntryReaderActor> type() {
return InMemoryStateStoreEntryReaderActor.class;
}
}
ActorInstantiator
was designed specifically to accomplish that when using GraalVM.
@sharmapankaj2512 The ProtocolScanner
still needs work as @kmruiz noted in PR #8:
https://github.com/vlingo/vlingo-build-plugins/pull/8#issuecomment-638012780
Hello! I've been searching for a framework/toolkit to help implement DDD (with possibly event sourcing) for a new product we're building. I stumbled upon Vlingo and was so pleasantly surprised to find that it promises everything that I was looking for, and more!
We're a very small team in an early-stage startup. So my plan is to first build a modular monolith with well-defined boundaries that could later evolve into microservices.
Is there any example project to demonstrate such an approach using Vlingo?
Hello guys!
I'm totally new to the platform and trying to bootstrap smth working to be able to start from smth.
As far as I understood, the best way is to proceed with the vlingo-xoom-starter
, so I did. Unfortunately, the project the starter generated seems to be broken.
For the generated Projection example, the projection actor is referencing some QueryModelStateStoreProvider
, but such a class is not available in the generated project as well as it is not available (or I cannot find it) in any of the platform libraries.
I'm using the latest available xoom
version 1.3.4-SNAPSHOT
.
starter
.