I am about to start working on an IONIC app that requires data to be stored on the users' device (SQLite) and accessible when the app is not online. The app will also need to sync any changes made on the local storage to the server DB (SQL Server) and vice versa when an internet connection is available.
What is the best/recommended way to accomplish this task?
Related
We have a WinForms desktop app that connects to a remote server to pull some data. The remote server hosts a web service on a standard IIS website that queries a SQL Server database installed on the same machine. Today, if the remote server is under maintenance or not available our end-user cannot retrieve the necessary data.
Now I am requested to make this feature fault-tolerant. Here are my questions:
Should I ask for another remote server that runs the same web service and move the DB to a third remote server? So the two web services can connect to the same DB?
Should I consider moving the web service logic to the WinForms desktop app and connect directly to a remote DB paying a first-class 99.99% availability service?
Do AWS or Azure provide a ready-to-use solution that fulfills my requirements?
Is there any other option I didn't consider?
In order to build a native desktop application with Electron that can be installed by users in many desktops. Every user must install a local MongoDB database to use the application locally. Now i want to provide a cloud service that can sync the local database for every registered user to the remote server MongoDB database. I'm thinking about putting every local database as a collection in the remote database or maybe just create all the local databases in the remote database by renaming their databases to their usernames.
Which method is good for me? is there a best practice for this problem? what about the limits?
In the desktop version of Power BI, there is data that is from a SQL Server stored on an Azure Virtual Machine. The data has no problems manually connecting and refreshing in the desktop application, but this data is not being refreshed automatically. Gateway is installed on the same Virtual Machine that the SQL Server is on. DirectQuery is used in Power BI to connect to the SQL Server.
It sounds like there could be a couple of issues here. I've listed them below in bullet form.
Ensure scheduled refresh is enabled through the PowerBi online
service.
Ensure the firewall isn't blocking the gateway on the SQL server.
Ensure the credentials you are using with the gateway have read
permission to the database.
Even when the gateway is installed and working correctly. Live refresh isn't a feature that is available within the desktop client. This can only be achieved by clicking the "Refresh" button on the desktop client. Other than that I don't think I can provide any further help without additional information.
I currently have an SQL Server database running on a VM. I also have a REST API made with NodeJS and ExpressJS that is listening for requests connected to this database for the backend.
On the frontend, I would like my Ionic App to have a local database so that users can still view and use the app when there is no internet connection. There are alot of pictures(paths to pictures) on this database. The database is about 3 GB. What is the best way I can implement so that my App can use a local database that will sync with the SQL Server and be able to view the pictures when there is a data connection?
I have looked at PouchDB, however it is a NoSQL local database. Is there anything similar for SQL Server I can use for my front end?
I have a desktop app which uses a Firebird database. And it works fine, yet I want to also have access to that data online.
So I thought it might be possible to sync the data between Firebird and SQL Server. I know there is a tool called dbconvert but its quite expensive.
Any other solutions which come to your mind? Thanks!
You do not need to change the database. If you want to access your desktop app online you can, for example, place your desktop APP + firebird database on windows server and create a access through RemoteApp. Then you can accessed your application from anywhere (if the client OS can RemoteApp and online)
update
You can place application and database on a different type of server if you will reach them through some "remote desktop".