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.
Introduction to Koyomi
#appkoyomi
@key_amb
In Gotanda.pm #5
Who am I ?
❏ @key_amb
❏ Software Engineer
❏ Serverside, Web, Ops, Admin
❏ https://github.com/key-amb
❏ https://metacpan.or...
What is “Koyomi” ?
❏ https://github.com/key-amb/perl5-App-Koyomi
❏ Documentation - http://key-amb.github.io/App-
Koyomi-Do...
Architecture of Koyomi
Jobs
worker A
worker B
Architecture of Koyomi
Jobs
worker A
worker B
Exec Job 1
Can’t exec Job 1
Architecture of Koyomi
❏ In one Koyomi Cluster,
❏ Every worker has the same Jobs’ Datastore
❏ Each Job is executed by only...
Requirements
❏ Perl v5.10.1 or later
❏ Supported Datastore:
❏ MySQL
❏ SQLite … No Redundancy
koyomi-cli
❏ For CRUD of Jobs
koyomi-cli add # Create
koyomi-cli list # Read
koyomi-cli modify -id X # Update
koyomi-cli d...
Koyomi Tutorial (Japanese Only)
❏ Koyomi を CentOS 7 にインストールし、
Systemd で動かす - Qiita (Jun. 21, 2015)
YAPC::Asia Tokyo 2015
❏ Applied for a Talk:
Koyomi - A Simple Distributed Job
Scheduler for High Availability
DEMO
Thank you!
Upcoming SlideShare
Loading in …5
×

Introduction to koyomi #appkoyomi

1,462 views

Published on

Introduction to Koyomi - https://github.com/key-amb/perl5-App-Koyomi

Published in: Technology
  • Be the first to comment

Introduction to koyomi #appkoyomi

  1. 1. Introduction to Koyomi #appkoyomi @key_amb In Gotanda.pm #5
  2. 2. Who am I ? ❏ @key_amb ❏ Software Engineer ❏ Serverside, Web, Ops, Admin ❏ https://github.com/key-amb ❏ https://metacpan.org/author/KEYAMB
  3. 3. What is “Koyomi” ? ❏ https://github.com/key-amb/perl5-App-Koyomi ❏ Documentation - http://key-amb.github.io/App- Koyomi-Doc/ ❏ cron like Job Scheduler ❏ Jobs’ datastore is separate from its executors ❏ Latest release - v0.5.2 (at Jun. 26, 2015)
  4. 4. Architecture of Koyomi Jobs worker A worker B
  5. 5. Architecture of Koyomi Jobs worker A worker B Exec Job 1 Can’t exec Job 1
  6. 6. Architecture of Koyomi ❏ In one Koyomi Cluster, ❏ Every worker has the same Jobs’ Datastore ❏ Each Job is executed by only one worker at once ❏ How does Koyomi do that? ❏ Each worker tries to acquire the mutex of the job beforehand ❏ Only one successful worker can acquire it ❏ Then he will run the job
  7. 7. Requirements ❏ Perl v5.10.1 or later ❏ Supported Datastore: ❏ MySQL ❏ SQLite … No Redundancy
  8. 8. koyomi-cli ❏ For CRUD of Jobs koyomi-cli add # Create koyomi-cli list # Read koyomi-cli modify -id X # Update koyomi-cli delete -id X # Delete
  9. 9. Koyomi Tutorial (Japanese Only) ❏ Koyomi を CentOS 7 にインストールし、 Systemd で動かす - Qiita (Jun. 21, 2015)
  10. 10. YAPC::Asia Tokyo 2015 ❏ Applied for a Talk: Koyomi - A Simple Distributed Job Scheduler for High Availability
  11. 11. DEMO
  12. 12. Thank you!

×