MongoDB community edition for SAAS based application - mongodb

We are going to develop a SAAS based application using NoSQL (Preferably MongoDB community edition). When we download the community edition we observed that the MongoDB license got changed to SSPL. And it highlighted that we cannot modify the server code and cannot run MongoDB as a service.
Hence I just wanted to confirm here that, we don't do any change in the server code, we do only store data in MongoDB and host them in a cloud environment and make our web application as a service to the customers (SAAS). So it wont violate anything in the SSPL right.

Related

Is this possible to have hybrid deployment of Odoo POS

I am planning to deploy Odoo Community POS for my electronics store. I want this installation to be done on on-premises and in the cloud. Like my store operators can use the software on both offline/ online modes depending on the availability of the internet connection. While doing operations offline, I want the data to be auto-synced on the availability of internet. In the start, I will be having a standard Odoo Community version installation but I might build some features and add custom models too.
Which deployment option will suit me more? http://www.odoo.com/documentation/10.0/setup/install.html#setup-install-source
Is there any possibility to have an Odoo Community edition hybrid deployment (on-premises and cloud at the same time).
Is this possible to make database auto-sync for both on-premises and cloud databases?

How do I set-up Rest API to the Mongodb installation on my Mac Pro

I'm developing a Google Apps Script application and I want to have a MongoDB backend to the application. Currently I am using a Mongolab sandbox account and successfully interacting with the collection on the Mongolabs servers. The performance is very good and the support at Mongolabs has been excellent.
That said, long-term I've decided to host my own Mongodb on my Mac Pro that is currently running Yosemite. I already have Mongodb installed and its working fine.
My Question: How do I use (install/configure/establish) a Rest API (or other means) to connect with my locally installed Mongodb database. I have spent a couple hours on 10gen's site and on Google trying to figure it out, but I have not quite gotten there. Does anyone have experience doing this or something similar that might be able to share your experience or at least refer me to a good resource.
Thanks in advance for you help.

Microsoft Sync Framework with MongoDB

we are developing a multiplateforme mobile application thats support synchronization with NoSQL backend, we are looking if Microsoft Sync Framework 4.0 CTP can be used to solve all synchronization problems using a non-microsoft backend,
Sync Framework 4.0 allow several devices on any plateforme to achive synchronization tasks by exposing an oData service, this can be done by using Sync Framework Toolkit, but use SQL Server or SQL Azure as backend on the service side,
the application we are developing should use NoSQL database server (MongoDB) on its server side and I realy dont know if Microsoft Sync Framework could be used with this DBMS and how it should be done,
if someone have achieved this by customizing Microsoft Sync Framework provider please share your experience, links or any helpful things,
thanks in advance,
there is no out-of-the-box sync provider for MongoDB, so you will have to write your own.
assuming you can write your own, you will have to modify the Sync Toolkit server side component to replace the SqlSyncProvider with your custom MongoDB provider.
I suggest you check out the licensing of the Sync Framework Toolkit as well. if I remember it right, the client components is on Apache license but the server side is on MSPL.
#Mrinal :
I started writting a Microsoft Sync Framework MongoDB Provider but i realized later that i had to implement a good part of Sync Framework, so I have removed all dependencies between Sync Framework and Sync Framework Toolkit to take juste the infrastructure part of Sync Framework Toolkit and i implemented my own synchronization logic inside, i've also updated the client side to use my NoSQL To SQL ORM to store data on Client-SQLite db.
I suggest you to use SyncFoundation if you have no time to do all this tasks, Sync foundation is a lightweight version of Sync Framework but more flexible if you have to use a non microsoft backend, the home page of sync foundation is (https://github.com/mschoneman/SyncFoundation).

MongoDB and Mongolab.com

Recently I discovered the power of noSQL database MongoDB. After a lot of trial and error I was able to install it on my pc along with wampserver. Its running smoothly. Now the question I would like to ask is, that if I want to integrate the MongoDB service provided by Mongolab on my shared hosting plan, is there any class available that helps me connect to the database? Like a php class version of the driver for php and mongodb. As it is not possible to install the driver on my hosting, because of no root access. So is there a raw class available as an alternative to the driver dll?
If you can't install the driver, then the REST interface provided by MongoLab is your best bet - any language that can send/receive a HTTP request can use REST:
http://support.mongolab.com/entries/20433053-rest-api-for-mongodb

Heroku-like services for Scala?

I love Heroku but I would prefer to develop in Scala rather than Ruby on Rails.
Does anyone know of any services like Heroku that work with Scala?
UPDATE: Heroku now officially supports Scala - see answers below for links
As of October 3rd 2011, Heroku officially supports Scala, Akka and sbt.
http://blog.heroku.com/archives/2011/10/3/scala/
Update
Heroku has just announced support for Java.
Update 2
Heroku has just announced support for Scala
Also
Check out Amazon Elastic Beanstalk.
To deploy Java applications using
Elastic Beanstalk, you simply:
Create your application as you
normally would using any editor or IDE
(e.g. Eclipse).
Package your
deployable code into a standard Java
Web Application Archive (WAR file).
Upload your WAR file to Elastic
Beanstalk using the AWS Management
Console, the AWS Toolkit for Eclipse,
the web service APIs, or the Command
Line Tools.
Deploy your application.
Behind the scenes, Elastic Beanstalk
handles the provisioning of a load
balancer and the deployment of your
WAR file to one or more EC2 instances
running the Apache Tomcat application
server.
Within a few minutes you will
be able to access your application at
a customized URL (e.g.
http://myapp.elasticbeanstalk.com/).
Once an application is running,
Elastic Beanstalk provides several
management features such as:
Easily deploy new application versions
to running environments (or rollback
to a previous version).
Access
built-in CloudWatch monitoring metrics
such as average CPU utilization,
request count, and average latency.
Receive e-mail notifications through
Amazon Simple Notification Service
when application health changes or
application servers are added or
removed.
Access Tomcat server log
files without needing to login to the
application servers.
Quickly restart
the application servers on all EC2
instances with a single command.
Another strong contender is Cloud Foundry. One of the nice features of Cloud Foundry is the ability to have a local version of "the cloud" running on your laptop so you can deploy and test offline.
I started working on the exact same thing as what you said a few weeks ago. I use Lift, which is a great framework and has a lot of potential, on top of Linux chroot environment.
I'm done with a demo version, but Linux chroot is not that stable (nor secure), so I'm now switching to FreeBSD jail on Amazon EC2, and hopefully it'll be done soon.
http://lifthub.net/
There are also other Java hosting environment including VMForce mentioned above.
If you are looking for a custom setup which also has the ease of deployment that heroku offers: http://dotcloud.com. They are invite only right now but I was given access in under three days. I am working on a Lift/MongoDB project there and it works well.
Off the top of my head, only VMForce comes to mind, but its not available yet. This will be a Java-oriented service, so that probably means you'll have to spend a wee bit of time figuring out how to package the app.
For more discussion, there was a debate about this in 2008.
I'm not entirely sure if it's really suitable or not, but people have deployed Scala applications to Google App Engine, for example http://mawson.wordpress.com/2009/04/10/first-steps-with-scala-on-google-app-engine/
Actually you can run scala on heroku right now. You don't believe it?
https://github.com/lstoll/heroku-playframework-scala
I'm not sure the tricks lstoll has used are legit but using the
new cedar platform where you can run custom processes and some
ingenious Gemfile hacking he has managed to bootstrap the Java
play platform into a process. Seems to work as he has a live
site running a test page.
Stax cloud service offers preconfigured lift project skeleton. Also, there is a tutorial on how to deploy lift project to appengine.