Support the ongoing development of Laravel.io →
Laravel
Last updated 3 months 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!

LaraJobs

Your banner here too?

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.