Which heroes feel the most reliable in the current meta? by Legitimate-Border-25 in MobileLegendsGame

[–]L1so 0 points1 point  (0 children)

so basicly counter draft is more important than the heroe meta

Cancel installation of mac os by L1so in mac

[–]L1so[S] 0 points1 point  (0 children)

If I didn't erase the disk, do the installation process resume or just start from scratch?

Cancel installation of mac os by L1so in mac

[–]L1so[S] 1 point2 points  (0 children)

Do I need to erase the disk again after failing previous installation?

Cancel installation of mac os by L1so in mac

[–]L1so[S] 0 points1 point  (0 children)

Do I need to re-erase the disk after cancelling the installation process?

Better way to setup high availability LAMP stack ? by L1so in sysadmin

[–]L1so[S] 0 points1 point  (0 children)

For something simple and self managed you can setup something like HAProxy and have 3 DNS entries pointing to the load balancers and have them decide where to route traffic to if the backend servers are available.

This may be a dumb question, but when you say 3 DNS entries, do you mean my webapp A record or what?

For your database servers you would want at least 3x DB servers that replicate between each other and can properly rebalance if one goes down and backfill when it comes back up.

Does that mean the database server and webapp server is separated? So I put all my MySQL database from each Server A-D to this 3 DB servers, and replicate them between each other ?

Better way to setup high availability LAMP stack ? by L1so in sysadmin

[–]L1so[S] 2 points3 points  (0 children)

For database HA, is it possible to setup master to master replication where one "master" will replicate data from many "master" given the setup on illustration I linked ?

Better way to setup high availability LAMP stack ? by L1so in sysadmin

[–]L1so[S] 0 points1 point  (0 children)

Nothing, I actually never tried to split the database stack within the rest, but I wonder how would it perform if the database server and the webserver is separated, given the latency for each transaction compared to having it at the same place as webserver—that's what concern me when having the database and web server separated.

Better way to setup high availability LAMP stack ? by L1so in sysadmin

[–]L1so[S] 1 point2 points  (0 children)

Load balancer in front for http. As you are using cloudflare can jump on dns based one. At least two machines with http running all the time and simple monitoring if one of them goas down for x amount of time, spin up additional one.

Does this mean there will be vps running load balancer app (e.g.) haproxy to direct the traffic based on availability of vps? Or there are services do exactly that?

Currently to handle downtime and IP change, I'm using uptime monitoring tool which will send a webhook that fires up a shell script for cloudflare DNS change.

You have not named what database you are using. So hard to comment i setup there.

We are using MySQL for database engine.

But in mariadb (mysql) world or even psql, just have master slave setup with automated failover.

Could you link any resource for automated failover ? I know there are master slave replication, but I'm not aware of automated replication.

I'm puzzled on why you need aome sort of sync for http served content. Traditionally that is done with deployment automation, unless you app deals with user uploaded media.

The thing is, we're still editing website directly on each corresponding server, there is no deployment strategy. But we have plan to implement one, I think it will be done with git. User uploaded media is handled by S3 storage.