Skip to content

Releases: Ivanlaguna511/Distributed-Spotify-TCP

Final Release Distributed Spotify Protocol

19 Mar 10:24
cb4dea9

Choose a tag to compare

Stable Release of Distributed Spotify TCP Server

This release marks the completion of the Module 2 architecture for the Distributed Systems project. It successfully implements a custom binary protocol using Java Object Serialization.

Key Technical Achievements

  • Object-Oriented Network Protocol: Replaced raw text streams with serialized ProtocolMessage DTOs for structured communication.
  • High Concurrency (ExecutorService): Implemented a Thread Pool to manage multiple simultaneous client connections efficiently without exhausting system memory.
  • Thread-Safe Data Structures: Engineered a custom ConcurrentMultiMap utilizing ConcurrentHashMap and non-blocking ConcurrentLinkedQueue to allow atomic playlist modifications.
  • Robust Security: Integrated a ConnectionManager to provide strict IP rate-limiting, preventing brute-force login attempts and DDoS-like connection spam.
  • Deadlock Prevention: Ensured safe initialization of ObjectOutputStream prior to ObjectInputStream to prevent thread blocking during handshake.