mirror of
https://github.com/amark/gun.git
synced 2025-05-30 18:56:42 +00:00
57 lines
1.6 KiB
HTML
57 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body>
|
|
|
|
<a href="https://github.com/amark/gun" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
|
|
|
<a href="https://gunDB.io/" style="font-family: Arial;">Home</a>
|
|
|
|
<!-- BLOG POST HERE -->
|
|
|
|
<style>
|
|
#main {
|
|
min-width: 250px;
|
|
max-width: 700px;
|
|
width: 75%;
|
|
margin: 7% auto;
|
|
padding: 2% 5%;
|
|
background: white;
|
|
background: rgba(100%,100%,100%,.6);
|
|
font-family: Arial;
|
|
font-size: 18pt;
|
|
text-shadow: 0px 0px 7px #DDD;
|
|
line-height: 20pt;
|
|
}
|
|
#main p {
|
|
text-indent: 2em;
|
|
}
|
|
</style>
|
|
|
|
<div id="main">
|
|
<h3>Do You have Time to Chat?</h3>
|
|
<p>
|
|
Let's build a chat app. But we're going to do it in a mind boggling way.
|
|
Conversations take time to have, therefore rather than storing every message
|
|
individually, we are going to store them in time. What does that even mean?
|
|
</p>
|
|
<p>
|
|
The first requirement is understanding immutable data.
|
|
Most database systems overwrite old data with new data when there is an update.
|
|
This preserves data in space, but loses its history.
|
|
Immutable data is the idea of never changing data,
|
|
but appending a new record every time. Such approach preserves history.
|
|
</p>
|
|
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<!-- END OLD BLOG POST -->
|
|
|
|
</body>
|
|
</html> |