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.

"草APIサービス" Pixela を作った話

1,357 views

Published on

合同勉強会 in 大都会岡山 -2018 Winter- ( https://gbdaitokai.connpass.com/event/96596/ )での登壇資料です。

Published in: Technology
  • Hi there! I just wanted to share a list of sites that helped me a lot during my studies: .................................................................................................................................... www.EssayWrite.best - Write an essay .................................................................................................................................... www.LitReview.xyz - Summary of books .................................................................................................................................... www.Coursework.best - Online coursework .................................................................................................................................... www.Dissertations.me - proquest dissertations .................................................................................................................................... www.ReMovie.club - Movies reviews .................................................................................................................................... www.WebSlides.vip - Best powerpoint presentations .................................................................................................................................... www.WritePaper.info - Write a research paper .................................................................................................................................... www.EddyHelp.com - Homework help online .................................................................................................................................... www.MyResumeHelp.net - Professional resume writing service .................................................................................................................................. www.HelpWriting.net - Help with writing any papers ......................................................................................................................................... Save so as not to lose
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

"草APIサービス" Pixela を作った話

  1. 1. " API " Pixela in -2018 Winter- a-know / @a_know / 1
  2. 2. 4 4 @a_know / id:a-know 4 4 4 Mackerel 4 Customer Reliability Engineer CRE 4 Web 2
  3. 3. 3
  4. 4. 4
  5. 5. 5
  6. 6. 6
  7. 7. " API " Pixela 7
  8. 8. 8
  9. 9. Yes, GitHub Contributions Graph!! 9
  10. 10. ...... 4 commit GitHub push 4 4 GitHub : 4 " " 4 " " = " " 10
  11. 11. " " 4 " " 4 " " " " 11
  12. 12. GitHub ... 12
  13. 13. " " commit 13
  14. 14. 4 Pixela 4 https://pixe.la/ 4 14
  15. 15. " " 10 11 12 1 2 3 4 5 6 7 8 9 10 0 + 1. 1 " " 15
  16. 16. 10 11 12 1 2 3 4 5 6 7 8 9 10 - 0 + 2. kg " " 16
  17. 17. 10 11 12 1 2 3 4 5 6 7 8 9 10 0 + shibafu ( ) / sora ( ) / momiji ( ) / ichou ( ) / ajisai ( ) / kuro ( ) 17
  18. 18. Pixela "Web API " 4 Pixela Web API "API " 4 18
  19. 19. curl -X POST https://pixe.la/v1/users -d '{"token":"thisissecret", "username":"okayama-taro", "agreeTermsOfService":"yes", "notMinor":"yes"}' curl -X POST https://pixe.la/v1/users/okayama-taro/ graphs -H 'X-USER-TOKEN:thisissecret' -d '{"id":"test- graph","name":"graph- name","unit":"commit","type":"int","color":"shibafu"}' curl -X POST https://pixe.la/v1/users/okayama-taro/graphs/ test-graph -H 'X-USER-TOKEN:thisissecret' -d '{"date":"20181015","quantity":"5"}' 19
  20. 20. "Web API " 4 Amazon Dash 4 4 4 OK Google 4 20
  21. 21. 21
  22. 22. 22
  23. 23. 23
  24. 24. Mashup Awards 2018 API 24
  25. 25. Pixela " " 25
  26. 26. 4 GCP Google Cloud Platform GAE Google App Engine 4 Google App Engine ? | App Engine | Google Cloud 4 PaaS 4 Java PHP Go 4 26
  27. 27. Google App Engine 4 4 Go msec 4 4 27
  28. 28. Google App Engine 4 4 4 4 30 4 4 gVisor GAE 2nd generation !! 28
  29. 29. Google App Engine 4 GAE 4 4 GAE 4 4 a-know 4 GAE 2009 4,5 29
  30. 30. 4 Go 4 Go 4 4 4 go.mercari.io/datastore github.com/go-chi/chi 4 Go 30
  31. 31. 4 Go 4 65% 4 CI 31
  32. 32. 4 GAE Datastore Appengine Datastore 4 Key-Value-Store 4 GAE 4 4 Datastore GAE ... 32
  33. 33. Datastore 4 4 key entity 4 Strong Consistency 4 key 33
  34. 34. Datastore 4 4 entity 4 4 Eventual Consistency ... 34
  35. 35. Datastore 4 entity 4 Ancestor Query Strong Consistency 35
  36. 36. Pixela Datastore 4 Pixela 4 Pixela entity User / Graph / Pixel 4 4 Ancestor Query 36
  37. 37. Pixela Datastore 4 Pixela 1 Pixel API 4 Pixel yyyyMMdd 4 1 Pixel getMulti() 4 37
  38. 38. Datastore 4 GAE memcache 4 memcache memcache 38
  39. 39. 4 4 Bootstrap @ wrapbootstrap 4 makowis 39
  40. 40. 4 Mackerel 4 mackerel-agent 4 GAE ... 4 GAE GCP 40
  41. 41. 41
  42. 42. 4 Mackerel 4 memcache stats 4 total item / hit / miss 4 KPI 4 " " 4 API http 4 GET / POST / PUT / DELETE 42
  43. 43. 43
  44. 44. 44
  45. 45. 4 GDPR 45
  46. 46. PR YAPC::Tokyo 2019 4 GDPR YAPC::Tokyo 2019 4 46
  47. 47. 47
  48. 48. 4 4 4 4 GDPR 48
  49. 49. https://pixe.la/ 49

×