command
module
Version:
v0.0.0-...-682a0e1
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
simplebank
This project is a simple banking app that uses a microservice architecture and Go on the backend.
The following principles were followed during DB design.
- Atomicity: Either all operations complete successfully or the transaction fails and db is unchanged.
- Consistency: The DB state must be valid after the transaction and all constraints satisfied.
- Isolation: Concurrent transactions must not affect each other.
- Durability: Data written by a successful transaction must be recorded in persistent storage.
This was done to avoid the following read phenomena:
- Dirty reads caused by read-uncommitted isolation level
- Non-repeatable reads
- Phantom reads
- Serialization Anomaly
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
db
|
|
mock
Package mockdb is a generated GoMock package.
|
Package mockdb is a generated GoMock package. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.