We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

gRPC Python, C Extensions, and AsyncIO

00:00

Formal Metadata

Title
gRPC Python, C Extensions, and AsyncIO
Subtitle
How to make AsyncIO work with the gRPC Core
Title of Series
Number of Parts
130
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Goal - Encourage Python developers to understand C extensions by sharing gRPC Python’s practice, and advocate the adoption of AsyncIO. Prerequisite - Understand thread vs. process; - Interested in asynchronous programming. gRPC Brief - What’s gRPC Core? And what is gRPC Python? Cython To The Rescue - Why we picked Cython among all other available tools (e.g., pybind11, ctypes) - Debuggability: pdb & gdb The GIL Friction - How to delegate work to C extension - How to make multithreading work AsyncIO Topic - Not blocking the loop, the main headache. - Non-blocking I/O solution 1: replacing C libraries’ I/O operations - Non-blocking I/O solution 2: dedicated background poller thread - Performance improvement (10k -> 20k for client, 4k -> 16k for server) Migration to AsyncIO - Tolerate multithreading and AsyncIO in the same application - Make both API co-existable in the same application
Projective planeMereologyFlow separationScaling (geometry)Software engineeringSoftware repositoryComputer virusService (economics)Right angleField extensionAreaOpen sourcePhysical systemBuildingEmailKummer-TheorieProduct (business)SoftwareInformationGoogol
Kummer-TheorieSoftwareMaizeOpen sourceCache (computing)Software maintenanceSoftware frameworkWeightDirection (geometry)Core dumpWrapper (data mining)Asynchronous Transfer ModeCompilation albumDisintegrationUnified threat managementComplex (psychology)Revision controlModule (mathematics)Boilerplate (text)Disk read-and-write headMobile appCodeSupremumBootingTemplate (C++)EmailFormal languageLogicHand fanFrictionFormal languageTotal S.A.SimulationCompilation albumSoftware maintenanceDifferent (Kate Ryan album)Semiconductor memoryFamilyCycle (graph theory)Projective planeMultiplication signSoftware developerKummer-TheorieRemote procedure callField extensionEndliche ModelltheorieProcess (computing)LeakInformation securityData compressionSource codeOpen sourceGoogolWrapper (data mining)INTEGRAL1 (number)Functional (mathematics)Structural loadSpacetimeTemplate (C++)LastteilungSoftware engineeringElectric generatorInheritance (object-oriented programming)Complex (psychology)Interface (computing)Memory managementWritingRevision controlInformation retrievalDesign by contractObject (grammar)Line (geometry)CodeMereologySoftware frameworkFrame problemConnectivity (graph theory)WindowError messagePhysical systemCommunications protocolVideo gameEmailCore dumpLevel (video gaming)Mechanism designModule (mathematics)Computing platformLogicComputer animation
Template (C++)CodeEmailFormal languageLogicHand fanBootingMathematicsReading (process)Source codeExecution unitInterrupt <Informatik>Data modelThread (computing)Core dumpAspect-oriented programmingLatent heatMathematicsLibrary (computing)Formal languageLoop (music)Revision controlCodeThread (computing)SubsetNumberLimit (category theory)Variable (mathematics)Fluid staticsProxy serverInternet service providerRootRemote procedure callDoubling the cubeStress (mechanics)Source codeHand fanPortable communications deviceCycle (graph theory)Video gamePrime idealOrder (biology)Single-precision floating-point formatEvent horizonCore dumpLevel (video gaming)Endliche ModelltheorieDeadlockServer (computing)NeuroinformatikPatch (Unix)Streaming mediaWebsiteObject (grammar)SpacetimeDivisorLine (geometry)Software maintenanceModule (mathematics)Asynchronous Transfer ModeInterpreter (computing)Stack (abstract data type)Frame problemPerformance appraisalProcess (computing)Scripting languageConcurrency (computer science)Entire functionCoroutineQuicksortComputer animation
Dependent and independent variablesLoop (music)Instance (computer science)Interface (computing)Event horizonSoftware frameworkSimilarity (geometry)Beer steinComplete metric spaceSystem callImplementationStack (abstract data type)SynchronizationDemosceneServer (computing)Library (computing)Thread (computing)Electric currentBlock (periodic table)Core dumpMedical imagingWeightInterface (computing)Loop (music)DemosceneSystem callStack (abstract data type)Revision controlGroup actionData compressionFunctional (mathematics)Service (economics)Multiplication signPhysical systemCustomer relationship managementLibrary (computing)Cartesian coordinate systemServer (computing)Table (information)SoftwareTouchscreenImplementationData managementClient (computing)Event horizonSoftware frameworkResultantComplete metric spaceOperator (mathematics)Numeral (linguistics)Primitive (album)Pattern languageCore dumpBlock (periodic table)Network socketGraph (mathematics)Queue (abstract data type)Game controllerDifferent (Kate Ryan album)Task (computing)Query language2 (number)Perfect groupGoodness of fitComputer animation
Stack (abstract data type)SynchronizationImplementationThread (computing)Event horizonBlock (periodic table)Electric currentLoop (music)CodeCore dumpNegative numberDeadlockFunction (mathematics)Network socketComplete metric spaceObject (grammar)Socket-SchnittstelleSoftware testingClient (computing)DeadlockCartesian coordinate systemImplementationClient (computing)1 (number)RandomizationMessage passingWechselseitiger AusschlussProper mapStack (abstract data type)Physical systemContext awarenessMoment (mathematics)Content (media)Library (computing)Compass (drafting)WebsiteCore dumpFunctional (mathematics)Set (mathematics)CodeEvent horizonINTEGRALTable (information)SynchronizationMathematicsSuite (music)SurfaceMultiplication signThread (computing)Operator (mathematics)Software testingFormal languageData managementRevision controlSystem callEnvelope (mathematics)Goodness of fitWhiteboardEnterprise resource planningGoogolCloud computingProcess (computing)Data compressionIntelExpandierender GraphServer (computing)Loop (music)CurveRow (database)Computer animation
Moment (mathematics)Speech synthesisData conversionFigurate numberComputer animationMeeting/Interview
Transcript: English(auto-generated)