What is the difference between linearizability and serializability?

后端 未结 5 698
别跟我提以往
别跟我提以往 2021-01-29 19:26

What is the difference between linearizability and serializability (in the context of Java)? Can you please explain the difference between these with an example or provide a goo

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-29 19:49

    Check Wikipedia's explanation:

    http://en.wikipedia.org/wiki/Linearizability#Linearizability_versus_serializability

    It can also be a bit confusing because we also use the term serialize to refer to converting a class into data stream for storage or network transmission.

提交回复
热议问题