DynamoDB Instead of MongoDB

322 views
Skip to first unread message

gle...@gmail.com

unread,
Apr 19, 2015, 9:31:04 AM4/19/15
to learnin...@googlegroups.com
Could Learning Locker use Amazon DynamoDB instead of MongoDB?

I am looking for a learning record store that can be managed in a re-deployable Amazon Web Services Elastic Beanstalk environment. I want to minimise administrative elements, i.e. use less EC2 instances, and use more cloud services. I could easily host Learning Locker on a scalable collection load balanced EC2 instances, and MongoDB on another set of scalable load balanced EC2 instances. However, it becomes more complex to hide the complexity, and also increases costs. Therefore I am entertaining the idea of using Amazon's managed NoSQL database, DynamoDB.

Ryan Smith

unread,
Apr 20, 2015, 4:58:11 AM4/20/15
to learnin...@googlegroups.com
Hi Gary,

Good question, unfortunately that's never been tried before so I couldn't say. I've not been able to find a Laravel 4.2 package for "Eloquent Dynamo DB" so I doubt it. The LL repositories could potentially be re-written to interface with Dynamo DB. However, the aggregation API is tied to Mongo, so that part of LL definitely wouldn't work.

Thanks,
Ryan

Gary Lefman

unread,
Apr 20, 2015, 5:31:18 AM4/20/15
to learnin...@googlegroups.com
Thank you, Ryan, for the speedy and direct answer. 

I will keep my ear the to ground for any future developments. For now, I will proceed along the more traditional route with MongoDB on EC2 instances.

Gary

Ryan Smith

unread,
Apr 20, 2015, 7:27:20 AM4/20/15
to learnin...@googlegroups.com
You're very welcome Gary.

Ok good stuff. Sounds good. If I hear anything myself I'll be sure to post a reply to this thread.

Kind regards,
Ryan

bitte...@gmail.com

unread,
Jun 10, 2015, 10:12:10 AM6/10/15
to learnin...@googlegroups.com
Hi Gary,

I'm working on getting Learning Locker up and running on an EC2 instance. I'm very new to AWS - this is my first time working with it.

If you got your LRS up and running I'd love to ask you some questions if you have time.

Thanks,
JR

Gary Lefman

unread,
Jun 10, 2015, 10:37:16 AM6/10/15
to bitte...@gmail.com, learnin...@googlegroups.com
Hello JR,

I'm sad to say that I can't help you because it is still in the "nice idea" phase. I simply haven't had an opportunity to take it any further.

Gary
--
You received this message because you are subscribed to a topic in the Google Groups "Learning Locker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/learning-locker/jvB4bBGk9_8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to learning-lock...@googlegroups.com.
To post to this group, send an email to learnin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bitte...@gmail.com

unread,
Jun 10, 2015, 11:26:09 AM6/10/15
to learnin...@googlegroups.com, bitte...@gmail.com
No problem. I found the guide posted but it uses Ubuntu and Nginx whereas I'm using Redhat and apache.

I may switch just to follow that step by step. Everything seems to install properly - it just doesn't work.

Thanks,
JR

Jean Baro

unread,
Apr 7, 2016, 8:07:45 AM4/7/16
to Learning Locker, bitte...@gmail.com
Hi there,

It would be great to be able to use a DB other than MongoDB. I have never used MongoDB but I keep seeing on reddit and HN that MongoDB is not as reliable (and scalable) as people once thought.

Regards

James Mullaney

unread,
Apr 7, 2016, 8:28:07 AM4/7/16
to Learning Locker, bitte...@gmail.com
Hi Jean,

A lot is said and talked about Mongo (especially on Reddit!) but to be brutally honest we have had no issues with it over the millions of statements we have used it for all the way from version 2.4 up to 3.2 and WiredTiger (that we currently use). As with everything, a lot of this talk does come down to a very loud minority as the people who are successfully using it at enterprise scale have very little incentive to shout about it!! Mongo's own site however does have some good case studies and at-scale usage examples: https://www.mongodb.com/mongodb-scale

Saying that, one should never be committed absolutely to one thing, and we're always open to hearing what people have to think and especially keen to see solutions and code commits that can make the imaginable a reality. If you have the skill and impetus then I can only implore you to fork the project and start writing code that would allow cool stuff like different databases into the project!

James
Reply all
Reply to author
Forward
0 new messages