Best database paradigm to use [closed] - sql

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm just starting to get into web development, and I am planning a website.
This website will have users that can edit data. Think of it like a tree:
Theres the organisation (company), then under the organisation there are users. Each user can have multiple "clients", and the user can edit data about the "client" and share that data. The type of data are numbers and text mostly, and possibly some images.
What database paradigm would be best suited to this? I was thinking documents or relational. I want low-cost, but also lots of room for horizontal (and possible vertical) scaling.
Thanks :)

Considering your requirement, Google Cloud SQL will be the best option for you. It provides data manipulation option and horizontal scaling.
Google Cloud SQL is a fully-managed database service that offers high performance, scalability, and convenience. Hosted on Google Cloud Platform, Cloud SQL provides a database infrastructure for applications running anywhere.

Related

In what scenario it makes sense to use multi db [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I'm working on a side project of mine using rails api. The app is like a project manager which the structure is gonna be different based on the company type. For example a company which is doing production is different with a company that provides services. Does it make sense to use multi db in this case so based on the company type the users are gonna have different interface and structures?
Thanks for your time in advance
It makes sense to use multiple databases when you're reaching the resource limits of a single database in your application. Of course this presumes you have also followed best practices along the way (efficient queries, effective caching strategies, etc.) Rails 6 has support for replicas which allow you to automatically separate your db writes from your db reads based on the HTTP verb. Beyond replicas, Rails 6 supports using a distinct database with its own replica for a custom collection of ActiveRecord models.
For more details I would recommend taking a look at the Rails Guides on Multiple Databases.

Firebase vs Google Cloud SQL for Laravel [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I've already read a lot about it, but I'm particularly interested for Laravel and its price difference.
We run a web application based on Laravel and this already with the Google Cloud App Engine. For our web application we need a solid database. Here the question arose, which one?
What are the main differences between Firebase and GCP SQL? How is this reflected in the price?
I'd recommend heading into this GCP Databases page which has a cool matrix on what are the differences between solutions on GCP. It really depends on what kind of data you have and how scalable the solution needs to be.
There is also a nice decision diagram on this blog post which can be seen below. It feels like instead of using Firebase Realtime DB or Cloud Datastore, one should now be using the Firestore which is also integrated into the GCP UI experience.

What is better in Google Cloud? Projects or Instance of vm for every customers? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I'm a web developer and mobile applications. I have several clients which I manage in a hosting service with whm panel. Now I want to start using Google Cloud. My question is whether it is better to create a project for each client or to create a single project with a lot of space and there to store all the pages and databases. Please help me with this because I do not know what is the best practice
From my experience,
If your customer pays a fixed price for hosting it does not matter.
If you charge "pay as you go" then a separate project is the only way you can know how much exactly to charge.
Like Ken says, it is very difficult to predict your needs with so little information. One point to keep in mind: if you ever plan to turn over ownership of the project to the client, then having a separate project for each client will make life so much easier.

SQL or NoSQL for my app [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm developing an application for iOS, Android, Windows Phone and in the future a web version of it.
I'm relatively new in databases so I started learning a bit of SQL and PostgreSQL.
My application is for industry and will show pruducts and other information relatively with that.
My question is should I use SQL database or NoSQL database, and which should I use?
Thanks!
Use the database that makes it easiest to model your data. If your data is relational, use a relational database. If your data is best represented as a document, use a document database. If your data is best represented as a graph, use a graph database.

What's the state of the art in determining user location via IP address? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I found myself trying to convert IP addresses into locations today, and found a number of options. They vary in methodology (some are downloadable databases, some are services, etc) and quality.
Whois
hostip.info
ip2location.com
maxmind
Dayana
geoiptool.com
There are more.
I know the quality of any of these tools can only be so high (users can proxy, etc), but I would like to know which of the above tools is generally the best, or if I should be using multiple services, or what. Does anyone have any experience actually comparing these to each other, or know where I can find such a comparison?
I've been using maxmind in an Asp.net site and it have been always reliable and quite fast to respond. Consider also using Html5 geolocation if you'll be dealing with browsers.