For learning with Cassandra, I also strongly recommend picking up ccm
<https://github.com/pcmanus/ccm> -- it makes it *vastly* easier to run a
local Cassandra pseudo-cluster on your machine, and works quite well for
akka-persistence-cassandra development and testing.

On Thu, Jan 5, 2017 at 9:09 AM, Patrik Nordwall <patrik.nordw...@gmail.com>
wrote:

> 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 <yhdai.2...@gmail.com> 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/c
>> urrent/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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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