I am using Prisma + MySQL in Production. Works great! There's a need in near future where we need to use neo4j alongside/completely. Any suggestions on can we achieve this with the existing artifacts, as apparently Prisma doesn't support neo4j. So if we can continue using Prisma or we stop using it and start using neo4j orm.
Prisma doesn't currently support neo4j, though there are plans to add support in the future. Polyglot support is a use case that Prisma is targeting at large. You can follow the development status in the Github issue (👍 to signal your interest).
In the meanwhile, I'd suggest looking at neo4j specific abstractions.
The Node.js ecosystem there is the neo4j driver and an OGM (Object Graph Mapper) called Neode
Related
We had some R&D for our new project, which uses Cassandra as db. The research shows that we can not use Cassandra 3.x version for import/exporting data using SSIS. So, we have to use lower versions. (what's your opinion?)
On the other hand, we need using materialized view in some cases, SASI secondary index, and other functionality and capabilities of newer versions.
Is there any alternative approach that help us using both versions together and share data between them? Is this a good solution or we should sacrifice the benefits of new versions for translating the data?
that we can not use Cassandra 3.x version for import/exporting data using SSIS
Why do you need SSIS for data import/export. Did you consider using Apache Spark for this purpose ? With Spark, you can migrate to Cassandra 3.x
I'm relatively new to application development but here goes nothing.
I've been working on a project that employs the use of a Tornado server and SQLAlchemy's ORM for database management/access (using postgres in the back end).
At the outset of the project I hadn't considered the possibility that using SQLAlchemy would prevent me from taking advantage of Tornado's async features (since SQLAlchemy's database calls apparently 'block' the thread).
Do you have any suggestions as to how to implement an async-compatible setup with Tornado+SQLA+postgres?
Take a look at aiopg - https://github.com/aio-libs/aiopg
It is a Python 3.4 asyncio adapter for postgres that includes sqlalchemy support. I haven't tried it myself yet, but found it while looking for async libraries for postgres and tornado. I am using Momoko, but it only supplies the raw psycopg2 layer.
Remember that the latest version of Tornado supports asyncio, so asyncio libraries will now work with Tornado.
any one can give sample code from mongodb to rdbs ... I tried already , fetching data from mongodb and output store in mongodb.For that i knew how to do hadoop configuration in java job.
And i want to know three things...
which hadoop version support both mongodb and rdbs?
Is it possible to use multiple collections as input...? If possible, how we can do that?
I tried mongodb query in hadoop,It's working fine.But when i defined sort or limit...It is not working properly..even it's not fetching data from mongodb...
1. which hadoop version support both mongodb and rdbs?
I believe that all versions of Hadoop supporting MongoDB also support RDBMS (the RDBMS implementations predate MongoDB).
For supported versions of Hadoop to use with MongoDB, see: Building the Adapter. Check the version information as some Hadoop versions do not support the Streaming Connector (i.e. if you want to write your jobs in non-JVM languages such as Python).
2. Is it possible to use multiple collections as input...?
If possible, how we can do that?
MongoDB Hadoop Connector v1.0.0 does not support multiple collections as input, but there are a few folks in the community working on this (see: Feature/multiple inputs).
3. I tried mongodb query in hadoop,It's working fine. But when i defined
sort or limit... It is not working properly..even it's not fetching data
from mongodb...
Can you provide an example of how/where you provided these options? Are you referring to the mongo.input.sort and mongo.input.limit properties?
You may want to try enabling the Database Profiler in MongoDB to confirm the queries are being sent:
db.setProfilingLevel(2)
I know rukilo is an UI framework for Dart language but I wonder if it supports to use Mysql? And if it is, how to connect mysql with Dart? Thank you
We are developing Rikulo ORM to simplify the database access (but it is not opened yet). The first version will be built on top of WebSQL (SQLite) and IndexedDB. We do have a plan to bridge it to the backend server such as MySQL. Of course, there are some security and performance challenges to deal with.
I want to experiment a bit with Heroku and Node.js. Heroku uses Postgres by default but I would like the option to use Amazon RDS later on (MySQL). Is there a good database abstraction layer, preferably with a simple object relational mapper around it available at this point? I checked the NPM repository, but couldn't find something that supported both, looked mature and was well documented.
You might be interested in using another hosting provider. For example Duostack is super easy to set up and allows the usage of mysql: http://docs.duostack.com/node/databases#mysql
An ORM for MySQL is e.g. sequelize ( http://sequelizejs.com | https://github.com/sdepold/sequelize ).