Re: [akka-user] AKKA persistence with big loading issue

2016-04-15 Thread Yan Pei
also using routers for the consumers to consume the messages in multiple 
threads.

On Friday, April 15, 2016 at 1:41:02 PM UTC-5, Patrik Nordwall wrote:
>
> What kind of flow control are you using? If you produce faster than 
> consumed you will quickly fill up memory and eventually be out of it.
>
> /Patrik
>
> tors 14 apr. 2016 kl. 22:40 skrev Yan Pei 
> >:
>
>> It's better after I change to use persistAsync() instead of persist(). 
>> What risk we might have to use persistAysnc()? The document says low 
>> consistence. is it message loss or sending message more than once?
>>
>>
>> On Thursday, April 14, 2016 at 10:13:32 AM UTC-5, Yan Pei wrote:
>>>
>>> The structure is like this. In a loop, the message to send to several 
>>> persistent Actor with RoundRobinPool(1), then each persistent Actor send 
>>> message to an simple Actor which set up with RoundRobinPool(5). This simple 
>>> Actor basically just Confirm the message to persistent Actor.
>>>
>>> Not sure which part got stuck. When I send out message around 2 with 
>>> 6 persistent Actor, things works well. But once I increase the  message 
>>> number, the running is slow and the message size I got inside Cassendra is 
>>> not correct and I saw many message sent to deadletter in the log. It 
>>> doesn't work even I increase the number of persistent Actor.
>>>
>>> On Thursday, April 14, 2016 at 9:52:34 AM UTC-5, Konrad Malawski wrote:

 And what's not keeping up?
 Sending to who? To one actor, to what? :)

 -- 
 Konrad `ktoso` Malawski
 Akka  @ Lightbend 

 On 14 April 2016 at 16:51:30, Yan Pei (yan...@gmail.com) wrote:

 Hello Konrad, 

   I am doing POC,  each message is a very short String. I am using akka 
 with version 2.11-2.4.2. The messages is being sent out in a loop but with 
 sleep for 2s for every 100 messages.

 Thanks,
 Yan

 On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote: 
>
> Hi there,
> we'll need more details on message size, versions, and timing of the 
> messages to be able to hint at anything :)
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com) wrote:
>
> Good Morning All,
>
> I am having issue with AKKA persistence cassandra load testing. If I 
> send out more than 2 message to the AKKA system, it will not handle 
> that well.  
>
> I have created different persistent actors to handle around 1500 msg 
> for each. But even I did that, looks like AKKA system couldn't handle 
> large 
> messages with too many persistent actors being created inside. 
>
> I am not sure if the cassandra is the bottleneck or the AKKA system 
> shouldn't been used this way to send large messages? Is it ok to create 
> more than one AKKA systems? 
>
> Thanks very much for any feedback.
>
> Emily
>  
>
> --
> >> 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+...@googlegroups.com.
> To post to this group, send email to akka...@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+...@googlegroups.com.
 To post to this group, send email to akka...@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+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.c

Re: [akka-user] AKKA persistence with big loading issue

2016-04-15 Thread Yan Pei
We will use throttling to control the rate.

On Friday, April 15, 2016 at 1:41:02 PM UTC-5, Patrik Nordwall wrote:
>
> What kind of flow control are you using? If you produce faster than 
> consumed you will quickly fill up memory and eventually be out of it.
>
> /Patrik
>
> tors 14 apr. 2016 kl. 22:40 skrev Yan Pei 
> >:
>
>> It's better after I change to use persistAsync() instead of persist(). 
>> What risk we might have to use persistAysnc()? The document says low 
>> consistence. is it message loss or sending message more than once?
>>
>>
>> On Thursday, April 14, 2016 at 10:13:32 AM UTC-5, Yan Pei wrote:
>>>
>>> The structure is like this. In a loop, the message to send to several 
>>> persistent Actor with RoundRobinPool(1), then each persistent Actor send 
>>> message to an simple Actor which set up with RoundRobinPool(5). This simple 
>>> Actor basically just Confirm the message to persistent Actor.
>>>
>>> Not sure which part got stuck. When I send out message around 2 with 
>>> 6 persistent Actor, things works well. But once I increase the  message 
>>> number, the running is slow and the message size I got inside Cassendra is 
>>> not correct and I saw many message sent to deadletter in the log. It 
>>> doesn't work even I increase the number of persistent Actor.
>>>
>>> On Thursday, April 14, 2016 at 9:52:34 AM UTC-5, Konrad Malawski wrote:

 And what's not keeping up?
 Sending to who? To one actor, to what? :)

 -- 
 Konrad `ktoso` Malawski
 Akka  @ Lightbend 

 On 14 April 2016 at 16:51:30, Yan Pei (yan...@gmail.com) wrote:

 Hello Konrad, 

   I am doing POC,  each message is a very short String. I am using akka 
 with version 2.11-2.4.2. The messages is being sent out in a loop but with 
 sleep for 2s for every 100 messages.

 Thanks,
 Yan

 On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote: 
