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.

Gearman

15,104 views

Published on

Published in: Technology

Gearman

  1. 1. 적은 비용으로 Scalable 한 아키텍트 구축하기 Series GEARMAN charsyam@naver.com
  2. 2. Gearman? • http://gearman.org • http://www.ibm.com/developerworks/kr/library/os- gearman/index.html?ca=drs- • http://www.ibm.com/developerworks/kr/library/os- php-gearman/
  3. 3. GEARMAN -> MANAGER
  4. 4. 만든 곳 Danga : http://www.danga.com/
  5. 5. 요약하면? 일종의 Queue 서비스?
  6. 6. GearMan? Worker 와 Client 를 쉽게 구현하게 도와주는 Job Server 일종의 Broker
  7. 7. GearMan은 어디서 써? Digg: 45+ Server, 400K Jobs/day Yahoo: 120+ Server, 12M jobs/day
  8. 8. Gearman Stack
  9. 9. Gearman Flow
  10. 10. Support C,PHP,Perl,Python,…
  11. 11. Gearman Cluster
  12. 12. Gearman Cluster 한대가 오류가 나더라도 다른 서버로 접근 단, addserver 로 추가해줘야 한다.
  13. 13. Gearman Dynamic Gearman A,B 서비스 Client A 요청 Worker A 등록 작업처리 결과 전송
  14. 14. Gearman Dynamic 2 Gearman A,B 서비스 Client A 요청 A 대기 Worker A 등록 작업처리 결과 전송
  15. 15. Gearman Map/Reduce Client Gearman Job Server Map/Reduce Worker Client Client Client Gearman Job Server Worker Worker Worker
  16. 16. 결롞 생산성 향산, Scalable 지원
  17. 17. What’s Next of Gearman Rewrite in C++ Job result cache More Protocol(memcached, XMPP) TLS,SA니, multi-tenancy Replication Improved statistics reporting Event notification hooks Persistent Queue(이미 지원 Background로 돌때) - Drizzle, memecached, sqlite3 지원
  18. 18. Thank You!

×