O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Use Go Channel to write a
Disk Queue
Evan Lin @ Linker Networks
Go Channel
What is NSQ
What is DiskQueue in NSQ
Basic Channel Concept in
Disk Queue
InLoop Channel
Response
Channel
Working Loop
Thread
Data
Result
Input (write) Channel
Input (write) Channel
Data
Write Channel
Write Response
Channel
Working Loop
Thread
Result
Output (read) Channel
Out (read) Channel
Read Channel
Working Loop
Thread
DataResult
Loop GoRoutine
Use go channel to write a disk queue
Use go channel to write a disk queue
Use go channel to write a disk queue
Use go channel to write a disk queue
Próximos SlideShares
Carregando em…5
×

Use go channel to write a disk queue

770 visualizações

Publicada em

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.

Publicada em: Internet
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

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

×