architecture, mongodb

MongoDB in 2012

My tale of MongoDB

I’ve had a great time with MongoDB in 2012. I’ve replaced several mysql DBs with nicely organized mongoDB collections.
I’ve developed an app using NodeJS (see mongoose) and stored massive data in mongodb.

My favourite host: MongoLab.com , 500megs free per db and great engineering minds work there.

I’ve built and deployed RubyOn Rails app with storage on mongodb and it was fantastic, Mongoid is the gem i used for models. Deployed on Amazon AWS elasticBeanstalk proved immensely fantastic , after tinkering with python tool.

I have built a mobile app for iphone/ipad powered by json data , from MongoDB and managed by a simple rails app.

10gen is awesome

Release of MongoDB 2.2 was big! Performance and features of the release deserve almost a major release.

The folks at 10gen are also very friendly, i received my promotional material (stickers, book and discount coupons for books) that i happily distribute as i spread the word.

Share This:

architecture, coding

MongoDB 2.4 full text search , time to drop solr/lucene

Well, not really. Don’t drop Solr/Lucene if it works for you but having full text search feature within MongoDB is definitely handy. It’s not known at this time but i am certain this feature will work with replica set and sharding setups.

 

More here

 

Share This:

coding

Oracle Localization Tips

Tip #1

 

Localization settings can be set on Database level, Instance level (imagine geographically despersed cluster) , Session level

Environmental variable NLS_LANG allows to override Language settings on a session level.
For example you have an application deployment in Italy, obviously you’re expecting data to come in an Italian/European format here is the settings for your Unix box:

NLS_LANG=ITALIAN_.WE8MSWIN1252

 

Tip #2

To find out your setting use this handy query:

select * from nls_database_parameters;

Will you quite a list of information on your settings, such as:

NLS_LANGUAGE ITALIAN
NLS_TERRITORY ITALY
NLS_CURRENCY <euro sign here>
NLS_ISO_CURRENCY ITALY

More information can be found at Oracle:
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm#_Toc110410543

 

Share This: