Glenn Jacobs

Glenn Jacobs

Live

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.

Nick

Nick

·
·

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
Dennis

Dennis

· · Edited
·

1 total vote
Zander van der Meer
Dennis van Dalen

Dennis van Dalen

· · 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"

1 total vote
Mathias Palmqvist

Share database between applications

(13.69140991765 days ago)
4 total votes
Nick Dennis van Dalen Mathias Palmqvist Glenn Jacobs
  • Dennis moved item to board Live

    1 week ago
  • Zander van der Meer moved item to board In progress

    1 week ago
  • Glenn Jacobs moved item to project Applications

    1 week ago
  • Glenn Jacobs created the item

    1 week ago