>
> Hi there,
> we'll need more details on message size, versions, and timing of the 
> messages to be able to hint at anything :)
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com) wrote:
>
> Good Morning All,
>
> I am having issue with AKKA persistence cassandra load testing. If I 
> send out more than 2 message to the AKKA system, it will not handle 
> that well.  
>
> I have created different persistent actors to handle around 1500 msg 
> for each. But even I did that, looks like AKKA system couldn't handle 
> large 
> messages with too many persistent actors being created inside. 
>
> I am not sure if the cassandra is the bottleneck or the AKKA system 
> shouldn't been used this way to send large messages? Is it ok to create 
> more than one AKKA systems? 
>
> Thanks very much for any feedback.
>
> Emily
>  
>
> --
> >> 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+...@googlegroups.com.
> To post to this group, send email to akka...@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+...@googlegroups.com.
 To post to this group, send email to akka...@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+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https:/

Re: [akka-user] AKKA persistence with big loading issue

2016-04-15 Thread Patrik Nordwall
What kind of flow control are you using? If you produce faster than
consumed you will quickly fill up memory and eventually be out of it.

/Patrik

tors 14 apr. 2016 kl. 22:40 skrev Yan Pei :

> It's better after I change to use persistAsync() instead of persist().
> What risk we might have to use persistAysnc()? The document says low
> consistence. is it message loss or sending message more than once?
>
>
> On Thursday, April 14, 2016 at 10:13:32 AM UTC-5, Yan Pei wrote:
>>
>> The structure is like this. In a loop, the message to send to several
>> persistent Actor with RoundRobinPool(1), then each persistent Actor send
>> message to an simple Actor which set up with RoundRobinPool(5). This simple
>> Actor basically just Confirm the message to persistent Actor.
>>
>> Not sure which part got stuck. When I send out message around 2 with
>> 6 persistent Actor, things works well. But once I increase the  message
>> number, the running is slow and the message size I got inside Cassendra is
>> not correct and I saw many message sent to deadletter in the log. It
>> doesn't work even I increase the number of persistent Actor.
>>
>> On Thursday, April 14, 2016 at 9:52:34 AM UTC-5, Konrad Malawski wrote:
>>>
>>> And what's not keeping up?
>>> Sending to who? To one actor, to what? :)
>>>
>>> --
>>> Konrad `ktoso` Malawski
>>> Akka  @ Lightbend 
>>>
>>> On 14 April 2016 at 16:51:30, Yan Pei (yan...@gmail.com) wrote:
>>>
>>> Hello Konrad,
>>>
>>>   I am doing POC,  each message is a very short String. I am using akka
>>> with version 2.11-2.4.2. The messages is being sent out in a loop but with
>>> sleep for 2s for every 100 messages.
>>>
>>> Thanks,
>>> Yan
>>>
>>> On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote:

 Hi there,
 we'll need more details on message size, versions, and timing of the
 messages to be able to hint at anything :)

 --
 Konrad `ktoso` Malawski
 Akka  @ Lightbend 

 On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com) wrote:

 Good Morning All,

 I am having issue with AKKA persistence cassandra load testing. If I
 send out more than 2 message to the AKKA system, it will not handle
 that well.

 I have created different persistent actors to handle around 1500 msg
 for each. But even I did that, looks like AKKA system couldn't handle large
 messages with too many persistent actors being created inside.

 I am not sure if the cassandra is the bottleneck or the AKKA system
 shouldn't been used this way to send large messages? Is it ok to create
 more than one AKKA systems?

 Thanks very much for any feedback.

 Emily


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

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the arch

