laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.74k stars 291 forks source link

A Question About Data Persistence #808

Closed qingye5786 closed 8 months ago

qingye5786 commented 8 months ago

Hello,

I have a question regarding data persistence in Laravel Octane. How long does it take for the in-memory data managed by Octane to be actually written to the database?

I've noticed that when I use the octane:reload command, some in-memory data seems to be lost. However, if I use octane:stop followed by octane:start, the in-memory data is not lost. This observation has led to a concern: if I don't stop Octane, how long will it take for these data to be written to the database? What is the underlying mechanism for this process?

Is there any specific documentation that explains how data persistence is handled in Laravel Octane?

Thank you for your assistance.

driesvints commented 8 months ago

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

qingye5786 commented 8 months ago

OK,thanks

indigoram89 commented 7 months ago

OK,thanks

Hello, did you solve this problem? Or where did you continue this discussion? Thank you!