MongoDB on CloudFoundry

1,067 views

Published on

CloudFoundry overview and MongoDB

Published in: Technology
  • Be the first to comment

MongoDB on CloudFoundry

  1. 1. MongoDB onCloudFoundry @yssk22
  2. 2. About me• Yohei Sasaki @yssk22• CouchDB / Node.js / CloudFoundry• Application Developer• Infrastructure Software Developer•
  3. 3. What is CloudFoundry?• VMware PaaS • Public : cloudfoundry.com • OSS : cloudfoundry.org • VM: Micro CloudFoundry
  4. 4. cloudfoundry.com• CloudFoundry• VMware• App, DB
  5. 5. Demo1: Hello World
  6. 6. Demo2: MongoDB
  7. 7. Why CloudFoundry?• cloudfoundry.com PaaS ! https://github.com/cloudfoundry/vcap
  8. 8. :• CloudFoundry Python Perl ...? • ActiveState/Stackato• CloudFoundry PHP ...? • AppFog
  9. 9. 10genhttp://mwne.ws/vqQDui
  10. 10. Other Enterprisehttp://bit.ly/vAnTXv http://bit.ly/t5xTv5
  11. 11. ?
  12. 12. CloudFoundry••••
  13. 13. CloudFoundry• Fluent/Flume•• MongoDB•
  14. 14. MongoDB
  15. 15. MongoDBdbpath = <%= data_dir %>logpath = <%= log_file %>logappend = false # This doesnt worksbind_ip = 0.0.0.0port = <%= port %>auth = truenohttpinterface = true# mms-token = <%= password %># journaling is currently preallocating 4G of space on disk# we cant do that.##journal = truenoprealloc = true# smallfiles = start first container file at 16MB, doubling 4 times.# so this = 240MB per user. (i.e. 16MB container + 32MB + 64MB + 128MB)quota = truequotaFiles = 4smallfiles = true
  16. 16. MongoDB• CloudFoundry ” ” Pluggable • ( )• Provisioning/Unprovisioning • Sharding Replicaset ( _ )
  17. 17. • CouchBase (Not CouchDB) Provisioning/ Deprovisioning• VMware PostgreSQL Data Director Provioning/Deprovisioning
  18. 18. MongoDB• C/C++ • Ubuntu 10.04 x86_64 • *.so CloudFoundry• C/C++ •
  19. 19. • cloudfoundry.com PaaS• PaaS OSS Kernel• MongoDB• #cfcrjp
  20. 20. #cfcrjp• CloudFoundry •• 11/17 1900-2100@ #1• Google Group: http://bit.ly/u52Jhj

×