What database and mechanisms to be used for work with different devices?

Writing a desktop application in C#. Application for processing data receives and stores data, outputs the statistics. I also want to write an app on Android with the same functionality for mobility. Wonder what database to use to both programs worked with her and were always in sync.
Tell me, please.

P. S. priority is Postgresql.
March 25th 20 at 13:11
5 answers
March 25th 20 at 13:13
The logic, as I understand it, processing will execute the app itself?
In your case two applications that's not right.

The application should only be one console (thin client).
All the logic for obtaining data (from the side), the design task must be performed on the server.
The clients only send commands and display the result.

If you work with large amounts of data - you do not need them all to pull on the client for the calculations and send back the results.

Synchronization can be achieved through periodic updates of the status of the client or if the clients communicate via sockets with the server, the server can notify the client of the changed condition instant.
March 25th 20 at 13:15
the priority of Postgresql
a good option for the backend (DBMS on a remote server. so, for safety at least and covered with a layer of API)

if you want local, the same cross-platform DBMS as the application itself, this is most likely SQLite
he still needs synchronization. Without a backend is much more complicated - Nathanael_Renner commented on March 25th 20 at 13:18
@Nathanael_Renner, p2p however. yeah, no one says that just. but TC is not quite accurately set forth the desire )) - kailyn_O commented on March 25th 20 at 13:21
@kailyn_Oif the author can implement a p2p, the question sounds very strange. Different levels of knowledge - Nathanael_Renner commented on March 25th 20 at 13:24
@Nathanael_Renner, all begin with mass misunderstandings )) - kailyn_O commented on March 25th 20 at 13:27
@Nathanael_Renner, you shading me? or tips for the vehicle?

maybe someone useful to read "p2p", try googling it.. something to wonder and before..

and to whom it will not help nothing

you have to me personally any more questions? - kailyn_O commented on March 25th 20 at 13:30
@kailyn_O, in what line you saw what you claim?
What kind of aggression? Don't understand - Nathanael_Renner commented on March 25th 20 at 13:33
March 25th 20 at 13:17
It is strange that you have a question about database but not about architecture.
What architecture is?
March 25th 20 at 13:19
Absolutely no difference in what will be a DB: MySQL, Postgre, MSSQL, but at least Redis or Mongo...
As a first step I would need to do the web part and write API.
And after this API will work all mobile devices, desktop app and web.
PostgreSql is a good choice
March 25th 20 at 13:21
Database can use any what you like more. Data exchange can be arranged through JSON

Find more questions by tags C#.NETSQLAndroid