-
Download FreeBSD 11.1 VMDK and create a VM with it as HDD.
-
Get FreeBSD source tree for your exact FreeBSD version and uncompress it to /usr/src:
fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz -
Download latest Realtek network driver (you need to input an email address).
Performance mode changes the system parameters of your Mac. These changes take better advantage of your hardware for demanding server applications.
A Mac with macOS Server that needs to run high-performance services can turn on performance mode to dedicate additional system resources for server applications. Note, however, that performance mode can be enabled even without macOS Server being installed to achieve similar benifits for other high-performance services.
sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"
sudo reboot
Reference: https://support.apple.com/en-us/HT202528.
| #RabbitMq | |
| set $connect_rabbitMqStompHost "127.0.0.1"; | |
| set $connect_rabbitMqStompPort "61613"; | |
| set $connect_rabbitMqStompUsername "test"; | |
| set $connect_rabbitMqStompPassword "test"; | |
| set $connect_rabbitMqStompVhost "/"; |
| #!/bin/bash | |
| add_remove_swap(){ | |
| echo "function add_remove_swap" | |
| echo | |
| local option[1]="add swap" |
| ** Create swap ** | |
| - Check swap info | |
| > swapon --show | |
| > free -h | |
| - Check available space disk | |
| > df -h | |
| - Create swap | |
| > sudo fallocate -l 2G /swapfile |
https://stackoverflow.com/questions/48993286/is-it-possible-to-route-traffic-to-a-specific-pod?rq=1
You can guarantee session affinity with services, but not as you are describing. So, your customers 1-1000 won't use pod-1, but they will use all the pods (as a service makes a simple load balancing), but each customer, when gets back to hit your service, will be redirected to the same pod.
Note: always within time specified in (default 10800):
The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.
However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on
| const musicNotify = () => { | |
| const m = '/storage/emulated/0/Download/WeiXin/平凡之路.mp3' | |
| media.playMusic(m); | |
| sleep(media.getMusicDuration()); | |
| } | |
| const to_mall_cart = () => { | |
| shopping_cart_btn=id('img_shopping_cart').findOne() | |