Mobile System Design | Offline-First TODO App : HLD-LLD Explained

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 6

  • @pawanyadav4024
    @pawanyadav4024 10 дней назад +1

    Very insightful, thanks for sharing knowledge 👍

  • @MaddieYandow-s3n
    @MaddieYandow-s3n 10 дней назад

    Great analysis, thank you! I need some advice: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?

  • @fuehrercheem2447
    @fuehrercheem2447 7 дней назад +1

    what happens if data is not synced and user logout , we will not be getting updated data as create or update will be missed and delete items will also be shown

    • @raystatic
      @raystatic  6 дней назад +1

      Thanks for pointing that out! As mentioned in the video, the Sync Manager is designed to be highly flexible and can be triggered whenever needed. How frequently you trigger it depends on how critical consistent data is for your application.
      To address your question:
      - In this video, we simplified the process by assuming user data is cleared on logout. However, in a real-world scenario, data should not be cleared until it has been fully synced. This ensures that user changes are preserved regardless of whether they are logged in or logged out. The syncing process should be independent of the user’s session status.
      - The Sync Manager should be invoked at various critical points to ensure data consistency, such as: on app launch, after a certain number of user actions, at the end of a user session, when the local database reaches a threshold for unsynced changes, etc.
      - The Sync Manager is designed to run efficiently in the background, syncing changes in small, manageable batches. This approach minimizes the impact on device performance and ensures a seamless experience for the user.
      The core purpose of the Sync Manager is to maintain data consistency without disrupting the user experience, regardless of how often it needs to run.
      If you have any further questions or concerns, feel free to DM me on LinkedIn. I'd be happy to discuss this in detail and explore potential improvements for the implementation.

  • @Kamalav-ll6tx
    @Kamalav-ll6tx 9 дней назад

    How to provide security for this local database ?

    • @raystatic
      @raystatic  7 дней назад

      In Andorid, while using Room Database, you can use SQLCipher. This will help in encryption of your DB.