Re: [akka-user] AKKA persistence with big loading issue

2016-04-14 Thread Yan Pei
It's better after I change to use persistAsync() instead of persist(). What 
risk we might have to use persistAysnc()? The document says low 
consistence. is it message loss or sending message more than once?

On Thursday, April 14, 2016 at 10:13:32 AM UTC-5, Yan Pei wrote:
>
> The structure is like this. In a loop, the message to send to several 
> persistent Actor with RoundRobinPool(1), then each persistent Actor send 
> message to an simple Actor which set up with RoundRobinPool(5). This simple 
> Actor basically just Confirm the message to persistent Actor.
>
> Not sure which part got stuck. When I send out message around 2 with 6 
> persistent Actor, things works well. But once I increase the  message 
> number, the running is slow and the message size I got inside Cassendra is 
> not correct and I saw many message sent to deadletter in the log. It 
> doesn't work even I increase the number of persistent Actor.
>
> On Thursday, April 14, 2016 at 9:52:34 AM UTC-5, Konrad Malawski wrote:
>>
>> And what's not keeping up?
>> Sending to who? To one actor, to what? :)
>>
>> -- 
>> Konrad `ktoso` Malawski
>> Akka  @ Lightbend 
>>
>> On 14 April 2016 at 16:51:30, Yan Pei (yan...@gmail.com) wrote:
>>
>> Hello Konrad, 
>>
>>   I am doing POC,  each message is a very short String. I am using akka 
>> with version 2.11-2.4.2. The messages is being sent out in a loop but with 
>> sleep for 2s for every 100 messages.
>>
>> Thanks,
>> Yan
>>
>> On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote: 
>>>
>>> Hi there,
>>> we'll need more details on message size, versions, and timing of the 
>>> messages to be able to hint at anything :)
>>>
>>> -- 
>>> Konrad `ktoso` Malawski
>>> Akka  @ Lightbend 
>>>
>>> On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com) wrote:
>>>
>>> Good Morning All,
>>>
>>> I am having issue with AKKA persistence cassandra load testing. If I 
>>> send out more than 2 message to the AKKA system, it will not handle 
>>> that well.  
>>>
>>> I have created different persistent actors to handle around 1500 msg for 
>>> each. But even I did that, looks like AKKA system couldn't handle large 
>>> messages with too many persistent actors being created inside. 
>>>
>>> I am not sure if the cassandra is the bottleneck or the AKKA system 
>>> shouldn't been used this way to send large messages? Is it ok to create 
>>> more than one AKKA systems? 
>>>
>>> Thanks very much for any feedback.
>>>
>>> Emily
>>>  
>>>
>>> --
>>> >> 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+...@googlegroups.com.
>>> To post to this group, send email to akka...@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+...@googlegroups.com.
>> To post to this group, send email to akka...@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.


Re: [akka-user] AKKA persistence with big loading issue

2016-04-14 Thread Yan Pei
The structure is like this. In a loop, the message to send to several 
persistent Actor with RoundRobinPool(1), then each persistent Actor send 
message to an simple Actor which set up with RoundRobinPool(5). This simple 
Actor basically just Confirm the message to persistent Actor.

Not sure which part got stuck. When I send out message around 2 with 6 
persistent Actor, things works well. But once I increase the  message 
number, the running is slow and the message size I got inside Cassendra is 
not correct and I saw many message sent to deadletter in the log. It 
doesn't work even I increase the number of persistent Actor.

On Thursday, April 14, 2016 at 9:52:34 AM UTC-5, Konrad Malawski wrote:
>
> And what's not keeping up?
> Sending to who? To one actor, to what? :)
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 14 April 2016 at 16:51:30, Yan Pei (yan...@gmail.com ) 
> wrote:
>
> Hello Konrad, 
>
>   I am doing POC,  each message is a very short String. I am using akka 
> with version 2.11-2.4.2. The messages is being sent out in a loop but with 
> sleep for 2s for every 100 messages.
>
> Thanks,
> Yan
>
> On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote: 
>>
>> Hi there,
>> we'll need more details on message size, versions, and timing of the 
>> messages to be able to hint at anything :)
>>
>> -- 
>> Konrad `ktoso` Malawski
>> Akka  @ Lightbend 
>>
>> On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com) wrote:
>>
>> Good Morning All,
>>
>> I am having issue with AKKA persistence cassandra load testing. If I send 
>> out more than 2 message to the AKKA system, it will not handle that 
>> well.  
>>
>> I have created different persistent actors to handle around 1500 msg for 
>> each. But even I did that, looks like AKKA system couldn't handle large 
>> messages with too many persistent actors being created inside. 
>>
>> I am not sure if the cassandra is the bottleneck or the AKKA system 
>> shouldn't been used this way to send large messages? Is it ok to create 
>> more than one AKKA systems? 
>>
>> Thanks very much for any feedback.
>>
>> Emily
>>  
>>
>> --
>> >> 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+...@googlegroups.com.
>> To post to this group, send email to akka...@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+...@googlegroups.com .
> To post to this group, send email to akka...@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.


