Pinkoi Platform

3,766 views

Published on

talk at Taipei.py about http://www.pinkoi.com/

Published in: Technology

Pinkoi Platform

  1. 1. Pinkoi Platform Mike / Co-Founder
  2. 2. PinkoiLaunched on 2011.01Operated on 2011.077k+ designers39k+ listings44k+ fans4M+ monthly page views
  3. 3. Programming Language for development?
  4. 4. PHP?
  5. 5. PHP?quick dev, but ugly and run slow
  6. 6. PHP? Java?quick dev, but ugly run fast, but longer and run slow and painful dev
  7. 7. PHP? Java?quick dev, but ugly run fast, but longer and run slow and painful dev Ruby? unfamiliar with..
  8. 8. PHP? Java?quick dev, but ugly run fast, but longer and run slow and painful dev Ruby? C++? unfamiliar with..
  9. 9. PHP? Java?quick dev, but ugly run fast, but longer and run slow and painful dev Ruby? C++? unfamiliar with.. just kidding
  10. 10. Python readable productive fast enough Python data structures map well to JavaScripthttp://python.org/
  11. 11. Framework
  12. 12. Django vibrant community googleable we only use 10% of Djangohttps://www.djangoproject.com/
  13. 13. Template
  14. 14. Mako fast (compiled to Python bytecode) Python-like syntax easy to use, full-featuredhttp://www.makotemplates.org/
  15. 15. Mako (cont.)Preprocess JavaScript / CSS files mrbuild
  16. 16. Soure Code Managementhttp://git-scm.com/https://github.com/
  17. 17. SCM (cont.)
  18. 18. Bottleneckheavy MySQL queries
  19. 19. Memcached 5~10s < 0.1shttp://memcached.org/
  20. 20. Bottleneckmemory space (for cache)
  21. 21. CouchDB NoSQL schema-free document-oriented database O(1)http://couchdb.apache.org/
  22. 22. CouchDB (cont.)we use it for high performance (disk) caching
  23. 23. Bottlenecknetwork latency tasks 1s 2s 3s Zzz...
  24. 24. RabbitMQ messaging system robust easy to usehttp://www.rabbitmq.com/
  25. 25. RabbitMQ (cont.) just pass all time-consuming tasks to background workers
  26. 26. Web Server C10k problemhttp://httpd.apache.org/https://code.google.com/p/modwsgi/
  27. 27. Web Server (cont.)http://nginx.org/http://gunicorn.org/
  28. 28. Web Services We Used
  29. 29. Philosophyuser firsttechnologydone is better than perfect
  30. 30. Trouble: monthly wire wire by hand takes 2 weeks! + many many designers dang... what a boring workhttp://www.provopostal.com/wp-content/uploads/2011/04/atm-machine11.jpg
  31. 31. Trouble: monthly wire (cont.) automatically wire system takes 1 min! + many many designers happy lifehttp://static.ddmcdn.com/gif/bank-sam.jpg
  32. 32. Trouble: issue invoice +
  33. 33. Trouble: issue invoice (cont.) play video
  34. 34. front-end engineer back-end engineer mobile / ios engineer mike.lee@pinkoi.comhttp://hearthewritings.com/wp-content/themes/theme1410/images/we-need-you.jpg
  35. 35. fb/email: mike.lee@pinkoi.com

×