Design philosophies Overall Loose coupling Less code Quick development Don’t repeat yourself (DRY) Explicit is better than implicit Consistency Models Explicit is better tha...
Understanding Scope The Cast Back & Forth Compiler Speak Engine/Scope Conversation Quiz Understanding Scope The way we will approach learning about scope is to think of th...
Design philosophies Overall Loose coupling Less code Quick development Don’t repeat yourself (DRY) Explicit is better than implicit Consistency Models Explicit is better tha...
TimescaleDB tuning tool TimescaleDB tuning tool To help make configuring TimescaleDB a little easier, you can use the timescaledb-tune tool. This tool handles setting the most ...
Prefer smaller Docker base images Blog Quote: “If you want to shrink your Docker images, have your services start faster and be more secure then try Alpine out.” Prefer smalle...
Using Direct I/O Turning on Direct I/O Decrease network data chunks sent to dump when the database is busy Using Direct I/O The operating system normally caches file I/O opera...
序列化 序列化 Serialization.serialize — Function serialize ( stream :: IO , value ) Write an arbitrary value to a stream in an opaque format, such that it can be read back by ...
Iterating over Result s Ignore the failed items with filter_map() Fail the entire operation with collect() Collect all valid values and failures with partition() Iteratin...
Pulling it all together Pulling it all together Okay, let's go ahead and start using these new components to refactor our views slightly. from rest_framework import status ...