Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Use go channel to write a disk queue

764 views

Published on

In this backup session, Evan will share how to use Golang channel to write a disk queue. You will learn more about channel and select usage.

Published in: Internet
  • Be the first to comment

  • Be the first to like this

Use go channel to write a disk queue

  1. 1. Use Go Channel to write a Disk Queue Evan Lin @ Linker Networks
  2. 2. Go Channel
  3. 3. What is NSQ
  4. 4. What is DiskQueue in NSQ
  5. 5. Basic Channel Concept in Disk Queue InLoop Channel Response Channel Working Loop Thread Data Result
  6. 6. Input (write) Channel
  7. 7. Input (write) Channel Data Write Channel Write Response Channel Working Loop Thread Result
  8. 8. Output (read) Channel
  9. 9. Out (read) Channel Read Channel Working Loop Thread DataResult
  10. 10. Loop GoRoutine

×