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
Смотрите видео Solving Java Multithreading Challenges in My Google Photos Clone онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Marco Codes 29 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,738 раз и оно понравилось 167 людям.