Re: [akka-user] [akka-persistence] Hihgest sequence number and deleteMessages in third-party journal.

2015-10-12 Thread Evgeny Shepelyuk
ll events. That is not documented yet. We intend to do so and > also enforce it with the TCK. https://github.com/akka/akka/issues/18559 > > /Patrik > > On Sat, Oct 10, 2015 at 11:43 AM, Evgeny Shepelyuk <eshep...@gmail.com > > wrote: > >> Hello, >> >> Is it tr

[akka-user] [akka-persistence] Design question, account with transactions

2016-08-16 Thread Evgeny Shepelyuk
I am trying to design a system where an AKKA actor represents smth similar to simple banking account or counter Each account has a list of transactions that are events generated by incoming commands change its state (basically add/remove funds). One of my requirement is that system should track

[akka-user] Re: Akka FSM, persistence and timeouts

2016-09-26 Thread Evgeny Shepelyuk
Hello We're trying to implement something similar (i.e. when Actor recovered, we want side-effects to not happen again). During recovery, events are not applied immediately to internal state, but we're waiting until recovery is completed and then decide what to do next, based on latest replied

[akka-user] Re: [akka-persistence] Design question, account with transactions

2016-08-17 Thread Evgeny Shepelyuk
accuracy), or > you will have to use some "external" method to keep track of the duplicates > (DB, some service to check for duplicates, etc.) > > HTH, > Tal > > > On Tuesday, August 16, 2016 at 4:06:06 PM UTC+3, Evgeny Shepelyuk wrote: >> >>

[akka-user] Re: [akka-persistence] Design question, account with transactions

2016-08-17 Thread Evgeny Shepelyuk
kend is Cassandra. > > Tal > > > On Wednesday, August 17, 2016 at 9:55:30 AM UTC+3, Evgeny Shepelyuk wrote: >> >> Hi, thanks for info. >> >> May you share some info about your system: >> - how many actors do you have per JVM >> - how many transaction

[akka-user] Re: Simple beginner questions: Accessing values in flows

2016-10-18 Thread Evgeny Shepelyuk
Hi, could you please spare final code ? -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.google.com/group/akka-user --- You received this

[akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2016-12-29 Thread Evgeny Shepelyuk
. середа, 28 грудня 2016 р. 15:06:08 UTC+2 користувач Rafał Krzewski написав: > > W dniu środa, 28 grudnia 2016 13:30:23 UTC+1 użytkownik Evgeny Shepelyuk > napisał: >> >> Hello, >> >> In Docker Swarm when service is created, it's assigned to Virtual IP. >> I.e. whe

[akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2016-12-30 Thread Evgeny Shepelyuk
Hello Successfully implemented cluster joining using ConstructR, thanks ! четвер, 29 грудня 2016 р. 15:21:47 UTC+2 користувач Rafał Krzewski написав: > > Hi, > You are welcome! > You can use https://github.com/hseeberger/constructr together with >

[akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2016-12-30 Thread Evgeny Shepelyuk
Hello I am playing with ConstructR / Zookeeper now and one thing I can figure out is - how should I manage joining to cluster ? As far as I understand I have to leave this section empty in application.conf akka { cluster { seed-nodes = [] } } >From what I can see in Coordination

[akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2016-12-28 Thread Evgeny Shepelyuk
Hello Do you mean that in AKKA cluster there's only one seed node ? I thought AKKA cluster may have several seed node, so new instances can connect to any of them. AKKA documentations show example with multiple seed nodes. середа, 28 грудня 2016 р. 12:48:33 UTC+2 користувач Rafał Krzewski

[akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2016-12-28 Thread Evgeny Shepelyuk
l is fine and well. Unfortunately this is not > what happens in a dynamic environment, hence the need to elect the seed > node before Akka cluster boots up. > > Cheers, > Rafał > > W dniu środa, 28 grudnia 2016 11:56:56 UTC+1 użytkownik Evgeny Shepelyuk > napisał: >>

[akka-user] [DesignProposal] AKKA cluster in Docker Swarm Environment

2016-12-28 Thread Evgeny Shepelyuk
Hello Preface Couple day ago I've asked a question here about possible design for setting AKKA cluster in Docker swarm environment. The main open questions for us is how to discover seed nodes when new container is starting or service is scaled, because Docker assign random internal IPs for

[akka-user] Re: Usage of Akka cluster in Docker Swarm cluster

2016-12-27 Thread Evgeny Shepelyuk
with consul/etc based solution. понеділок, 26 грудня 2016 р. 16:01:37 UTC+2 користувач Rafał Krzewski написав: > > W dniu poniedziałek, 26 grudnia 2016 14:00:41 UTC+1 użytkownik Evgeny > Shepelyuk napisał: >> >> 1. Possible network overhead because swarm nodes and akka nodes are auto

[akka-user] Usage of Akka cluster in Docker Swarm cluster

2016-12-26 Thread Evgeny Shepelyuk
Hello Is there any information or real-life experience of using AKKA clustered services in Docker Swarm cluster ? We're developing our AKKA based services and they are intended to be run in separate docker containers. I.e. one service instance = 1 docker container. The disturbing points are

[akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2017-03-05 Thread Evgeny Shepelyuk
t; Ashley. > > On Friday, 30 December 2016 17:13:10 UTC+8, Evgeny Shepelyuk wrote: >> >> Hello >> Successfully implemented cluster joining using ConstructR, thanks ! >> >> четвер, 29 грудня 2016 р. 15:21:47 UTC+2 користувач Rafał Krzewski >> написав: >>

Re: [akka-user] Re: [DesignProposal] AKKA cluster in Docker Swarm Environment

2017-03-06 Thread Evgeny Shepelyuk
m? > > On 5 Mar 2017, at 6:03 PM, Evgeny Shepelyuk <eshep...@gmail.com > > wrote: > > Hello > > Well, we stuck to using ConstructR + Zookeeper :) > > неділя, 5 березня 2017 р. 11:53:32 UTC+2 користувач Ashley Aitken написав: >> >> >> Hi Evgen

[akka-user] [DesignProposal] AKKA cluster in Docker Swarm Environment

2017-03-07 Thread Evgeny Shepelyuk
Another example but for Kubernetes. Without using ConstructR. https://medium.com/google-cloud/clustering-akka-in-kubernetes-with-statefulset-and-deployment-459c0e05f2ea#.vmm894fk1 -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>

[akka-user] Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Evgeny Shepelyuk
May I assume that you should use `application.conf` in your code, not `reference.conf` as you've mentioned in the post. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >>

[akka-user] Re: Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Evgeny Shepelyuk
Wtf is this XMl snippet ? -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.google.com/group/akka-user --- You received this message

Re: [akka-user] Re: Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Evgeny Shepelyuk
Ohh, maven. Unfortunately have no expirience how it works with akka and why `.conf` transformation needed. 2 серп. 2017 23:52 "Jan-Terje Sørensen" <jtbsoren...@gmail.com> пише: > That is the pom.xml file for transforming the config file. > > onsdag 2. august 2017 22

[akka-user] Re: [akka-cluster] ClusterClient and ConstructR

2017-05-09 Thread Evgeny Shepelyuk
sing) on the nodes outside the cluster > that need to look up contact points. > You can call Coordination.getNodes() and if None comes back, wait some > time and retry. > > Cheers, > Rafał > > > W dniu czwartek, 4 maja 2017 14:28:53 UTC+2 użytkownik Evgeny Shepelyuk >

[akka-user] [akka-cluster] ShardRegion in proxy mode vs. access ShardRegion via ClusterClient

2017-05-09 Thread Evgeny Shepelyuk
Hello We're implementing microservice system consisting of several services representing completely different domains. Let's consider that we have following - wallet service representing customer balance, supporting deposit, withdraw and get balance commands - wallet client service

Re: [akka-user] [akka-cluster] Sharding, extractShardId and cluster resizing

2017-05-16 Thread Evgeny Shepelyuk
Wow, so comprehensive. Thank you very much. вівторок, 16 травня 2017 р. 18:46:10 UTC+3 користувач Justin du coeur написав: > > On Tue, May 16, 2017 at 11:38 AM, Evgeny Shepelyuk <eshep...@gmail.com > > wrote: > >> My current worrying question is about how to prope

[akka-user] Re: Common practice for akka cluster logging

2017-05-19 Thread Evgeny Shepelyuk
Hello, We're using ELK for our Docker based services and currently it's quite useful for collecting and analyzing logs. There's another option https://www.graylog.org - it works very similar to how ELK does, but as for me - easier to setup. Also, you can try some of hosted solutions, -

[akka-user] [akka-cluster] Sharding, extractShardId and cluster resizing

2017-05-16 Thread Evgeny Shepelyuk
Hello I'm implementing sharding solution on top of AKKA cluster running in Docker Swarm. The requirement we'd like to achieve is to be able to scale our sharded services. It's easily achieved with docker swarm, so we can have as many instances of services as we want. Thanks to ConstructR

[akka-user] [akka-cluster] ClusterClient and ConstructR

2017-05-04 Thread Evgeny Shepelyuk
Hi All Is there any example of using ConstructR with ClusterClient. I am having AKKA cluster bootstrapped with ConstructR and Zookeeper, i.e. I have no predefined seed nodes to create ClusterClient. So, I should connect too Zookeeper and retrieve seed nodes set by ConstructR. What is the

[akka-user] [akka-cluster-sharding] Create shard entity actors based checking some condition.

2017-09-25 Thread Evgeny Shepelyuk
Hello I'd like to implement cluster sharding enabled service with following scenario # *Wallet *service manages users' wallets # Each *wallet* is represented as persistent actors / shard entity # Shard clients are sending deposit / withdraw commands to wallets # Wallet creation is a dedicated

Re: [akka-user] [akka-cluster-sharding] Create shard entity actors based checking some condition.

2017-09-25 Thread Evgeny Shepelyuk
t says so. Otherwise it returns a message saying "this wallet doesn't > exist yet", and kills itself. > > On Mon, Sep 25, 2017 at 9:47 AM, Evgeny Shepelyuk <eshep...@gmail.com > > wrote: > >> Hello >> >> I'd like to implement cluster sharding enabled ser