THE COMPLETE COLLECTION
The complete library.
01A Quick Pointer PrimerLanguages↗02Allocating SlicesLanguages↗03Allocating slices with makeLanguages↗04Allocating with newLanguages↗05Arrays—Too Rigid to Use DirectlyLanguages↗06Blank Returns—Never Use These!Languages↗07BlocksLanguages↗08Branching with ifLanguages↗09C / C++Languages↗10CSSLanguages↗11Caching Test ResultsLanguages↗12CapacityLanguages↗13Checking Your Code CoverageLanguages↗14Choosing the Right for StatementLanguages↗15Choosing with switchLanguages↗16Cleaning up with deferLanguages↗17Cleanup, Context, and HelperLanguages↗18ClosuresLanguages↗19Code Review: Advanced TestingLanguages↗20Code Review: Basic TestingLanguages↗21Code Review: Blocks, shadowing, and if statementsLanguages↗22Code Review: Function values and closuresLanguages↗23Code Review: Intro to pointers, new, and shallow copiesLanguages↗24Code Review: Slices and ArraysLanguages↗25Code Review: Strings and MapsLanguages↗26Code Review: StructsLanguages↗27Code Review: Tests with Mocks and StubsLanguages↗28Code Review: Using Pointers, Slices, and MapsLanguages↗29Code Review: Working with the Garbage CollectorLanguages↗30Code Review: defer and call by valueLanguages↗31Code Review: for loopsLanguages↗32Code Review: functions, parameters, and return valuesLanguages↗33Code Review: switch and gotoLanguages↗34Comparing MapsLanguages↗35Comparing SlicesLanguages↗36Converting Arrays to SlicesLanguages↗37Converting Slices to ArraysLanguages↗38Copying MapsLanguages↗39Copying Slices of SlicesLanguages↗40Declaring Your SliceLanguages↗41Declaring and Calling FunctionsLanguages↗42Deleting from MapsLanguages↗43Don’t Fear the PointersLanguages↗44Emptying a MapLanguages↗45Emptying a SliceLanguages↗46Finding Concurrent Data Access Problems with the Data Race DetectorLanguages↗47Functions Are ValuesLanguages↗48FuzzingLanguages↗49Go Is Call by ValueLanguages↗50Go study notesLanguages↗51Growing slices with appendLanguages↗52Ignoring Returned ValuesLanguages↗53JavaScript & ES6Languages↗54Labeling Your for StatementsLanguages↗55LoggingLanguages↗56MapsLanguages↗57Measuring slice lengthLanguages↗58Multiple Return ValuesLanguages↗59Named Return ValuesLanguages↗60Other Slice FunctionsLanguages↗61Pointer Passing PerformanceLanguages↗62Pointers Are a Last ResortLanguages↗63Pointers Indicate Mutable ParametersLanguages↗64Practice: Advanced TestingLanguages↗65Practice: Basic TestingLanguages↗66Practice: Blocks, shadowing, and if statementsLanguages↗67Practice: Function values and closuresLanguages↗68Practice: Intro to pointers, new, and shallow copiesLanguages↗69Practice: Slices and ArraysLanguages↗70Practice: Strings and MapsLanguages↗71Practice: StructsLanguages↗72Practice: Tests with Mocks and StubsLanguages↗73Practice: Using Pointers, Slices, and MapsLanguages↗74Practice: Working with the Garbage CollectorLanguages↗75Practice: defer and call by valueLanguages↗76Practice: for loopsLanguages↗77Practice: functions, parameters, and return valuesLanguages↗78Practice: switch and gotoLanguages↗79PythonLanguages↗80Reading and Writing a MapLanguages↗81Recap: Blocks, Shadows, and Control StructuresLanguages↗82Recap: Composite TypesLanguages↗83Recap: FunctionsLanguages↗84Recap: PointersLanguages↗85Recap: Writing TestsLanguages↗86Reducing the Garbage Collector’s WorkloadLanguages↗87Reporting Test FailuresLanguages↗88Running Table TestsLanguages↗89Running Tests ConcurrentlyLanguages↗90Saving Test ArtifactsLanguages↗91Setting Up and Tearing DownLanguages↗92Sharing and Copying SlicesLanguages↗93Simulating Named and Optional ParametersLanguages↗94SlicesLanguages↗95Slices as BuffersLanguages↗96Slicing SlicesLanguages↗97Storing Sample Test DataLanguages↗98Strings and Runes and BytesLanguages↗99StructsLanguages↗100Test Concurrent Code with synctestLanguages↗101Testing Your Public APILanguages↗102Testing with Environment VariablesLanguages↗103Tests and the ContextLanguages↗104The Complete for StatementLanguages↗105The Condition-Only for StatementLanguages↗106The Difference Between Maps and SlicesLanguages↗107The Infinite for StatementLanguages↗108The Zero Value Versus No ValueLanguages↗109The comma ok IdiomLanguages↗110The versatile for-range StatementLanguages↗111Tuning the Garbage CollectorLanguages↗112Understanding the Basics of TestingLanguages↗113Using BenchmarksLanguages↗114Using Integration Tests and Build TagsLanguages↗115Using Maps as SetsLanguages↗116Using Stubs in GoLanguages↗117Using go-cmp to Compare Test ResultsLanguages↗118Variadic Input Parameters and SlicesLanguages↗119Weak PointersLanguages↗120What Is a Hash Map?Languages↗121Working with Temporary DirectoriesLanguages↗122break and continueLanguages↗123for, Four WaysLanguages↗124goto—Yes, gotoLanguages↗125A 4-step process for effective system design interviewSystems↗126A framework for system design interviewsSystems↗127A practical study methodSystems↗128API EndpointsSystems↗129APIsSystems↗130APIsSystems↗131Actual Serial ExecutionSystems↗132Add a serverSystems↗133Additional components and considerationsSystems↗134Aiming for CorrectnessSystems↗135Algorithms for rate limitingSystems↗136Asynchronous transactionsSystems↗137Availability numbersSystems↗138Average, Median, and PercentilesSystems↗139AvroSystems↗140B-TreesSystems↗141Back of the envelope estimationSystems↗142Back of the envelope estimationSystems↗143Back of the envelope estimationSystems↗144Back of the envelope estimationSystems↗145Back of the envelope estimationSystems↗146Back-of-the-envelope estimationSystems↗147Backups and ReplicationSystems↗148Batch Processing ModelsSystems↗149Batch Processing in Distributed SystemsSystems↗150Batch Processing with Unix ToolsSystems↗151Batch Use CasesSystems↗152Batch and Stream ProcessingSystems↗153Block serversSystems↗154Byzantine FaultsSystems↗155CAP theoremSystems↗156CacheSystems↗157Cache architectureSystems↗158Cache tierSystems↗159CachingSystems↗160Case Study: Social Network Home TimelinesSystems↗161Change Data CaptureSystems↗162Characterizing Transaction Processing and AnalyticsSystems↗163Clock Synchronization and AccuracySystems↗164Cloud Data WarehousesSystems↗165Cloud Native System ArchitectureSystems↗166Cloud Versus Self-HostingSystems↗167Column-Oriented StorageSystems↗168Combining Specialized Tools by Deriving DataSystems↗169Common failure causesSystems↗170Company engineering blogsSystems↗171Comparing B-Trees and LSM-TreesSystems↗172Composing Data Storage TechnologiesSystems↗173ConsensusSystems↗174Consensus in PracticeSystems↗175Consent and Freedom of ChoiceSystems↗176Considerations for using cacheSystems↗177Considerations of using a CDNSystems↗178ConsistencySystems↗179Consistent hashingSystems↗180Consistent prefix readsSystems↗181Contact info gathering flowSystems↗182Content delivery network (CDN)Systems↗183Content delivery networksSystems↗184Continuous delivery and deploymentSystems↗185Control planes and data planesSystems↗186Coordination ServicesSystems↗187Coordination avoidanceSystems↗188DFS vs BFSSystems↗189Data IntegrationSystems↗190Data Storage for AnalyticsSystems↗191Data Systems, Law, and SocietySystems↗192Data WarehousingSystems↗193Data as Assets and PowerSystems↗194Data centersSystems↗195Data gathering serviceSystems↗196Data gathering serviceSystems↗197Data modelSystems↗198Data modelsSystems↗199Data partitionSystems↗200Data replicationSystems↗201Data storageSystems↗202Data-intensive applicationsSystems↗203DataFramesSystems↗204DataFrames, Matrices, and ArraysSystems↗205DatabaseSystems↗206Database replicationSystems↗207Database scalingSystems↗208Database-Internal Distributed TransactionsSystems↗209Databases and StreamsSystems↗210Dataflow EnginesSystems↗211Dataflow Through DatabasesSystems↗212Dataflow Through Services: REST and RPCSystems↗213Datalog: Recursive Relational QueriesSystems↗214Dealing with Conflicting WritesSystems↗215Describing PerformanceSystems↗216Design Google DriveSystems↗217Design YouTubeSystems↗218Design a URL shortenerSystems↗219Design a chat systemSystems↗220Design a key-value storeSystems↗221Design a news feed systemSystems↗222Design a notification systemSystems↗223Design a rate limiterSystems↗224Design a search autocomplete systemSystems↗225Design a unique ID generator in distributed systemsSystems↗226Design a web crawlerSystems↗227Design consistent hashingSystems↗228Designing Applications Around DataflowSystems↗229Detailed designSystems↗230Detect and avoid problematic contentSystems↗231Detecting Concurrent WritesSystems↗232Different types of notificationsSystems↗233Directed acyclic graph (DAG) modelSystems↗234DiscoverySystems↗235Distributed FilesystemsSystems↗236Distributed Job OrchestrationSystems↗237Distributed Locks and LeasesSystems↗238Distributed TransactionsSystems↗239Distributed Transactions Across Different SystemsSystems↗240Distributed Versus Single-Node SystemsSystems↗241Distributed key-value storeSystems↗242Distributed systemsSystems↗243Download flowSystems↗244Downstream resiliencySystems↗245Durable Execution and WorkflowsSystems↗246Enforcing ConstraintsSystems↗247Error handlingSystems↗248Event Sourcing and CQRSSystems↗249Event-Driven ArchitecturesSystems↗250Exactly-Once Message Processing RevisitedSystems↗251Example: Estimate Twitter QPS and storage requirementsSystems↗252Exceeding the rate limitSystems↗253ExtensibilitySystems↗254Failure HandlingSystems↗255Failure detectionSystems↗256Fault DetectionSystems↗257Fault ToleranceSystems↗258Fault ToleranceSystems↗259Fault isolationSystems↗260Faults and Partial FailuresSystems↗261Feed publishingSystems↗262Feed publishing deep diveSystems↗263File storageSystems↗264Final wordsSystems↗265Find affected keysSystems↗266Formal Methods and Randomized TestingSystems↗267Formats for Encoding DataSystems↗268Geographically Distributed OperationSystems↗269Graph Queries in SQLSystems↗270Graph-Like Data ModelsSystems↗271GraphQLSystems↗272HTML DownloaderSystems↗273HTTP cachingSystems↗274Handling Node OutagesSystems↗275Handling failuresSystems↗276Hardware and Software FaultsSystems↗277Hash functionSystems↗278Hash keysSystems↗279Hash serversSystems↗280Hash space and hash ringSystems↗281High consistency requirementSystems↗282High-level architectureSystems↗283High-level designSystems↗284High-level designSystems↗285Horizontal scalingSystems↗286How Important Is Reliability?Systems↗287Humans and ReliabilitySystems↗288ID Generators and Logical ClocksSystems↗289Implementation of Replication LogsSystems↗290Implementing Linearizable SystemsSystems↗291Inconsistency resolution: versioningSystems↗292IntroductionSystems↗293JSON, XML, and Binary VariantsSystems↗294Joins and GroupingSystems↗295Keeping Everything in MemorySystems↗296Keeping Systems in SyncSystems↗297Knowledge, Truth, and LiesSystems↗298Language-Specific FormatsSystems↗299Latency and Response TimeSystems↗300Latency numbers every programmer should knowSystems↗301Leader electionSystems↗302Leaderless ReplicationSystems↗303Legislation and Self-RegulationSystems↗304LinearizabilitySystems↗305Linearizability Versus SerializabilitySystems↗306Linearizable ID GeneratorsSystems↗307Load balancerSystems↗308Log-Based Message BrokersSystems↗309Log-Structured StorageSystems↗310Logging, metrics, automationSystems↗311Logical ClocksSystems↗312Long pollingSystems↗313MaintainabilitySystems↗314ManageabilitySystems↗315Many-to-One and Many-to-Many RelationshipsSystems↗316MapReduceSystems↗317Materialized Views and Data CubesSystems↗318Message flowsSystems↗319Message queueSystems↗320MessagingSystems↗321Messaging SystemsSystems↗322Metadata databaseSystems↗323MicroservicesSystems↗324Millions of users and beyondSystems↗325Modes of DataflowSystems↗326MonitoringSystems↗327MonitoringSystems↗328Monotonic Versus Time-of-Day ClocksSystems↗329Monotonic readsSystems↗330Move away from single serverSystems↗331Multi-Leader ReplicationSystems↗332Multi-Region OperationSystems↗333Multi-master replicationSystems↗334Multicolumn and Secondary IndexesSystems↗335Multidimensional and Full-Text IndexesSystems↗336Network Faults in PracticeSystems↗337Network load balancingSystems↗338Newsfeed APIsSystems↗339Newsfeed buildingSystems↗340Newsfeed retrieval deep diveSystems↗341Normalization, Denormalization, and JoinsSystems↗342Notification sending/receiving flowSystems↗343Notification serviceSystems↗344Object StoresSystems↗345ObservabilitySystems↗346Observing Derived StateSystems↗347Online presenceSystems↗348Operational Versus Analytical SystemsSystems↗349Operations in the Cloud EraSystems↗350Operations: Automatic Versus Manual RebalancingSystems↗351Overview: CommunicationSystems↗352Overview: CoordinationSystems↗353Overview: MaintainabilitySystems↗354Overview: ResiliencySystems↗355Overview: ScalabilitySystems↗356PartitioningSystems↗357Performance optimizationSystems↗358PollingSystems↗359Power of twoSystems↗360Predictive AnalyticsSystems↗361Preventing Lost UpdatesSystems↗362Privacy and TrackingSystems↗363Privacy and Use of DataSystems↗364Problems with Replication LagSystems↗365Process PausesSystems↗366Processing StreamsSystems↗367Property GraphsSystems↗368Pros and Cons of Cloud ServicesSystems↗369Pros and Cons of ShardingSystems↗370Protocol BuffersSystems↗371Query Execution: Compilation and VectorizationSystems↗372Query LanguagesSystems↗373Query serviceSystems↗374Query serviceSystems↗375Rate limiter in a distributed environmentSystems↗376Rate limiting rulesSystems↗377Read CommittedSystems↗378Read pathSystems↗379Reading your own writesSystems↗380Real-world systemsSystems↗381Reasoning About TimeSystems↗382Recap: A Philosophy of Streaming SystemsSystems↗383Recap: Batch ProcessingSystems↗384Recap: Consistency and ConsensusSystems↗385Recap: Data Models and Query LanguagesSystems↗386Recap: Defining Nonfunctional RequirementsSystems↗387Recap: Doing the Right ThingSystems↗388Recap: Encoding and EvolutionSystems↗389Recap: ReplicationSystems↗390Recap: ShardingSystems↗391Recap: Storage and RetrievalSystems↗392Recap: Stream ProcessingSystems↗393Recap: The Trouble with Distributed SystemsSystems↗394Recap: Trade-Offs in Data Systems ArchitectureSystems↗395Recap: TransactionsSystems↗396RedundancySystems↗397Relational Versus Document ModelsSystems↗398ReliabilitySystems↗399Reliability and Fault ToleranceSystems↗400Reliable linksSystems↗401Relying on LinearizabilitySystems↗402Relying on Synchronized ClocksSystems↗403Remembering the Industrial RevolutionSystems↗404Remove a serverSystems↗405ReplicationSystems↗406Request RoutingSystems↗407RobustnessSystems↗408Save storage spaceSystems↗409ScalabilitySystems↗410Scalable Cross-platform DesignSystems↗411Scale from zero to millions of usersSystems↗412Scale the storageSystems↗413Secure linksSystems↗414SerializabilitySystems↗415Serializable Snapshot IsolationSystems↗416Server lookupSystems↗417Service discoverySystems↗418Setting Up New FollowersSystems↗419Sharding and PartitioningSystems↗420Sharding and Secondary IndexesSystems↗421Sharding by Hash of KeySystems↗422Sharding by Key RangeSystems↗423Sharding of Key-Value DataSystems↗424Shuffling DataSystems↗425Single server key-value storeSystems↗426Single server setupSystems↗427Single-Leader ReplicationSystems↗428Single-Leader Versus Leaderless Replication PerformanceSystems↗429Single-Object and Multi-Object OperationsSystems↗430Skewed Workloads and Relieving Hot SpotsSystems↗431Snapshot Isolation and Repeatable ReadSystems↗432Solutions for Replication LagSystems↗433Stars and Snowflakes: Schemas for AnalyticsSystems↗434State, Streams, and ImmutabilitySystems↗435Stateful architectureSystems↗436Stateless architectureSystems↗437Stateless web tierSystems↗438Step 1 - Understand the problem and establish design scopeSystems↗439Step 1 - Understand the problem and establish design scopeSystems↗440Step 1 - Understand the problem and establish design scopeSystems↗441Step 1 - Understand the problem and establish design scopeSystems↗442Step 1 - Understand the problem and establish design scopeSystems↗443Step 1 - Understand the problem and establish design scopeSystems↗444Step 1 - Understand the problem and establish design scopeSystems↗445Step 1 - Understand the problem and establish design scopeSystems↗446Step 1 - Understand the problem and establish design scopeSystems↗447Step 1 - Understand the problem and establish design scopeSystems↗448Step 1 - Understand the problem and establish design scopeSystems↗449Step 2 - Propose high-level design and get buy-inSystems↗450Step 2 - Propose high-level design and get buy-inSystems↗451Step 2 - Propose high-level design and get buy-inSystems↗452Step 2 - Propose high-level design and get buy-inSystems↗453Step 2 - Propose high-level design and get buy-inSystems↗454Step 2 - Propose high-level design and get buy-inSystems↗455Step 2 - Propose high-level design and get buy-inSystems↗456Step 2 - Propose high-level design and get buy-inSystems↗457Step 2 - Propose high-level design and get buy-inSystems↗458Step 2 - Propose high-level design and get buy-inSystems↗459Step 2 - Propose high-level design and get buy-inSystems↗460Step 3 - Design deep diveSystems↗461Step 3 - Design deep diveSystems↗462Step 3 - Design deep diveSystems↗463Step 3 - Design deep diveSystems↗464Step 3 - Design deep diveSystems↗465Step 3 - Design deep diveSystems↗466Step 3 - Design deep diveSystems↗467Step 3 - Design deep diveSystems↗468Step 3 - Design deep diveSystems↗469Step 3 - Design deep diveSystems↗470Step 3 - Design deep diveSystems↗471Step 4 - Wrap upSystems↗472Step 4 - Wrap upSystems↗473Step 4 - Wrap upSystems↗474Step 4 - Wrap upSystems↗475Step 4 - Wrap upSystems↗476Step 4 - Wrap upSystems↗477Step 4 - Wrap upSystems↗478Step 4 - Wrap upSystems↗479Step 4 - Wrap upSystems↗480Step 4 - Wrap upSystems↗481Step 4 - Wrap upSystems↗482Storage and Indexing for OLTPSystems↗483Stream JoinsSystems↗484Study goalsSystems↗485SummarySystems↗486SurveillanceSystems↗487Sync Engines and Local-First SoftwareSystems↗488Sync conflictsSystems↗489Synchronous Versus Asynchronous NetworksSystems↗490Synchronous Versus Asynchronous ReplicationSystems↗491System Model and RealitySystems↗492System architecture diagramSystems↗493System componentsSystems↗494System designSystems↗495System modelsSystems↗496System optimizationsSystems↗497Systems of Record and Derived DataSystems↗498Terminology clashSystems↗499TestingSystems↗500The Cost of LinearizabilitySystems↗501The Cypher Query LanguageSystems↗502The End-to-End Argument for DatabasesSystems↗503The Impossibility of ConsensusSystems↗504The Limitations of TCPSystems↗505The Majority RulesSystems↗506The Many Faces of ConsensusSystems↗507The Meaning of ACIDSystems↗508The Merits of SchemasSystems↗509The Object-Relational MismatchSystems↗510The learning continuesSystems↗511The rehashing problemSystems↗512Ticket ServerSystems↗513TimeSystems↗514Time allocation on each stepSystems↗515Timeliness and IntegritySystems↗516Timeouts and Unbounded DelaysSystems↗517TipsSystems↗518Topics in this learning pathSystems↗519TransactionsSystems↗520Transmitting Event StreamsSystems↗521Trie data structureSystems↗522Trie operationsSystems↗523Triple Stores and SPARQLSystems↗524Trust, but VerifySystems↗525Twitter snowflake approachSystems↗526Two issues in the basic approachSystems↗527Two-Phase CommitSystems↗528Two-Phase LockingSystems↗529URL frontierSystems↗530URL redirectingSystems↗531URL redirecting deep diveSystems↗532URL shorteningSystems↗533URL shortening deep diveSystems↗534UUIDSystems↗535Unbundling DatabasesSystems↗536Understand the problem and establish design scopeSystems↗537Unreliable ClocksSystems↗538Unreliable NetworksSystems↗539Updated designSystems↗540Upload flowSystems↗541Upstream resiliencySystems↗542Use of Response Time MetricsSystems↗543Uses of Stream ProcessingSystems↗544Vertical scalingSystems↗545Vertical scaling vs horizontal scalingSystems↗546Video streaming flowSystems↗547Video transcodingSystems↗548Video transcoding architectureSystems↗549Video uploading flowSystems↗550Virtual nodesSystems↗551Weak Isolation LevelsSystems↗552WebSocketSystems↗553What Exactly Is a Transaction?Systems↗554What Makes a System Linearizable?Systems↗555When an Overloaded System Won’t RecoverSystems↗556When to Use Which ModelSystems↗557Where to put the rate limiter?Systems↗558Which databases to use?Systems↗559Wrap upSystems↗560Write Skew and PhantomsSystems↗561Write pathSystems↗562Writing to the Database When a Node Is DownSystems↗563AI & Machine LearningAI & ML↗564ResearchAI & ML↗565MongoDBDatabases↗566PostgreSQLDatabases↗567SQLDatabases↗568Developer ToolsDevelopment↗569DjangoDevelopment↗570GitDevelopment↗571MarkdownDevelopment↗572Vim CheatsheetDevelopment↗573Data Structures & AlgorithmsAlgorithms↗574Programming Interview Study PlanAlgorithms↗575Sorting AlgorithmsAlgorithms↗576Worked SolutionsAlgorithms↗577Terminal CommandsThe garage↗578ThinkPadThe garage↗
No saved notes yet. Open a note and select “Save note” to keep it here.
OFF THE KEYBOARD
Handwritten notes.
The original pages. Computer science, one page at a time.
PDFCN↗PDFCombinatorics↗PDFDBMS- Part 1↗PDFDBMS- Part 2↗PDFGraph Theory↗PDFOS↗PDFSet Theory↗PDFcompiler design↗PDFtocc↗
Reference shelf
LEARN BY DOING
Open a notebook.
Python experiments and examples. Preview on GitHub.