snapshots should only be treated as an optimization, so it should not be
necessary to load snapshots.

shared-leveldb-journal is only intended for testing, but also for that
purpose I would recommend using something real such as
akka-persistence-cassandra.

/Patrik

On Thu, Jan 5, 2017 at 9:34 AM, Dai Yinhua <[email protected]> wrote:

> Hi Guys,
>
> I'm learning Akka cluster sharding with shared leveldb plugin.
>
> Here is my config:
> persistence {
>         journal.plugin = "akka.persistence.journal.leveldb-shared"
>         journal.leveldb-shared.store {
>           # DO NOT USE 'native = off' IN PRODUCTION !!!
>           native = off
>           dir = "persist/shared-leveldb-journal"
>         }
>
>         #snapshot-store.plugin = "akka.persistence.snapshot-store.local"
>         snapshot-store.local.dir = "persist/snapshots"
>       }
>
> But I found that my actor is failed to save screenshot when calling
> saveSnapshot API, the journal seems no problem.
> And I'm also very curious why there are no things like "shared snapshot",
> only "shared journal", with local snapshot, how can cluster sharding work?
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to