Oh and answering the question in the thread's title.
Akka message sends guarantee *at-most-once-delivery*, because the network
is a dangerous place.
We provide *at-least-once-delivery* via this trait
http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#at-least-once-delivery
but please be aware of the trade-offs this brings in.
On Mon, Jul 21, 2014 at 10:58 AM, Konrad Malawski kt...@typesafe.com
wrote:
Hello Rajesh,
There's a ton which could go wrong, firstly - we're not the database, so
you should explain how you use akka to persist these.
* do you mean you send 20k messages, and persist each one then?
* are database writes failing or are messages not delivered?
* who does the db writes? Do actors die suddenly while performing some
write operation?
* in a cluster, if you just send messages, they can get lost - because of
the network. There's redelivery traits in persistence for this, but first
let's investigate what your problem actually is..
On Mon, Jul 21, 2014 at 8:09 AM, Rajesh B N rajeshbn1...@gmail.com
wrote:
Hi Team,
I am trying to insert 20k records into database using AKKA.But I
found only 19,994 records being inserted and rest 6 records were
failure.Is there any way in AKKA that I can get a solution for this i.e I
need all the 20k records to be inserted into DB without failure?
--
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 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
--
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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.