Your SlideShare is downloading. ×
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Akka Presentation Schule@synyx
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Akka Presentation Schule@synyx

1,093

Published on

Demonstration of a web crawler implemented using Akka. Link to the sources coming soon.

Demonstration of a web crawler implemented using Akka. Link to the sources coming soon.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,093
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Florian Hopfhttp://blog.florian-hopf.de
  • 2. Download Page Link downloaded already?Parse Links & Content Index Content
  • 3. Sequential Example
  • 4. 1. Scale Up
  • 5. Thread A Page Thread B Store
  • 6. Synchronize Thread A Page Thread B and Suffer Store
  • 7. Actor-Framework
  • 8. Message Passing Concurrency
  • 9. Thread A Thread B Actor A Actor B
  • 10. Master Page Fetch Store Index Page Page Page Indexed Page Content IndexingParsing Actor Actor
  • 11. Simple Example
  • 12. Actors are accessed by references
  • 13. Reference Actor Instance
  • 14. Reference Actor Actor n Instance Instance Actor Instances
  • 15. Fetching Pages in parallel
  • 16. 2. Scale Out
  • 17. References can pointto remote machines
  • 18. akka {     actor {     deployment {     /serviceA/aggregation {     router = "round­robin"     nr­of­instances = 10     target {     nodes =  ["akka://app@10.0.0.2:2552",  "akka://app@10.0.0.3:2552"]     }     }     }     }    }
  • 19. 3. Fault Tolerance
  • 20. Actors are supervised by their parent
  • 21. Master Page Store Page IndexingParsing Actor Actor
  • 22. Reference Actor Instance
  • 23. Master Page Store Page IndexingParsing Actor Actor
  • 24. Reference Actor Instance
  • 25. Actions:EscalateResumeRestart Stop
  • 26. Network fail on download
  • 27. Master Page Store Page IndexingParsing Actor Actor
  • 28. ResumePageParsingActor, resend message
  • 29. Indexing Failure, I/O Error
  • 30. Master Page Store Page IndexingParsing Actor Actor
  • 31. Restart Master
  • 32. Scaling Up Scaling OutFault Tolerance
  • 33. Software Transactional Memory Durable Mailboxes
  • 34. http://akka.io

×