Journal 2022-06-13
<!-- Morning -->Docker as a development environment
- Benefits provided:
- Infrastructure as Code
- Same development environment for each developer
- Bundle of dependency, easier to switch between projects
- You can rebuild from the ground up instead of wasting time fixing a VM
- Cons of the setup:
- Bad shared volumes performance con Windows
- Adds overhead and complexity to the setup
- Needs more time building and downloading
UUID
RFC4122
There are three new UUID version formats:
- UUID version 6 (UUIDv6): A re-ordering of UUID version 1 so it is sortable as an opaque sequence of bytes. Easy to implement given an existing UUIDv1 implementation. See Section 5.1
- UUID version 7 (UUIDv7): An entirely new time-based UUID bit layout sourced from the widely implemented and well known Unix Epoch timestamp source. See Section 5.2
- UUID version 8 (UUIDv8): A free-form UUID format which has no explicit requirements except maintaining backward compatibility. See Section 5.3
- Max UUID: A specialized UUID which is the inverse of RFC4122, Section 4.1.7 See Section 5.4
Memcached
- Uses a text protocol
- It has default port of 11211
- To flush the cache, send a
flush_all
commandecho flush_all | nc localhost 11211