Fork the project to your github account
Clone the project to you local environment
git clone ssh_string local_directory
Visit my blog or connect with me on Twitter
git init
or
Redis stands for REmote DIctionary Server. By default, redis stores all data in memory. It's a key-structure database. redis-server
is the actual datastore. redis-cli
is the command line interface that performs any redis command. By default, redis binds to port 6379
.
Starting the redis server
redis-server
While you can build a complete system using Redis only, I think most people will find that it supplements their more generic data solution - whether that be a traditional relational database, a document-oriented system, or something else. It’s the kind of solution you use to implement specific features.
docker run -d -v
mongod - the server itself
mongo - mongodb cli (you can run js scripts)
default data directory: /data/db
default DB: test
default port: 27017 (config parameter net:port
anf net:bindIp
)
cyclic redundancy check. crc32
is supposed to be faster than shasum
, you should only use shasum
if the output of crc32
for two files is equal, otherwise, you are safe to say the two files are not equal.
crc32 /path/to/file
md5 file.iso
md5 /path/to/file
shasum -a 1 file.iso
Are there any sessions blocking other sessions in the DB? Blocking session is the cause of lot of ACTIVE
sessions in the DB and represent 2 or more sessions trying to touch the same data. We need to avoid this situation.
SELECT s1.username || '@' || s1.machine
|| ' ( SID=' || s1.sid || ' ) is blocking '
|| s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status,
st1.sql_text statment_1,
st2.sql_text statment_2
FROM v$lock l1, v$session s1, v$lock l2, v$session s2, sys.v_$sql st1, sys.v_$sql st2
Consul provides a solution to the following challenges:
Cloud Native apps = cloud + orchestration + containers
-- install k8s cli-tool kubectl for sending commands to k8s API server
-- you may want to alias kubectl to something shorter like k. Add alias k=kubectl
-- in your bash|zsh profile