java: All content tagged as java in NoSQL databases and polyglot persistence
Wednesday, 14 December 2011
Centralized Logging With Amazon SimpleDB, Slf4j, and Logback
Store logs in SimpleDB. Amazon SimpleDB is a highly available, flexible and scalable non-relational data store. It is perfect for this situation. It is eventually consistent, write-optimized, highly available and extremely durable. It can handle extremely large tables that can keep the logging data very well. It can query and filter logs. Oh, and it is also really cheap.
Plus, the simpledb-appender is doing the right thing:
Logback is designed to be extremely efficient. simpledb-appender is also designed to have minimal impact on CPU resources. Logging events are buffered in memory and then later at user-configurable intervals (by default 10 seconds) are written to SimpleDB in bulk on a separate thread. In this way calls to the logging API return very quickly, and the time-consuming work is done in a way that doesn’t block the main application. A JVM shutdown hook writes any unwritten log events when the application exits.
Original title and link: Centralized Logging With Amazon SimpleDB, Slf4j, and Logback (©myNoSQL)
via: http://www.peecho.com/blog/logging-the-cloud-with-simpledb.html
Friday, 2 December 2011
Overview of MongoDB Java Write Concern Options
Chris Harris[1]:
A write concern controls the behaviour of your write operation based upon your provided write behaviour requirements.
In this blog I going to attempt to provide an overview of the basic write concerns options available to you however the driver does provide additional options not explained here.
While it defaults to fire-and-forget behavior (non-blocking, speed advantage), it also supports safe, majority, fsync safe, journal safe.
-
Chris Harris is a European Solution Architect at 10gen ↩
Original title and link: Overview of MongoDB Java Write Concern Options (©myNoSQL)
via: http://www.littlelostmanuals.com/2011/11/overview-of-basic-mongodb-java-write.html
Friday, 25 November 2011
Griffon and NoSQL Databases
Andres Almiray:
The following list enumerates all NoSQL options currently supported by Griffon via plugins:
- BerkeleyDB
- CouchDB
- Memcached
- Riak
- Redis
- Terrastore
- Voldemort
- Neo4j
- Db4o
- Neodatis
The first 7 are Key/Value stores. Neo4j is a Graph based database. The last two are object stores. All of them support multiple datasources, data bootstrap and a Java friendly API similar to the one shown earlier.
Griffon is a Groovy-based framework for developing desktop applications. While the coolness factor of Java-based desktop apps is close to zero, having some multi-platform management utilities for these NoSQL databases might be interesting.
Original title and link: Griffon and NoSQL Databases (©myNoSQL)
via: http://www.jroller.com/aalmiray/entry/griffon_to_sql_or_nosql
Tuesday, 27 September 2011
MongoDB Type Safe Queries With QueryDSL and Spring
Short intro to using Spring and QueryDSL for getting type-safe MongoDB queries:
The way QueryDSL works is by generating query classes based upon your persistence domain model. QueryDSL has a simple maven plugin that scans for appropriate annotations and generates the query classes for you.
If you’re looking for MongoDB query DSLs, take a look at Foursquare’s Rogue: a Scala-based query DSL and how to create a Clojure query DSL.
Original title and link: MongoDB Type Safe Queries With QueryDSL and Spring (©myNoSQL)
via: http://cjharris5.blogspot.com/2011/09/spring-mongodb-type-safe-queries.html
Sunday, 14 August 2011
The Stories of the Revamped Riak Java Client and Improvements in Python Client
If you read the story of the MongoDB Erlang driver, you’ll probably enjoy reading about Riak’s revamped Java client or the improvements in the Riak’s Python client .
Original title and link: The Stories of the Revamped Riak Java Client and Improvements in Python Client (©myNoSQL)
Sunday, 10 July 2011
Seven Java Projects That Changed the World
Over the last decade, several projects have traveled beyond mere adoption and had effects dominating the Java world, into software development in general, and some even further into the daily lives of users.
Not sure how Edd Dumbill came up with the list[1], but it includes Solr (and implicitely Lucene) and Hadoop. I concur.
-
The list looks good to me. ↩
Original title and link: Seven Java Projects That Changed the World (©myNoSQL)
Thursday, 2 June 2011
structr: CMS on top of Neo4j
structr :
structr is a free, open-source CMS under the GPLv3, written in Java, based on the fantastic NoSQL graph database Neo4j.
By design, structr is modular, distributed and easy to use.
structr is not yet stable, so please be patient and look out for bugs and minor (or even major) pitfalls.
If my memory serves me right, Neo4j started as a library used internally for building content management systems.
Original title and link: structr: CMS on top of Neo4j (NoSQL databases © myNoSQL)
Wednesday, 11 May 2011
Simhashing in Hadoop with MapReduce, Cascalog and Cascading
Simhashing in MapReduce is a quick way to find clusters in a huge amount of data. By using Cascading and Cascalog we’re able to work with MapReduce jobs at the level of functions rather than individual map-reduce phases.
Original title and link: Simhashing in Hadoop with MapReduce, Cascalog and Cascading (NoSQL databases © myNoSQL)
Friday, 6 May 2011
MongoDB Adoption in the Java World
July 2010 (approximately 1 year ago):
Every time I realize the flurry of NoSQL activity in the dynamic languages space, I feel the urge to post about the status of NoSQL adoption and support in environments like C# and Java.
Spring frameworks feels like be all do all these days. On the other hand, having NoSQL databases integrated with Spring framework my actually represent an opportunity to penetrate the enterprise world.
The platform lets you build applications with Java and other JVM-based frameworks such as Grails and Roo, Rails and Sinatra for Ruby and Node.js. […] Cloud Foundry also supports MySQL, MongoDB and Redis
Over the last few months, the Java MongoDB ecosystem has started to drastically evolve. New features in the core MongoDB server continue to distinguish the product from the crowd and new engineers are joining the MongoDB open source community by contributing Java persistence (mappers) frameworks and libraries.
Note: The format of this post has been heavily inspired by John Gruber’s Wolf!.
Original title and link: MongoDB Adoption in the Java World (NoSQL databases © myNoSQL)
Monday, 21 March 2011
Globals: InterSystems Free NoSQL database for Java
As of now 5 hours until we will get Globals, yet another NoSQL database from InterSystems, the Caché object database creators.
Will it be a graph database like the Objectivity spin off InfiniteGraph?
Update: the countdown is at zero for a while and nothing happened.
Original title and link: Globals: InterSystems Free NoSQL database for Java (NoSQL databases © myNoSQL)
Tuesday, 15 March 2011
Persisting Eclipse Modeling Framework models to MongoDB
The project is called mongo-emf […] One feature that I hope you will find attractive is that there are no annotations or XML configuration files required.
If there’s no XML then it’s not Java.
Original title and link: Persisting Eclipse Modeling Framework models to MongoDB (NoSQL databases © myNoSQL)
Monday, 28 February 2011
Jetty Session Clustering with Redis
The Jetty module jetty-session-redis uses Jedis, the Java client of Redis.
The configuration is completely transparent for a Webapp since you only need to modify the jetty.xml server configuration plus de webapp context files.
We have also implemented several serializers for your session attributes:
- XStream
- JSON
- JBoss Serializer
- JDK Serializer
No fancy stuff. Just a key-value store used the right way.
Code available on GitHub.
Original title and link: Jetty Session Clustering with Redis (NoSQL databases © myNoSQL)
via: http://blog.mycila.com/2011/02/jetty-session-clustering-with-redis.html
Most Popular Articles
- Translate SQL to MongoDB MapReduce
- Tutorial: Getting Started With Cassandra
- CouchDB vs MongoDB: An attempt for a More Informed Comparison
- Cassandra @ Twitter: An Interview with Ryan King
- A Couple of Nice GUI Tools for MongoDB
- NoSQL benchmarks and performance evaluations
- Ehcache: Distributed Cache or NoSQL Store?
- Document Databases Compared: CouchDB, MongoDB, RavenDB
- Quick Review of Existing Graph Databases
- NoSQL Data Modeling