Re: [akka-user] AKKA persistence with big loading issue

2016-04-14 Thread Konrad Malawski
And what's not keeping up?
Sending to who? To one actor, to what? :)

-- 
Konrad `ktoso` Malawski
Akka @ Lightbend

On 14 April 2016 at 16:51:30, Yan Pei (yan@gmail.com) wrote:

Hello Konrad,

  I am doing POC,  each message is a very short String. I am using akka with 
version 2.11-2.4.2. The messages is being sent out in a loop but with sleep for 
2s for every 100 messages.

Thanks,
Yan

On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote:
Hi there,
we'll need more details on message size, versions, and timing of the messages 
to be able to hint at anything :)

-- 
Konrad `ktoso` Malawski
Akka @ Lightbend

On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com) wrote:

Good Morning All,

I am having issue with AKKA persistence cassandra load testing. If I send out 
more than 2 message to the AKKA system, it will not handle that well. 

I have created different persistent actors to handle around 1500 msg for each. 
But even I did that, looks like AKKA system couldn't handle large messages with 
too many persistent actors being created inside. 

I am not sure if the cassandra is the bottleneck or the AKKA system shouldn't 
been used this way to send large messages? Is it ok to create more than one 
AKKA systems?

Thanks very much for any feedback.

Emily
 

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

-- 
>>  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.


Re: [akka-user] AKKA persistence with big loading issue

2016-04-14 Thread Yan Pei
Hello Konrad,

  I am doing POC,  each message is a very short String. I am using akka 
with version 2.11-2.4.2. The messages is being sent out in a loop but with 
sleep for 2s for every 100 messages.

Thanks,
Yan

On Thursday, April 14, 2016 at 9:40:01 AM UTC-5, Konrad Malawski wrote:
>
> Hi there,
> we'll need more details on message size, versions, and timing of the 
> messages to be able to hint at anything :)
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 14 April 2016 at 16:38:57, Yan Pei (yan...@gmail.com ) 
> wrote:
>
> Good Morning All,
>
> I am having issue with AKKA persistence cassandra load testing. If I send 
> out more than 2 message to the AKKA system, it will not handle that 
> well.  
>
> I have created different persistent actors to handle around 1500 msg for 
> each. But even I did that, looks like AKKA system couldn't handle large 
> messages with too many persistent actors being created inside. 
>
> I am not sure if the cassandra is the bottleneck or the AKKA system 
> shouldn't been used this way to send large messages? Is it ok to create 
> more than one AKKA systems? 
>
> Thanks very much for any feedback.
>
> Emily
>  
>
> --
> >> 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+...@googlegroups.com .
> To post to this group, send email to akka...@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.


Re: [akka-user] AKKA persistence with big loading issue

2016-04-14 Thread Konrad Malawski
Hi there,
we'll need more details on message size, versions, and timing of the messages 
to be able to hint at anything :)

-- 
Konrad `ktoso` Malawski
Akka @ Lightbend

On 14 April 2016 at 16:38:57, Yan Pei (yan@gmail.com) wrote:

Good Morning All,

I am having issue with AKKA persistence cassandra load testing. If I send out 
more than 2 message to the AKKA system, it will not handle that well. 

I have created different persistent actors to handle around 1500 msg for each. 
But even I did that, looks like AKKA system couldn't handle large messages with 
too many persistent actors being created inside. 

I am not sure if the cassandra is the bottleneck or the AKKA system shouldn't 
been used this way to send large messages? Is it ok to create more than one 
AKKA systems?

Thanks very much for any feedback.

Emily
 

--
>> 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.