-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
671e229
commit 147dcba
Showing
7 changed files
with
131 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Data longevity | ||
|
||
Nippy is widely used to store **long-lived** data and promises (as always) that **data serialized today should be readable by all future versions of Nippy**. | ||
|
||
But please note that the **converse is not generally true**: | ||
|
||
- Nippy `vX` **should** be able to read all data from Nippy `vY<=X` (backwards compatibility) | ||
- Nippy `vX` **may/not** be able to read all data from Nippy `vY>X` (forwards compatibility) | ||
|
||
# Rolling updates and rollback | ||
|
||
From time to time, Nippy may introduce: | ||
|
||
- Support for serializing **new types** | ||
- Optimizations to the serialization of **pre-existing types** | ||
|
||
To help ease **rolling updates** and to better support **rollback**, Nippy (since version v3.4.1) will always introduce such changes over **two version releases**: | ||
|
||
- Release 1: to add **read support** for the new types | ||
- Release 2: to add **write support** for the new types | ||
|
||
Starting from v3.4.1, Nippy's release notes will **always clearly indicate** if a particular update sequence is recommended. | ||
|
||
# Stability of byte output | ||
|
||
It has **never been an objective** of Nippy to offer **predictable byte output**, and I'd generally **recommend against** depending on specific byte output. | ||
|
||
However, I know that a small minority of users *do* have specialized needs in this area. | ||
|
||
So starting with Nippy v3.4, Nippy's release notes will **always clearly indicate** if any changes to byte output are expected. |
2 changes: 1 addition & 1 deletion
2
wiki/2 Evolving-your-Nippy-data.md → wiki/3 Evolving-your-Nippy-data.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters