How does uses A Morning with MongoDB - Barcelona
what we Solve‣ It is high risk to have all infrastructure in one single cloud provider‣ Single points of failure in infrastructure.‣ Different providers with different SLAs.‣ Different cloud offerings changing everyday (vendors and pricing)‣ Vendor Lock-in‣ Complex software deployment in IaaS offerings‣ No automated migration between public IaaS vendors
our Solution‣ Tapp is compatible with 9 different IaaS providers.‣ Services are managed with Conﬁguration Management Systems.‣ Full compatibility with Linux, Windows and SmartOS‣ Automatic DNS administration to diverge trafﬁc instantly to newly deployed infrastructure‣ Integration with New Relic (APM) coming in following weeks.‣ Tapps extremely easy-to-use UI allows practically anyone with minimal system administration background to commission machines, deploy software and migrate between IaaS providers.‣ We think in multi cloud and treat computer as a commodity.
mayor Challenges for Tapp‣ Highly Scalable‣ Fast to Scale‣ Highly Distributed System‣ Multiple Location Solution‣ Concentrated in Events more than Transactions‣ Needed a Low Learning Curve‣ Limited Resources ($$$)‣ Agile Development
learning Curve‣ SQL is old and does not scale and its not easy to use‣ Programmers work with Objects and Events not Statements‣ ORM(object relational mapping) is the present‣ Mongo has multiple ORM connectors for: ‣ Ruby: Mongoid ‣ Node.js: Mongoose ‣ Php: pymongo ‣ Groovy: gmongo
Mongo in Tapp‣ Multiple Sets replicated across multiple cloud providers and operating systems‣ When we need to scale up we will begin to use sharding options‣ Learning Curve small with use Mongoid‣ Dynamic deﬁnition of Data‣ Gridfs allow us to store all the information in the Set‣ Single Logical point of concurrency of data
Mongo in Tapp‣ Monitor data using: ‣ We use Capped collections ‣ MapReduce to calculate summary into other Collections‣ We use readslaves to gather information to Async Server‣ Easy to change requirements with out involving other parties.‣ We only have programers, and our dbas have converted to SysAdmin.‣ Performance, Performance, Performance.