guest post

6 results

Guest post: runs Turkey's Internet on MongoDB About SPP42

This is a guest post by Emrah Ozcelebi, CEO of SPP42 , a leading NoSQL consultancy in Turkey. Nokta , one of the largest Internet companies in Turkey, knows what it means to operate at scale. The Internet leader reaches over 84% of all Turkish Internet users, and its video platform, , delivers more than 2.7 million videos with over 2 billion page views and significant video views. As a Facebook Timeline launch partner, Nokta’s also enables significant video sharing on Facebook. Finally, Nokta also operates Turkey’s leading photo sharing site, Foto Kritik , as well as a blogging site, Blogcu , that welcomes more than 13 million unique monthly users. At the heart of all this data is MongoDB. But Nokta got off to a rough start with MongoDB, due primarily to poor configuration and an inappropriate use case. Working together, 10gen and SPP42 were able to turn things around. First we got in touch with Nokta’s game department. Its Facebook implemantation of a local board game, OkeyHane was built on PHP, Java and Flash technologies with an open-source RDBMS as the database back-end. We were able to replace this relational database with MongoDB and significantly improve performance. It didn’t take long for Nokta’s software developers to realize that the flexibility of BSON gives extreme agility to the development team. Soon the MongoDB replicaset behind OkeyHane proved itself to be highly stable in production, in addition to being very easy to maintain and administer a MongoDB replicaset compared to other RDBMS solutions. After MongoDB proved itself stable in the midst of a difficult “war zone,” Nokta decided to extend its adoption by also using MongoDB in its flagship product, Nokta also elected to employ MongoDB in its homegrown advertisement platform, which feeds all its sites and delivers ads to 15,000 to 40,000 concurrent users. In order to meet the real-time requirements of the advertisement system, we helped to stabilize MongoDB installations. The middleware is built with the Akka concurrent programming framework with Scala language, with Spray being used as Rest API layer. We worked with great guys from like Erdem Agaoglu (@agaoglu) and Hakan Kocakulak who are also highly skilled in Hadoop and HBase. After the proven success of battle-hardened MongoDB installations in the ad-serving application, the developers became more eager to use MongoDB for storing metadata about users and videos. Nokta is now planning to replace all of its open-source RDBMS implementations with MongoDB. Of course, at that level of traffic, there is no single silver bullet to solve all problems. The skilled development team is aware of that and willing to try new technologies. SPP42 and Nokta are working together to deliver better services to Nokta’s users by combining different NoSQL solutions such as Hadoop and Neo4J. With help from 10Gen, we are able to offer better, integrated solutions to meet Nokta’s demands. There is a great wind filling NoSQL’s sails in Turkey. Although adoption is still at a very early stage, we are finding great success (and plenty of MongoDB interest) as a 10gen partner in Turkey. Companies like Nokta are able to achieve serious scale and improved developer productivity with MongoDB, helped by working with an experienced local partner like SPP42. SPP42 is a Turkey-based consulting and training company specializing in decision support systems and business intelligence. Since its founding, SPP42 has delivered top-level open source consultancy and training services - mainly Java, Pentaho, Jasper and Python solutions over OpenStack, OpenShift and MongoDB and other NoSQL solutions. SPP42’s services include end-to-end integration solutions, from development and architecture to implementation. SPP42 works with Turkey’s leading companies and helps them stay on the bleeding edge of technological innovation. We help them plan the migration from its existing technologies to newer ones so that our customers are always competitive globally. Tagged with: guest post, scalability, Scala, RDBMS, Turkey, SPP42, partner, ease of use, developer productivity

February 13, 2013

Guest post: Using MongoDB to build government warning systems About VX Company

