You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Persistence of IV filter should be corresponding to port, password and IV triples, and never be removed until glider was uninstalled.
We can refer to the implementation of AOF of Redis:
Set up a writing buffer and write records into it.
Flush and append buffer to the AOF file when buffer is full and at the end of a event loop.
Force to sync file buffer (related with file system and operating system) after flushing in step 2 or every second, or just leave the decision to the operating system.
Perform AOF rewriting occasionally to shrink the size of AOF file.
In our design, the record to write is right the IV value (and the corresponding triple mentioned above), and AOF rewriting is to write the values of bloom filters.
Anyway, if the implementation does not consider unexpected blackout, persistence can be designed simper, but it is not recommended.
Hi @mzz2017 , thanks for your help. I move the code of ss lib here just because I need to use the buffer pool, it would be great if there's a ss lib matching both our goals, then I can use it as 3rd party lib :)
@nadoo Thanks. I just list them here. And it is absolutely your right to bring it to glider or not. I love the project and I have no plan to influence your decision. I will fork it and add them if I need them on a personal level. Thanks again.
Persistence of IV filter should be corresponding to port, password and IV triples, and never be removed until glider was uninstalled.
We can refer to the implementation of AOF of Redis:
In our design, the record to write is right the IV value (and the corresponding triple mentioned above), and AOF rewriting is to write the values of bloom filters.
Anyway, if the implementation does not consider unexpected blackout, persistence can be designed simper, but it is not recommended.
Related issue #223
The text was updated successfully, but these errors were encountered: