Producer-Consumer Pattern with Non-Blocking Queue
Metrics are vital for the distribution system, this article describes how to implement a metric function for a high TPS system.
The code can be found here: https://github.com/ADU-21/producer-consumer
Speed Up Your AWS S3 Client
- Java, AWS, S3, Performance
Our team recently had a performance issue with some data processing. Every day we have 24 files of 30GB generated in S3, and we’re having a Fargate cluster to download and process those data, it takes 12 hours to processing all 600+GB files, which is too slow as we want to increase the size of file for processing. After a serial of improvement, we successfully reduce the processing to 1.5 hours.
This is a sample project to explain what improvement we’ve done: https://github.com/ADU-21/s3-parallel-download
Time Complexity of Java Collections
Collections data structure and their operations’ time complexity are important fundamental knowledge for becoming a better developer.