This is a guest post by Bas van Oudenaarde, Technical Manager, VX Company One of the primary roles of government is to care for the safety of its citizens. Depending on the country, there are different public alert and warning systems to notify civilians of general or local dangers. Historically, such systems have tended to be 'top-down' or hierarchical, but today bottom-up approaches are preferred as news tends to travel much faster through social media like Twitter or Facebook than outmoded means. VX Company builds such public alert and warning systems for governments, and has been evaluating how best to re-engineer its systems using MongoDB. Challenge Recently VX Company developed a novel approach using MongoDB and its built-in geospatial, sharding, replication, and other features. In this prototype, which we defined as an interim project for students, we explored a ‘bottom-up’ approach using a mobile app interfacing with a distributed servers layer with MongoDB nodes. The students got just six weeks to implement these new concepts with MongoDB: design, build, and test. By constraining the delivery deadline, both the students and MongoDB were put to the test. In this new application, a civilian could sent out a message to their neighborhood to get help in case of an emergency situation. For purposes of this system, ...neighborhood“ (or ...cell“ in our terminology) is determined by the type of emergency, so in the case of a robbery the neighborhood or cell might be 10 kilometers around the hotspot. Different emergency problems result in different sizes of cells. In each cell the government can respond to incidents, for example, by sending a fire truck or ambulance, or local neighbors can help or give more information, as appropriate. Alternatively, the government organization could broadcast warning of a problem to a cell. Whether at home or roaming, citizens can both send and receive notice of emergencies. Architecture In order to implement the system we used MongoDB together with the following components: Google API to communicate with the location server On the application level, a JSON-based REST layer that is implemented with Java 7 A push server Load balancer (optional) Any mobile device (BYOD: HTML5/JavaScript-based) Using this architecture provides a lightweight, highly scalable (cloud) solution. Why MongoDB? MongoDB is a great fit for such a distributed system. MongoDB supports location-based queries, provides location positions (longitude, latitude) with a radius and allows for easy retrieval of all persisted messages in this range. Other useful MongoDB features are sharding, replication, and JSON data interchange. Instead of storing all information centrally, sharding data lets organizations store data where it makes sense, and quickly respond to local content. In case of citizen roaming we actually have to deal with two locations, e.g., home and visit location. In addition, reliability of the data is critical in such a system. MongoDB ensures the reliability of data through support for out-of-the-box replication. Finally, MongoDB uses JSON for data exchange and hence fits naturally with mobile computing. Another important point is that MongoDB works well in cloud environments like Amazon Web Services, so that if the application proves successful we can easily and cost effectively scale it out. Initial Results? As mentioned previously, the students had just six weeks to design, build, and test their MongoDB-based emergency alert and response solution. Despite the tight time constraints, the students successfully completed this project in time and with the requisite functionality. For the project the SCRUM approach was used. In total we had three code sprints, with each sprint lasting two weeks.The first sprint was used to set up the key elements of the architecture and sketch the model. For the following two sprints, after each sprint the students delivered a working solution to the client to determine whether the product was ready or still needed adjustments. After six weeks the product was complete, consisting of a running model (which runs the predefined test cases), documentation, API information, installation manual and test setup. These promising results confirmed for us that MongoDB could significantly expand new possibilities, while simultaneously making our lives easier. A lot of interesting mobility features are built into MongoDB and we plan to explore more concepts and build them into future releases of our civilians watch application. In particular, we would like to integrate common social media like Twitter and Facebook, both to generate interest and adoption of the application, but also to improve its utility. VX Company, founded in 1988 and based in The Netherlands, is an IT service provider active in consultancy, projects and secondment in the field of Microsoft, Java, Oracle, OpenVMS, Unix and Linux. Almost 300 IT professionals work on the analysis, design, development, integration, testing and management of applications and computing infrastructures for many customers. Moreover VX Company is a specialist in the field of managed services and project management. The company is characterized by a culture in which the employee is the core of success. That's why Computable named VX Company ...Best ICT secondment company of the year,“ ...Best ICT employer,“ and one of ...the most powerful IT service providers in the Netherlands.“ Learn more at . Tagged with: government, guest post, VX Company, public alert and warning system, geospatial indexing, use cases, case study

February 4, 2013

Looking to Scale MongoDB on the Cloud? Try a PaaS

