Skip to main content

OrientDB + Microsoft Azure = Simplified Scale and Zero-Configuration

OrientDB is a second generation distributed graph database with the flexibility of documents in one product with an open source, commercial-friendly license (Apache 2 license). First generation graph databases lack the features that Big Data demands: multi-master replication, sharding, and more flexibility for modern complex use-cases.

Why Azure?

Microsoft has a vision of infrastructure and platform services that are not only leading stand-alone offerings, but that also seamlessly extend and interoperate with on-premises Microsoft infrastructure (rooted in Hyper-V, Windows Server, Active Directory and System Center) and applications, as well as Microsoft’s SaaS offerings. Its vision is global, and it is aggressively expanding into multiple international markets.

Microsoft’s brand, existing customer relationships, history of running global-class consumer Internet properties, deep investments in engineering, and aggressive road map have enabled it rapidly to attain the status of strategic cloud IaaS provider. It is second in terms of cloud IaaS market share — albeit a distant second — but far ahead of its smaller competitors. Microsoft has pledged to maintain AWS-comparable pricing for the general public, and Microsoft customers who sign a contract can receive their enterprise discount on the service, making it highly cost-competitive. Microsoft is also extending special pricing to Microsoft Developer Network (MSDN) subscribers.

The broader Microsoft Azure service is a full-featured PaaS offering with significant complementary capabilities; the Virtual Machines are integrated into the overall offering. The IaaS and PaaS components within Microsoft Azure feel and operate like part of a unified whole, and Microsoft is making an effort to integrate them with Visual Studio, Team Foundation Server, Active Directory, System Center and PowerShell. Conversely, Windows Azure Pack offers an Azure-like user experience for on-premises infrastructure. Microsoft has built an attractive, modern, easy-to-use UI that will appeal to Windows administrators and developers. The integration with existing Microsoft tools is particularly attractive to customers who want hybrid cloud solutions.

Zero-Configuration Multi-Master Architecture

OrientDB supports a Multi-Master + Sharded architecture, so all the servers are masters. This provides horizontal scalability and reliability.

With a master-slave architecture, the master often becomes the bottleneck. With OrientDB, throughput is not limited by a single server. Global throughput is the sum of the throughput of all the servers. If you want to scale up, simply add a server node in the network and it will automatically join the existing distributed server cluster with zero configuration. Synchronization occurs automatically as soon as the server is brought online.

Distributed Reliability

Most NoSQL solutions are used as a “cache” to speed up certain use cases, while the master database remains a relational DBMS. For this reason, the average NoSQL product is built more for performance and scalability, while sacrificing reliability.

OrientDB, however, isn’t the average NoSQL DBMS. What happens when a server node crashes? Thanks to its WAL (Write Ahead Logging), OrientDB is able to restore the database content after a crash. Any pending transactions are automatically rolled back, and the server cluster redistributes the load across the available nodes. All the clients connected to the node that failed are automatically switched to an available server node.

Perfect for Azure

Because of the benefits provided by the zero-config, multi-master architecture, OrientDB is perfect for the Cloud, especially Microsoft Azure. Hundreds of servers can share the workload, scaling horizontally across distributed modern data centers.

Zero-Configuration Multi-Master Architecture

OrientDB supports a Multi-Master + Sharded architecture, so all the servers are masters. This provides horizontal scalability and reliability.

With a master-slave architecture, the master often becomes the bottleneck. With OrientDB, throughput is not limited by a single server. Global throughput is the sum of the throughput of all the servers. If you want to scale up, simply add a server node in the network and it will automatically join the existing distributed server cluster with zero configuration. Synchronization occurs automatically as soon as the server is brought online.

 

  1. To create an OrientDB Community Edition virtual machine from the Azure Marketplace, first log-in to the Azure portal.

    azure portal

  2. Next, click on the NEW button.

    azure new highlight

  3. You should see a Create page that looks similar to this:

    azure create

  4. Now, click on the Compute option and you should see a Compute sub-page.

    azure create compute

  5. Click on the Marketplace button.

    azure compute marketplace

  6. You should see a Marketplace-Compute search page:

    azure compute marketplace search

  7. Click the Filter button.

    azure filter button

  8. You should see a Filter page with many options.

    azure filter options

  9. Make sure that Compute Stack v2 is checked and then click the Update button.

    azure filter compute stack

  10. Enter "orientdb community" or a specific version.  You should see a similar result:

    azure search

  11. Select the OrientDB edition.

    azure search search

  12. You should see the OrientDB Community Edition page.

    azure orientdb community page

  13. Click on the Create button.

  14. You should see the Create virtual machine page with a Basics sub-page attached.

    azure create virtual meachine

  15. Fill out the Name, User name, Password, and Subscription for your OrientDB virtual machine instance.  (We'll use a password for this example.  But an SSH public key works just as well.)

    azure create virtual machine basics

  16. Either create a new Resource Group or select an existing one

    azure resource group

  17. Next, choose the Location for your Azure virtual machine.

    azure create virtual machine

  18. Click the OK button.

  19. You should now see the Create virtual machine - Choose your pricing tier sub-page with several options to choose from.  Select the best fit for your application.

    azure create virtual machine size

  20. Click the Select button.

  21. Now, you should see the Create virtual machine - Settings sub-page.

    azure create virtual machine settings

  22. Select the Storage, Network, Monitoring, and Availability settings that best fit your application.  Click the OK button.

  23. The Create virtual machine - Summary sub-page should be displayed and should reflect your choices.

    azure create virtual machine summary

  24. Click the OK button.

  25. The Create virtual machine - Buy sub-page should be displayed.  It should look something like this:

    azure create virtual machine buy

  26. When you are ready, click the Buy button.

  27. Finally, click on the Create button and your Azure OrientDB virtual machine should be scheduled for creation.