there is an application processing system, there is a form for it. when creating an application, its id (autoincrement) is issued. it may happen that the form will work, and the system will not be available, it must be done so that it would look as if everything works. system and form on different servers
How best to organize data storage with the ability to issue a future identifier in a system that is not available?
I thought about the following: storing json data in a local server database with a form with reservation id for requests that are not exactly busy, but MySQL (5.5.6) does not allow creating arbitrary id (autoincrement counter changes to maximum + 1 immediately), t. e. When creating these applications in the system, I immediately "break" the autoincrement. Is it possible to get around this?
Or are there any other options?
UUID представляет собой 16-байтный (128-битный) номер, the problem is that I need to give out some number in the form, I have numbers in the form of 6 digits, it turns out I will have to show instead of 6 and 16 characters and nothing else? - Maximmka