Back to News
Advertisement
bbebraw about 24 hours ago 5 commentsRead Article on aaltodoc.aalto.fi

DE version is available. Content is displayed in original English for accuracy.

One of the main challenges related to web development is maintaining state across the client and the server and most web applications have to solve this somehow. Because of this reason, so-called sync engines have become available as they can own a large part of data synchronization.

In his MSc thesis, my student Mikael Siidorow looked into the space to find out the limits of generalized sync. He did his study through multiple methods including literature review, interviews, and a case study. In the end he came up with a taxonomy showing where generalized sync breaks and what you have to keep in mind when implementing these solutions.

This is not to say sync engines are useless, but that there are clear tradeoffs to consider when introducing them to your codebase especially if you have to deal with an offline requirement.

Advertisement

⚡ Community Insights

Discussion Sentiment

33% Positive

Analyzed from 187 words in the discussion.

Trending Topics

#offline#remove#analysis#sync#vendors#converged#hard#problems#general#generalization

Discussion (5 Comments)Read Original on HackerNews

andersmurphyabout 22 hours ago
> Generalization breaks down for offline-capable applications. Offline writes require conflict resolution, create authorization edge cases, and demand coordinated schema management across server and client replicas.

> ...These constraints are structural; engineering effort cannot remove them...

> The trade-off analysis shows that three sync engine vendors converged independently on this conclusion from different starting positions.

This is the big irony. That the vendors all converged on the fact that sync engines only really "work" when you remove the offline part. But, at that point they are a complicated/over engineered cache or worse introducing hard distributed computer science problems unnecessarily.

drnick1about 2 hours ago
Since when are master's theses published on HN? Not even Ph.D. work at a top school typically qualifies because it is too narrow to be of general interest.
WorkerBee28474about 2 hours ago
Well I have seen A Symbolic Analysis of Relay and Switching Circuits here quite a few times, but I suspect this post will get far less engagement.
andersmurphyabout 22 hours ago
Yeah, it's an intellectually intoxicating idea but incredibly hard to get right.

For me the problem is that in practice it only fits really well with quite a specific subset of problems, but we desperately want it to be a general solution that can apply to all the things (or at least it's often marketed that way).

BobbyTables2about 3 hours ago
Given that the URL returns a “Forbidden” response, I’d say there are some other limits he didn’t consider…