Hi Juan, Glad to hear you've picked persistence :-) My immediate reaction would be to store each data point as an event - that will make replaying and analysing the data simpler. It also means no need to think about "oh yeah, we were getting the data in batches, so it's batches stored in the db". Having more insights into sizes of these events will influence the design though. Count wise I understand you're getting 360 events in one batch? That's not much by itself, but how many of these persistent entities will you have in your system?
Related question: which datastore are you looking into using to back your system? On Mon, Jul 7, 2014 at 12:14 PM, Juan José Vázquez Delgado < [email protected]> wrote: > Hi guys, > > We're currently on the verge of refactoring a traditional CRUD based > application into a reactive one. We're planning to apply event sourcing > with Akka Persitence in order to put in practice CQRS/ES principles. In > general terms, we know how to apply this principles when it comes to > solving typical business use cases, i.e., adding a new client, managing > user accounts, and so on. But, we're not sure whether we should apply this > principles and Akka Persistence when it comes to dealing with time series > data. > > For example, suppose that we need to deal with meteorological data which > is captured every hour in the form of batches. Every batch contains data in > 10-second intervals. Is event sourcing and Akka Persistence also suitable > to solve this kind of scenarios?. How would you model the events?. Would > every piece of data be an event or it would be every batch?. > > Thanks in advance for your thoughts and ideas. > > Regards, > > Juanjo. > > -- > >>>>>>>>>> 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 because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, Konrad 'ktoso' Malawski hAkker @ Typesafe <http://typesafe.com> -- >>>>>>>>>> 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 because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
