Skip to main content
INF - e-learning - Dipartimento di Informatica
  • English ‎(en)‎
    English ‎(en)‎ Italiano ‎(it)‎
You are currently using guest access (Log in)

Laboratorio di Reti - A.A. 2022-23

  1. Home
  2. Courses
  3. Corso di Laurea in Informatica (L-31)
  4. LPR-22-23
  5. 3 Novembre
  6. Assignment: Valutazione tecniche bufferizzazione d...

Assignment: Valutazione tecniche bufferizzazione di JAVA

Completion requirements
Opened: Friday, 4 November 2022, 12:00 AM
Due: Wednesday, 16 November 2022, 11:59 PM

Scopo dell'assignment è dare una valutazione delle prestazioni di diverse strategie di bufferizzazione di I/O offerte da JAVA:

Scrivere un programma che copi un file di input in un file di output, utilizzando le seguenti modalità alternative di bufferizzazione, valutando il tempo impiegato per la copia del file in ognuna delle seguenti strategie:

  • FileChannel con buffer indiretti
  • FileChannel con buffer diretti
  • FileChannel utilizzando l'operazione transferTo()
  • Buffered Stream di I/O
  • stream letto in un byte-array gestito dal programmatore
Confrontare le prestazioni delle diverse soluzioni, variando la dimensione del file (da qualche kbyte fino ad almeno una decina di Megabyte) e la dimensione del buffer. Riportare i risultati ottenuti nel codice sorgente, in un commento

◄ Struttura file JSON per assignment
Allegato assignment ►

Blocks

Skip Navigation

Navigation

  • Home

    • Site pages

      • My courses

      • Tags

      • ForumSite news

    • My courses

    • Courses

      • Corso di Laurea in Informatica (L-31)

        • CN-A ( 24-25)

        • CC 24 25

        • LWS2425

        • ICT security

        • LBD_24-25

        • IIA 2025

        • GC2425

        • ALGEBRA LINEARE 2024-25

        • ALGEBRA

        • PdP-B-2024

        • PdP-A-2024

        • LPR-22-23

          • General

          • 15 Settembre

          • 22 Settembre

          • 29 Settembre

          • 6 Ottobre

          • 13 Ottobre

          • 20 Ottobre

          • 27 Ottobre

          • 3 Novembre

            • AssignmentAssignment: Valutazione tecniche bufferizzazione d...

            • FileAllegato assignment

            • FileEsercizio

            • FolderSoluzione esercizio

          • 17 Novembre

          • 24 Novembre

          • 1 Dicembre

      • Corso di Laurea Magistrale in Informatica (LM-18)

      • Corso di Laurea Magistrale in Informatica e Networ...

      • Corso di Laurea Magistrale in Data Science and Bus...

      • Corso di Laurea Magistrale in Informatics for Digi...

      • Corsi erogati dal Dipartimento di Matematica

      • Master di II livello in "Professione formatore in ...

      • Corsi CLIL

      • Altri Corsi

      • Anno Accademico 2013-14

Blocks

You are currently using guest access (Log in)
LPR-22-23
  • English ‎(en)‎
    • English ‎(en)‎
    • Italiano ‎(it)‎
Data retention summary
Get the mobile app