JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • The I/O performance problem ( I/O)

    C# SELF
    41 level,0 lecture
    Why input/output operations are slower than CPU computations, what happens on the path from your code to the disk, and how that affects applications. We'll go through the physical limits of storage ( HDD/ SSD) and network, OS overhead, compare CPU/ RAM/ I/O latencies, the I/O chain, an anti-pattern with ReadByte() and optimized block reads via FileStream. We'll understand where the bottlenecks are and how to avoid them in practice.
    Open
  • Data buffering principle

    C# SELF
    41 level,1 lecture
    In this lecture we'll dig into what buffering is and why it's critical for I/O performance. You'll learn how buffers reduce the number of disk accesses, where buffering is used in .NET, how to pick a sensible buffer size and configure FileStream. We'll compare slow and fast approaches, discuss Flush(), practical tips and common mistakes.
    Open
  • Using BufferedStream

    C# SELF
    41 level,2 lecture
    Why buffered I/O is needed in .NET, how BufferedStream works, when to use it, how to choose buffer size and what to watch out for. Comparison with other streams, practical examples of speeding up writing and copying files, nuances of Flush() and working together with StreamWriter.
    Open
  • Performance and manual buffer control

    C# SELF
    41 level,3 lecture
    How to get the most out of I/O in .NET: why buffering is needed, how and when to set buffer size manually, how FileStream, BufferedStream and the text adapters differ, how to correctly measure performance with Stopwatch, and what pitfalls to watch out for when copying large files. Practical examples: CopyTo vs a custom buffer and choosing the "sweet spot" for buffer size.
    Open
  • Optimizing work with large files

    C# SELF
    41 level,4 lecture
    How to safely and quickly process gigabyte files in .NET: streaming read and write via FileStream, smart buffering with BufferedStream, line-by-line text handling with StreamReader/ StreamWriter, choosing buffer size, chunked copying, positioning with Seek, plus common mistakes (including OutOfMemoryException) and practical tips.
    Open
Courses
  • Java Course
  • Python Course
  • Development with Claude Code
  • All 16 courses
University
  • Java FullStack
  • Python FullStack
  • AI Native Developer
  • Web FullStack
Community
  • Articles
  • Forum
  • Help with Tasks
Company
  • About us
  • Contacts
  • Reviews
  • Pricing
  • Questions and answers
JavaRush JavaRush: online courses in Java and other programming languages, where you learn by solving tasks. We started in 2012 with a Java course, and today there are 16 courses: Java and Spring, Python, web development, SQL, Go, C#, C++, Kotlin, Swift, Docker and AI development. More than 10,000 tasks with instant checks, and the first level of any course is free. Learn on your own or with a mentor at JavaRush University.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy
MastercardVisa
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy