Groups
Groups
Sign in
Groups
Groups
Play Framework [deprecated]
Conversations
About
Send feedback
Help
How to handle Databases error when DB down or not exist
47 views
Skip to first unread message
Mohamed Madian
unread,
Dec 4, 2014, 8:48:35 AM
12/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
Hi,
I want to handle DB errors when DB are down or not exists,
to catch this error in order to make application not crashing and make application keep running even the DB down.
Thanks,
MMadian
Lutz Hühnken
unread,
Dec 4, 2014, 9:55:07 AM
12/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
Hi Mohamed,
have you looked at the circuit breaker pattern?
See
http://doc.akka.io/docs/akka/snapshot/common/circuitbreaker.html
http://martinfowler.com/bliki/CircuitBreaker.html
Hope this helps,
Lutz
Reply all
Reply to author
Forward
0 new messages