A guest post from Isaac Roth of Red Hat OpenShift Two weeks ago a few members from the OpenShift team made it down to Santa Clara to hang out at MongoSV (Silicon Valley), take in a few sessions and have some great conversations with other MongoDB enthusiasts. If you didn't make it out to the conference, you really missed out. There were some great sessions that covered MongoDB scaling strategies, schema design, performance tuning, internals and even a preview of MongoDB 2.2. As you know, there's a vibrant ecosystem of partners around MongoDB with everything from hosted MongoDB to Platform-as-a-Service (PaaS) providers that offer managed MongoDB. I was fortunate to meet the developers of several interesting open source projects that add on to MongoDB or use MongoDB internally. I was also able to speak with many developers who use MongoDB in their projects from mobile and enterprise social applications to a control system that leverages real-time sensor data. Ok, if you didn't catch the announcement at the show, you might be asking yourself, what's OpenShift? It's Red Hat's Platform-as-a-Service (PaaS) that supports Java, Ruby, PHP, Perl, Python and of course MongoDB. What's the point of a PaaS? To make a developer's life easier. How? By automating the tedious and often complex tasks of configuring middleware and scaling applications. At the conference, we took the opportunity to launch what we feel is the industry’s best support for MongoDB on a PaaS. Our goal is to make MongoDB easy AND powerful for developers who want to take advantage of it in the cloud. You can think of OpenShft as a MongoDB PaaS. Here’s a recap of what we announced at the conference, plus some new features that just went live today: MongoDB 2.0 Support MongoDB 2.0 introduces a bunch of cool features that you can easily test drive in the cloud. How? OpenShift has a simple sign up that requires just an email address. Next, you install the OpenShift client tools or use the web UI, issue one command to add MongoDB to your project and congrats! You are now running MongoDB on the cloud, on a PaaS to be specific. Big Instances, for FREE! When you sign up for OpenShift you get up to five, free 512 MB instances on which to deploy your applications and MongoDB. What’s the catch? There is none. Getting started with MongoDB in the cloud is fast, free and easy! If you haven’t used Mongo, this is a great way to start experimenting with it. Log Tailing in the Cloud We’ve also added the ability tail MongoDB logs on OpenShift. (You can do this with application log files too.) Just because you’re running on the cloud doesn’t mean you don’t want to audit what is going on at any given time. You get the best of both worlds here: Simplicity and economy by outsourcing the platform, but also visibility and feedback as if MongoDB was running locally. Snapshots With a simple command you can backup and restore MongoDB instances running on the OpenShift PaaS. Don’t worry about filesystems and dump commands and whatever - let OpenShift do it for you. RockMongo Admin GUI We’ve made it easy to manage MongoDB on OpenShift with the ability to deploy the RockMongo web administration GUI alongside your MongoDB instance with a single command. We've got a step-by-step blog and video that walks you through the process. MongoDB Shell Again, our aim is to make working MongoDB in the cloud as easy as if you were working with it locally. OpenShift has integrated the MongoDB Shell into its client tools so that you can administer MongoDB from the same prompt you use to administer your. We've got a step-by-step blog and video that shows you how to use it. MongoDB Monitoring Service from 10Gen With one command, you can add MMS to your OpenShift-hosted MongoDB. This simple but powerful service allows you to keep an eye on your MongoDB and visually check its pulse at any point, displaying a rich set of key performance indicators and much more. As you'd expect, we've created a detailed blog and video that shows how to get started with MMS on OpenShift. If you want to see MongoDB in action on OpenShift, or try it yourself, we've got a ton of resources to get you started. Here's a few: Deploying Python Apps in the Cloud with MongoDB and OpenShift - blog and video . Deploying PHP Apps in the Cloud with MongoDB and OpenShift - blog and video . Getting Started with MongoDB Monitoring Service on OpenShift - blog and video . Getting Started with MongoDB Shell on OpenShift - blog and video . Or, you can attend our webinar co-presented with 10Gen today, Dec 20, 2011 at 2 PM EST. You can register here . To recap, MongoDB is a core data storage platform for the OpenShift PaaS and we’re excited to embrace it. Let us know what you think by blogging or tweeting about your experience. You can also interact with us on Twitter , Facebook , in the forums or on IRC at freenode - #openshift ! Tagged with: mongodb, 10gen, openshift, redhat, webinar, guest, guest post, mongo db

December 20, 2011