1.)I have an application,where i have to get all inbox mails and store it locally.
Should i use mongoDB to store it or mysql is preffered.
Note: Regular insertion and updation of mails will be done,so which one is optimal for performance.
2.) How to configure mysql and mongoDB together in spring boot application.Is there any risk using both together.Since, I need to access both at service layer.
Related
In my project, I am storing a lot of data in MySQL automatically. I want, however, the same things to sync with Node.js application's own data storage. What would be the fastest and easiest way to do this when storing data in both storages simultaneously isn't possible?
So, for example, I am storing variable "balance" in MySQL inside one Node.js application. I would want this same balance updated into other Node.js application's own storage but my current Node.js app is not connected to socket or other kind of data transporting mechanism. So how could I fetch data from MySQL in that other Node.js application?
sound look like your project structure is saga pattern.
in your question about update data is can use Kafka to create a topic and 2 node application consume message on same topic to update data into own database.
Can I get data from outer database through zabbix?
I have outer database of my service and in zabbix I need get some data from this database.
This is possible?
yes, it is possible to read a database using zabbix. See Out-of-the-box database monitoring
An other option is to use zbxdb that I wrote and still maintain. To be successful you need to have some knowledge of zabbix, the database you want to query and when using ODBC, how to configure ODBC. zbxdb uses native drivers.
Don't forget that Zabbix is a monitoring tool. So your queries will normally deliver key/value pairs and not just rows.
In a flutter app stream are used. If some changes happens in firestore database then It'll be reflected in the app too. Can we do the same with the MySQL database as a backend server for storing data. Will the changes in MySQL reflected in the flutter app too?
MySQL does not have built-in realtime capabilities like Firestore. Firestore is fairly unique in this way. Typically, with SQL type databases, you have to repeat the query ("polling the database") to find any updates. There might be other middleware products you can use to simulate realtime updates, but you would have to search for and evaluate those for yourself.
I have a regular Rails application that uses a Postgres database, but I have the following requirement: every day I have to transfer data from all tables of this Postgres database to the customer's MySQL database.
There's no API available, so I have to connect to the customer's database and perform create/update queries for the new/updated rows. They will allow my IP for these operations.
What would be the best way to achieve that? I thought of some options:
1) Schedule a job on my Rails application to perform that operation (the con here is: this logic is specific for one customer, so I don't like the idea of having this on the main codebase)
2) Deploy a lightweight application (maybe node/express) that reads from one database and sends to another (the con here is: I'll have to maintain another server to keep this running)
Are there any other options that I am not considering?
You could use a foreign data wrapper to connect to the MySQL database from your PostgreSQL database. That would allow you to read and write to the customer database with very little that you would need to write or maintain.
It looks like there is a well maintained wrapper for MySQL.
We are planing to develop an application with Amazon Dynamo db. Actually this application is collecting information from my client's database(my client's are using MYSQL, Oracle,MSsql/ any other Relational database), doing some process in my application and send back results to the client's database. This synchronization process should work always(or every 1 minute interval).
I want to know is there any tools(or tricks) are available for synchronization between Amazon dynamo database and Relational database?
You can consider Elastic Map Reduce job, which reads from dynamo, transforms the data and writes back to relational database. (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EMRforDynamoDB.html)
Edit: Also look at Data Pipeline (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-taskrunner-rdssecurity.html)