Re: [akka-user] Re: Using local file system to store Actor's state ?

2016-02-23 Thread Chelios
Hi Endre, Never heard of LevelDB before. But It sounds perfect for what I need. Thank you :) On Monday, February 22, 2016 at 11:13:06 PM UTC+11, Akka Team wrote: > > Hi Chelios, > > Isn't the LevelDB plugin enough for your use case then? No fuss, no > connections, no distribution, and it is q

Re: [akka-user] Re: Using local file system to store Actor's state ?

2016-02-22 Thread Akka Team
Hi Chelios, Isn't the LevelDB plugin enough for your use case then? No fuss, no connections, no distribution, and it is quite fast. -Endre On Tue, Feb 16, 2016 at 12:04 PM, Chelios wrote: > Hey Guys, > > Sorry didn't get any notifications about your replies in my email. Thank > you so much for

Re: [akka-user] Re: Using local file system to store Actor's state ?

2016-02-16 Thread Chelios
Hey Guys, Sorry didn't get any notifications about your replies in my email. Thank you so much for your replies guys. Arno, you are right I should not be building my own database but I was just planning on storing the State of my actors locally (json files) instead of having it in memory in the

Re: [akka-user] Re: Using local file system to store Actor's state ?

2016-02-12 Thread Michael Frank
the biggest issue i can think of is that you have a risk of data inconsistency. for example: 1. a customer sends a command to your actor 2. the actor processes the command, persists an event (writing its state locally), and replies to the customer 3. before the actor can flush the event to th

Re: [akka-user] Re: Using local file system to store Actor's state ?

2016-02-12 Thread Arno Haase
I guess that depends on what you are trying to achieve, e.g. what degree of durability, consistency etc. you need. What you describe sounds like you are basically beginning to write your own local database. Doing that well involves *hugh* amounts of tricky code, like ensuring data consistency in r

[akka-user] Re: Using local file system to store Actor's state ?

2016-02-12 Thread Chelios
Guys !!! Any help ? On Thursday, February 11, 2016 at 1:23:59 AM UTC+11, Chelios wrote: > > Hi Guys, > > I've got an Eventsourcing & CQRS based application. Not using DDD or Akka > persistence (because of certain restrictions). > > Has anyone tried storing the *State* of an *Actor* to local file