Part 3: We want to turn our Google Photos clone from single-threaded to multi-threaded, to generate thumbnails much faster than before. But there are a couple of challenges along the way. We'll learn that using Java's Parallel File Streams seems to be a buggy endeavor, so we'll fall back on good, old ExecutorServices. But how many threads should we use to generate thumbnails? How can threads get in conflict with each other? How do we make our program fail-safe for threading issues? Find out in this episode!
► Previous Episodes
Part 2 - Testing: • I don't TDD. Writing Pragmatic Tests ...
Part 1 - Pilot: • How to Build a Google Photos Clone in...
► Source Repository
GitHub: https://github.com/marcobehlerjetbrai...
Branch: episode-3
► Timestamps
00:00 Intro
00:24 Java’s Parallel Streams
03:32 Java’s ExecutorService
06:12 Performance Benchmarking
08:10 File Storage & Hashing
16:52 Up Next
► FOLLOW ME
https://www.marcobehler.com
/ marcobehler
Watch video Solving Java Multithreading Challenges in My Google Photos Clone online without registration, duration hours minute second in high quality. This video was added by user Marco Codes 29 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,738 once and liked it 167 people.