If you need to do an aggregation in MongoDb on a DateTime property and you want to aggregate only by Date part, you can use a simple trick and use a filter to compose the date part before the grouping. Here is the code.
I spent some time earlier in the week trying to import a CSV file extracted from Hadoop into Neo4j using Cypher’s LOAD CSV command and initially struggled due to some rogue characters.
I'm delighted to announce that today we've made our clustering technology even more useful with the public availability of RegEx Sharding.
Couchbase Lite has been released for sometime now, so I thought it was time to give an update on using CouchbaseLite from RubyMotion.
Redis Labs announced today a new sharding feature designed to help developers scale the size and throughput of Redis datasets without a loss in latency. According to Redis Labs' press release on the new feature, this sharding technology enables a few interesting features.
Every week here and in our newsletter, we feature a new developer/blogger from the DZone community to catch up and find out what he or she is working on now and what's coming next. This week we're talking to Michael Hunger, Neo4j Developer Advocate and author of our upcoming Neo4j Refcard.
TL;DR: As the amount of unstructured data being collected by organizations skyrockets, their existing databases come up short: they're too slow, too inflexible, and too expensive.
With Couchbase Server 3.0, you get a great new option to change the way we use memory for caching your keys and metadata. The new option is called "full ejection." Here is how full ejection is different.
This year I’ve been giving an evolving live demonstration of coding a Fully Buzz Word Compliant, mobile-friendly web application. The aim of the demo is to show, via a real-world application rather than a toy example, where these popular technologies sit in your architecture, and how they interact with each other.
You might have data as CSV files to create nodes and relationships from in your Neo4j Graph Database. It might be a lot of data, like many tens of million lines. Too much for LOAD CSV to handle transactionally.
In this final post of the series we will cover a subtle, but important distinction in terms of balancing a sharded cluster as well as an interesting limitation that can be worked around relatively easily, but is nonetheless surprising when it comes up.
Make sure you didn't miss anything with this list of the Best of the Week in the NoSQL Zone (October 17 - October 24). This week's best include MongoDB incremental migration scripts, how to connect to MongoDB form a Java EE stateless application, solutions for Redis running slowly, and more.
TL; DR: Google Analytics stores a massive amount of statistical data from web sites across the globe. Retrieving reports quickly from such a large amount of data requires Google to use a custom solution that is easily scalable whenever more data needs to be stored.
Over the last 6 months my colleagues and I have been running hands on Neo4j based sessions every few weeks and I was recently asked if I could write up the lessons we’ve learned. So in no particular order, here are some of the things that we’ve learnt.
We consistently hear that getting started with MongoDB is easy, but scaling to large configurations that include replication and sharding can be challenging. With MMS, it is now much easier.
Shindig is a mobile app (iOS, Android) that helps you explore new drinks and share them with the world. Take a picture of what you’re drinking, tag it with taste tags, share it, earn rewards and gameification points, follow famous mixologists and drink aficionados and search for the best drinks nearby.
Many enterprises are turning to us to help add a cache to an existing application or evolve applications to next generation technologies. For these level two cache implementations we’ve helped develop a data access layer for applications in the Spring project.
In this post we will go through some recommendations when running a sharded cluster at scale. Scalability is one of the core benefits of sharding in MongoDB but this can give you a false sense of security; even with that flexibility, you still have to make smart decisions about how and when you deploy resources.
An incremental software development process requires an incremental database migration strategy.
We’ve started running some sessions on graph modelling in London and during the first session it was pointed out that the process I’d described was very similar to that when modelling for a relational database.
In this post I will present how to connect to MongoDB from a stateless Java EE application, to take advantage of the built-in pool of connections to the database offered by the MongoDB Java Driver. This might be the case if you develop a REST API, that executes operations against a MongoDB.
Make sure you didn't miss anything with this list of the Best of the Week in the NoSQL Zone. This week's best include part 1 of a series on MongoDB sharding pitfalls, the release of Redis Cluster as a minimum viable product, a new source for MEAN stack resources, and more.
Redis is blazing fast and can easily handle hundreds of thousands to millions of operations per second (of course, YMMV depending on your setup), but there are cases in which you may feel that it is underperforming.
An approach to modeling that I often see while working with Neo4j users is creating very generic relationships (e.g. HAS, CONTAINS, IS) and filtering on a relationship property or on a property/label at the end node.
The MongoDB Aggregation pipeline is a framework for data aggregation. Documents enter a multi-stage pipeline that transforms the documents into an aggregated results. It was introduced in MongoDB 2.2 to do aggregation operations without needing to use map-reduce.