Giter Site home page Giter Site logo

sound-cloud's Introduction

sound-cloud

File exchange platforms like SoundCloud allow musicians to share their creations directly with their fans. For this purpose, they can upload music files accompanied by various meta-information (title, author, interpreter, genre, ...). Meta-information serves so that listeners are aware of shared files and can carry out searches.

Having found the desired files, they can then download them for later use. Bearing in mind that the files to be exchanged are of considerable size, usually with several MB, the implementation of these systems has to pay particular attention to the resources consumed with the storage, manipulation and transmission of these files.

In particular, it is important to limit the number of simultaneous operations that can be carried out in order not to overload the system and to maintain a relative fairness between the different users.

In this project, it was purposed the development of a platform for sharing music files in the form of a client/server in Java using sockets and threads.

Basic features:

  • Authentication and register of a user, given the name and password. Whenever an user wishes to interact with the service, it must establish a conection and be authenticated by the server.
  • Publish a music file, providing its content and meta-information (title, interpreter, year and a variable amount of tags), receiving an unique identifier.
  • Perform a music search by sending a search tag and receiving back a list of the songs that match it. For each song, its meta-information must also be received:
    • unique identifier;
    • title, artist, year and a variable number of tags, provided when the song is loaded;
    • number of times the song was downloaded.
  • Download a music file, providing its unique identifier.

Client

A client that offers a user interface that supports the functionality described above must be provided. This client should be written in Java using TCP threads and sockets.

Server

The server should also be written in Java, using TCP threads and sockets, keeping in memory the relevant information to support the functionalities, receive connections and input from clients, as well as sending the desired information to them. The protocol between client and server should be text-based, line-oriented (except for the content of the files themselves). In order for the server not to be vulnerable to slow clients, each thread should not write to more than one socket.

Keywords: Java, sockets, TCP, threads

Collaborators

Name
Carolina Cunha
Hugo Faria
João Diogo Mota

University of Minho, Software Engineering (3rd Year).

sound-cloud's People

Contributors

joaodiogomota avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.