Cargando…

Mastering C# concurrency : create robust and scalable applications, along with responsive UI, using concurrency and the multi-threading infrastructure in .NET and C# /

Create robust and scalable applications along with responsive UI using concurrency and the multi-threading infrastructure in .NET and C# About This Book Learn to combine your asynchronous operations with Task Parallel Library Master C#'s asynchronous infrastructure and use asynchronous APIs eff...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Agafonov, Eugene (Autor), Koryavchenko, Andrew (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Professional expertise distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Ii 4500
001 OR_ocn929952729
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 151119t20152015enka o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d N$T  |d IDEBK  |d YDXCP  |d OCLCF  |d COO  |d OCLCA  |d EBLCP  |d VT2  |d NLE  |d DEBBG  |d IDB  |d OCLCQ  |d MERUC  |d OCLCQ  |d OCLCA  |d OCL  |d CEF  |d OCLCQ  |d OCLCO  |d UKMGB  |d OCLCQ  |d WYU  |d OCLCO  |d UAB  |d AU@  |d OCLCQ  |d OCLCO  |d VLY  |d DST  |d OCLCO  |d OCLCQ 
016 7 |a 018010411  |2 Uk 
019 |a 927973410  |a 935250165  |a 958945607  |a 1162048091 
020 |a 9781785280078  |q (electronic bk.) 
020 |a 1785280074  |q (electronic bk.) 
020 |z 9781785286650 
020 |z 178528665X 
029 1 |a CHNEW  |b 000893845 
029 1 |a CHVBK  |b 374530025 
029 1 |a DEBBG  |b BV043627491 
029 1 |a DEBBG  |b BV043967943 
029 1 |a DEBSZ  |b 485784297 
029 1 |a GBVCP  |b 882847716 
029 1 |a UKMGB  |b 018010411 
029 1 |a AU@  |b 000057000037 
035 |a (OCoLC)929952729  |z (OCoLC)927973410  |z (OCoLC)935250165  |z (OCoLC)958945607  |z (OCoLC)1162048091 
037 |a CL0500000675  |b Safari Books Online 
050 4 |a QA76.73.C154 
072 7 |a COM  |x 051310  |2 bisacsh 
072 7 |a COM  |x 051280  |2 bisacsh 
072 7 |a COM  |x 051130  |2 bisacsh 
082 0 4 |a 005.13/3  |2 23 
049 |a UAMI 
100 1 |a Agafonov, Eugene,  |e author. 
245 1 0 |a Mastering C# concurrency :  |b create robust and scalable applications, along with responsive UI, using concurrency and the multi-threading infrastructure in .NET and C# /  |c Eugene Agafonov, Andrew Koryavchenko. 
246 3 |a Mastering C sharp concurrency 
264 1 |a Birmingham, UK :  |b Packt Publishing,  |c 2015. 
264 4 |c ©2015 
300 |a 1 online resource (1 volume) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a Professional expertise distilled 
588 0 |a Online resource; title from cover page (Safari, viewed November 16, 2015). 
500 |a Includes index. 
505 0 |a Cover ; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Traditional Concurrency; What's the problem?; Using locks; Lock statement; Monitor class; Reader-writer lock; Spin lock; Thread. SpinWait; System. Threading. SpinWait; System. Threading. SpinLock; Optimization strategy; Lock localization; Shared data minimization; Summary; Chapter 2: Lock-free Concurrency; Memory model and compiler optimizations; The System. Threading. Interlocked class; Interlocked internals; Writing lock-free code; The ABA problem; The lock-free stack. 
505 8 |a The lock-free queueSummary; Chapter 3: Understanding Parallelism Granularity; The number of threads; Using the thread pool; Understanding granularity; Choosing the coarse-grained or fine-grained approach; Summary; Chapter 4: Task Parallel Library in Depth; Task composition; Tasks hierarchy; Awaiting task completion; Task cancellation; Checking a flag; Throwing an exception; Using OS wait objects with WaitHandle; Cancellation using callbacks; Latency and the coarse-grained approach with TPL; Exception handling; Using the Parallel class; Parallel. Invoke; Parallel. For and Parallel. Foreach. 
505 8 |a Understanding the task schedulerSummary; Chapter 5: C# Language Support for Asynchrony; Implementing the downloading of images from Bing; Creating a simple synchronous solution; Creating a parallel solution with Task Parallel Library; Enhancing the code with C# 5.0 built-in support for asynchrony; Simulating C# asynchronous infrastructure with iterators; Is the async keyword really needed?; Fire-and-forget tasks; Other useful TPL features; Task. Delay; Task. Yield; Implementing a custom awaitable type; Summary; Chapter 6: Using Concurrent Data Structures. 
505 8 |a Standard collections and synchronization primitivesImplementing a cache with ReaderWriterLockSlim; Concurrent collections in .NET; ConcurrentDictionary; Using Lazy; Implementation details; Lock-free operations; Fine-grained lock operations; Exclusive lock operations; Using the implementation details in practice; ConcurrentBag; ConcurrentBag in practice; ConcurrentQueue; ConcurrentStack; The Producer/Consumer pattern; Custom Producer/Consumer pattern implementation; The Producer/Consumer pattern in .NET 4.0+; Summary; Chapter 7: Leveraging Parallel Patterns; Concurrent idioms. 
505 8 |a Process Tasks in Completion OrderLimiting the parallelism degree; Setting a task timeout; Asynchronous patterns; Asynchronous Programming Model; Event-based Asynchronous Pattern; Task-based Asynchronous Pattern; Concurrent patterns; Parallel pipelines; Summary; Chapter 8: Server-side Asynchrony; Server applications; The OWIN Web API framework; Load testing and scalability; I/O and CPU-bound tasks; Deep dive into asynchronous I/O; Real and fake asynchronous I/O operations; Synchronization context; CPU-bound tasks and queues; Summary; Chapter 9: Concurrency in the User Interface. 
546 |a English. 
520 |a Create robust and scalable applications along with responsive UI using concurrency and the multi-threading infrastructure in .NET and C# About This Book Learn to combine your asynchronous operations with Task Parallel Library Master C#'s asynchronous infrastructure and use asynchronous APIs effectively to achieve optimal responsiveness of the application An easy-to-follow, example-based guide that helps you to build scalable applications using concurrency in C# Who This Book Is For If you are a C# developer who wants to develop modern applications in C# and wants to overcome problems by using asynchronous APIs and standard patterns, then this book is ideal for you. Reasonable development knowledge, an understanding of core elements and applications related to the .Net platform, and also the fundamentals of concurrency is assumed. What You Will Learn Apply general multithreading concepts to your application's design Leverage lock-free concurrency and learn about its pros and cons to achieve efficient synchronization between user threads Combine your asynchronous operations with Task Parallel Library Make your code easier with C#'s asynchrony support Use common concurrent collections and programming patterns Write scalable and robust server-side asynchronous code Create fast and responsible client applications Avoid common problems and troubleshoot your multi-threaded and asynchronous applications In Detail Starting with the traditional approach to concurrency, you will learn how to write multithreaded concurrent programs and compose ways that won't require locking. You will explore the concepts of parallelism granularity, and fine-grained and coarse-grained parallel tasks by choosing a concurrent program structure and parallelizing the workload optimally. You will also learn how to use task parallel library, cancellations, timeouts, and how to handle errors. You will know how to choose the appropriate data structure for a specific parallel algorithm to achieve scalability and performance. Further, you'll learn about server scalability, asynchronous I/O, and thread pools, and write responsive traditional Windows and Windows Store applications. By the end of the book, you will be able to diagnose and resolve typical problems that could happen in multithreaded applications. Style and approach An easy-to-follow, example-based guide that will walk you through the core principles of concurrency and multithreading using C#. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
630 0 0 |a Microsoft .NET Framework. 
630 0 7 |a Microsoft .NET Framework.  |2 fast  |0 (OCoLC)fst01020083 
650 0 |a C# (Computer program language) 
650 0 |a Application software  |x Development. 
650 6 |a C# (Langage de programmation) 
650 6 |a Logiciels d'application  |x Développement. 
650 7 |a COMPUTERS  |x Programming Languages  |x C♯  |2 bisacsh 
650 7 |a COMPUTERS  |x Programming Languages  |x Java.  |2 bisacsh 
650 7 |a COMPUTERS  |x Programming Languages  |x Pascal.  |2 bisacsh 
650 7 |a Application software  |x Development.  |2 fast  |0 (OCoLC)fst00811707 
650 7 |a C# (Computer program language)  |2 fast  |0 (OCoLC)fst00843284 
700 1 |a Koryavchenko, Andrew,  |e author. 
776 0 8 |i Print version:  |a Agafonov, Eugene.  |t Mastering C# Concurrency.  |d Birmingham : Packt Publishing Ltd, ©2015  |z 9781785286650 
830 0 |a Professional expertise distilled. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781785286650/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a EBL - Ebook Library  |b EBLB  |n EBL4191147 
938 |a EBSCOhost  |b EBSC  |n 1087972 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis32996259 
938 |a YBP Library Services  |b YANK  |n 12684661 
994 |a 92  |b IZTAP