Questions tagged [polyglot-persistance]

Polyglot Persistence, like polyglot programming, is all about choosing and/or combining the right persistence option for the task at hand.

Martin Fowler has been focusing on the topic of Polyglot Persistence: http://www.martinfowler.com/bliki/PolyglotPersistence.html

According Fowler notes, he first heard about Polyglot Persistance from Scott Leberknight https://www.altamiracorp.com/blog/employee-posts/polyglot-persistence

12 questions
5
votes
1 answer

Combining SQL and NOSQL databases using Hibernate ORM and OGM

I have an application that uses SQL Server. I wanted to use a NOSQL store and I decided it to be graph since my data is highly connected. Neo4j is an option. I want optimally to be able to switch the databases without touching the application layer,…
Avise
  • 91
  • 1
  • 7
4
votes
2 answers

Edge Collection vs. Graph

There's one thing I don't get in ArangoDB: What's the difference between an edge collection and a graph? In which cases should I choose which?
Mr.Yeah
  • 1,054
  • 2
  • 9
  • 21
4
votes
2 answers

Specification pattern and DDD

Within the context of a personal play project for learning more about DDD patterns, I am missing a Specification object for my filters. Looking around for examples, it seems that everything (like LinQ) is oriented towards SQL databases. However…
2
votes
1 answer

Handling complex read models in distributed architecture driven by Domain Driven Design and Polyglot Persistence

I have got a dilemma related to DDD (Domain Driven Design). Let’s simplify the description and assume we have 3 domain. For every domain there are dedicated collections in database. Let’s assume: 1st domain is covered by team 1 that chosen for…
komizo
  • 1,052
  • 14
  • 21
1
vote
1 answer

Design a PolyGlot database on Google Cloud Platform

I am designing a global ERP / scheduling system that has to be hosted on Google Cloud SQL and Google Datastore. For the most part the data is strongly relational and not large in volume or volatile, so is a natural fit for a relational database. …
1
vote
3 answers

Polyglot persistence for startup app

I'm in the process of developing my next app, and I'm really interested in using polyglot persistence. I like the idea of being able to query different data structures for different services. I'm essentially wanting to sync MongoDB, Neo4j/Titan,…
1
vote
1 answer

Neo4j commit callback over REST API?

I came across https://github.com/neo4j/neo4j/blob/master/community/kernel/src/main/java/org/neo4j/graphdb/event/TransactionData.java which allows to capture data that was changed within the course of a transaction. My application uses two data…
new_sys_admin
  • 315
  • 2
  • 5
  • 15
1
vote
0 answers

How to take consistent backups when using multiple data stores? (Neo4j, Postgresql)

I'm using postgresql and neo4j as backend data stores for my application (More about Polyglot Persistence in http://martinfowler.com/bliki/PolyglotPersistence.html ). Both Neo4j and Postgresql support backup mechanisms. Neo4j(Online backup) :…
new_sys_admin
  • 315
  • 2
  • 5
  • 15
1
vote
1 answer

Persisting Game Actor Objects

This question pertains to a game I have been developing, but I believe it is a pretty generic concept for which I have not been able to find a clear answer. I have been trying to figure out how to serialize actors (objects in a game world) to a…
selkathguy
  • 1,171
  • 7
  • 17
0
votes
2 answers

Can SQL and Neo4j be used together in an Identity Microservice part of a .NET application

I am currently developing a .NET Core application based on a microservices architecture. As part of this, we are designing an Identity microservice for user authentication and authorization. We're considering a polyglot persistence approach,…
0
votes
1 answer

Shall I store small data set in Redshift or not?

I am addressing solution to a big data problem using AWS Redshift. This application now needs to be personalized which shall need storing user preferences in a data store. The users in the system are less than 100 and hence shall not require a big…
ajjain
  • 1,151
  • 2
  • 15
  • 28
0
votes
1 answer

Rails or Sinatra as a web framework for a NoSQL and DDD project?

I am evaluating Rails as a framework for a new web project. My only concern is that as far as I know, Rails was built with a very strong inclination towards CRUD and SQL applications. The architecture style of my application will be domain driven…