We host some big applications, but also a fair amount of small ones.

The small applications don't really require dedicated database resources, as they're not constantly used, but when used they may spike their database activity.

Hosting on shared servers (such as classic Ploi) works well, as they can all share the resources.

If we could create a database instance in Ploi Cloud and share between applications, that would give a similar solution.

It may also provide flexibility for other apps that need to share the same database, but have multiple different frontends.

·
·

We also like the ability to share services between multiple applications/domains.

In our current setup in Ploi.io, the backend Laravel-app shares the same Mysql Database with a simple NodeJS Websocket Server.

To sum it up, let's say our current domain is 'example.com'

Backend App

  • Available on example.com
  • Runs on Laravel

Websocket Server

Both applications/domains can reach the same Mysql Database (and maybe Redis, but Mysql is for us more important to share)

no votes yet
· · Edited
·

1 total vote
· · Edited
·

I wanted to try and reuse a database via the network, but I can't create a new database for a new app?

I mean inside of an existing mysql -- like in Laravel Cloud they call it "mysql cluster" wherein you can make extra databases and connect multiple apps.

This aligns with Glenns request: "The small applications don't really require dedicated database resources, as they're not constantly used"

2 total votes

Share database between applications

5 total votes
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate