Coder Social home page Coder Social logo

shubhamverma1811 / go-concurrency-exercises Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loong/go-concurrency-exercises

0.0 0.0 0.0 1.4 MB

Hands on exercises with real-life examples to study and practice Go concurrency patterns. Test-cases are provided to verify your answers.

License: Other

Go 100.00%

go-concurrency-exercises's Introduction

Go Concurrency Exercises Build Status Go Report Card

Exercises for Golang's concurrency patterns.

Why

The Go community has plenty resources to read about go's concurrency model and how to use it effectively. But who actually wants to read all this!? This repo tries to teach concurrency patterns by following the 'learning by doing' approach.

Image of excited gopher

How to take this challenge

  1. Only edit main.go to solve the problem. Do not touch any of the other files.
  2. If you find a *_test.go file, you can test the correctness of your solution with go test
  3. If you get stuck, join us on Discord or Slack! Surely there are people who are happy to give you some code reviews (if not, find me via @loong ;) )

Overview

# Name of the Challenge + URL
0 Limit your Crawler
1 Producer-Consumer
2 Race Condition in Caching Cache
3 Limit Service Time for Free-tier Users
4 Graceful SIGINT Killing
5 Clean Inactive Sessions to Prevent Memory Overflow

License

 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
                    Version 2, December 2004 

 Copyleft from 2017 Long Hoang

 Everyone is permitted to copy and distribute verbatim or modified 
 copies of this license document, and changing it is allowed as long 
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 

  0. You just DO WHAT THE FUCK YOU WANT TO.

go-concurrency-exercises's People

Contributors

loong avatar benprew avatar rationull avatar malfple avatar iartarisi avatar tushar00jain avatar tyronehou avatar arvin-gao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.