OCN client in-memory database - shareandcharge

I am using the OCN-client locally. I run it in memory, without a database. How does it work? Will it be a problem for me when developing my backoffice service?

The in-memory database is good for development (the OCN client will forget connected parties on restart), but when moving to testing and production phases you would want to switch to a persistent database.

Related

Local Database in Browser with Remote Synchronization for AZURE

Currently I'm working on a project where we use React, PWA, PouchDB and CouchDB to build an offline first application with a large amount of data from the remote database, stored in the client web browser.
In other words a local database of around 2GB is stored in the client through IndexDB storage.
There is a significant problem on the replication of the remote database when starting the application and building the local database. PouchDB takes too long to do this process, there is a thread speaking about this topic.
pouchdb replicate from couchdb : very slow
Apparently there is no way to speed up PouchDB in the level that we need for the project. Therefore we have considered other options for a local database in the web browser with synchronization to a remote database. Some of the options we have considered are AWS Amplify Datastore, Firebase Cloud Firestore and Minimongo.
The company I work for is strongly linked with Azure services, but I have not found any like service in Azure that stores large amounts of data in the client web browser and synchronizes with the remote database.
Does anyone know of an Azure service that can help with this project?
If not, is there any other option or architecture even if not Azure, that would be recommended. We already have a functional web application with React, PWA, CouchDB and PouchDB, this is NoSQL, so NoSQL options would be preferred, but I'm open to consider SQL Database options even though a bigger modification would need to be done in the program.
Thank you in advance !!

Propagating images/photos to other servers

On one server, I have to create photos/images for download.
There is one more server outside of the same LAN that I have to sync my images (both add/delete) to, to help share the load.
Is there a good software to achieve this easily, or do I have to write code to sync the software to another server?
I'm not storing images in the database so I can't sync using built-in database replication. Or is there a specialised SQL database that is specially built for such image sync/replication purposes?

Where does a Web service's Database typically sit?

I am learning back-end development by developing a C# Web Service that interacts with a database. I am not sure, however, where the database is supposed to be kept. Is it supposed to be in the same location as where the web service will be hosted?
[1]Yes,Usually Hosting provider will provide you database with any of your chosen plan like Shared Hosting/VPS Hosting/Dedicated Server.So you should keep your database in hosted environment.
[2]Take backup and keep a copy of it with your local system by FTP transfer.

How to add support for multiple users to edit the same sqlite database?

Given a multi-developer project using some sort of version control, and in which one part of the project would include using a desktop application in which the users would add real production data to a sqlite database file, which will then later be used as input/configuration data in an another application. How this file should be distributed between the developers? In version control? On a shared network drive?
You can also switch the sqlite to something else, the only requirement is that it should be embeddable in the desktop application.
Sounds like you have distributed uses with local desktop applications, and you want to have them enter and save data into a shared database.
The client desktop applications can simply connect to a database server using TCP. You can't use Sqlite for this, as it is a file-based database and not a database server. You could use PostgreSql though.
Other options:
local database server on each client computer that synchronizes with master databases or other client databases using replication. Generally speaking, these should all be the same "brand" of database.
local file database on each client computer (such as sqlite) that synchronizes with master database or other client databases using a tool like SymmetricDS or Daffodil which lets you sync different databases over HTTP.

Database dot com database syncing

I am working on a phonegap project to build a cross platform mobile app, and came to know from a website that the app's database can be deployed/built with "database.com".
The procedure is well explained but I have one question -
how to sync the database available on database.com with a database on a local server?
i.e. for e.g., if a client has his database (of his desktop application) on his local server and he requires a mobile app of the same now, what is the procedure to be followed in "database.com" to sync his server's database with the database on "database.com"?
PS: I need to use "database.com" for my database because I want to maintain it on cloud, and I do not have capability to maintain a local server.
You might need a service for data syncing if it is to be more than once. I work on a project that does exactly this.
www.overcast-suite.com
Otherwise, model your tables to Salesforce Custom Objects, export the data on the local server to CVS and use the Data Loader to import.

Resources