GithubHelp home page GithubHelp logo

Comments (3)

lina0322 avatar lina0322 commented on August 17, 2024

❗️ 현재문제: 킬때마다 코어데이터에 정보가 모두 새로 저장되는 부분!!!

from ios-project-manager.

lina0322 avatar lina0322 commented on August 17, 2024

클라이언트가 최신일 경우에 서버에 올려주는 부분도 고려해야함.........(......? 사용자가 인터넷 안되는 상태에서 Todo에 만든 thing을 done으로 이동한 경우..?)

from ios-project-manager.

hcooch2ch3 avatar hcooch2ch3 commented on August 17, 2024

서버-클라이언트 동기화(서버 DB와 클라이언트 디스크 캐시) 경우의 수

1. 클라이언트가 최신인 경우

  • 클라이언트의 최신내역을 서버가 반영하도록 요청.

2. 서버가 최신인 경우

  • 서버의 최신내역을 클라이언트가 반영하도록 요청.

3. 클라이언트와 서버가 같을 경우

  • 서버가 클라이언트와 동일하다는 것을 알려주면 클라이언트는 서버에게 데이터를 받지 않고 디스크 캐시를 로드.

4. 클라이언트와 서버 모두 다를 경우

  • 클라이언트 또는 서버에서 둘의 변동사항을 종합해서 상대측이 이를 반영하도록 요청.

⭐️ 2와 4는 다른 애플리케이션(웹앱, 안드로이드 앱)에서 변동사항이 있으면 발생하므로 우리 프로젝트에서는 발생하지 않는다. 따라서 1과 3만 고려하면 된다.

from ios-project-manager.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.