Support the ongoing development of Laravel.io →
Laravel
Last updated 2 years ago.
0

The safest bet is to always assume the remote connection is down. You will need a local database. You write to the local database, then use a job to sync it to the main database. The job should stop if and error silently if it can not connect to the remote host. The remote host should send a handshake back that the entry was accepted so it can be deleted locally. This is how every POS I have seen run works.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.