curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list sudo apt-get update sudo apt-get install redis
Redis Exporter
Release Workstation using 1.43.0 and latest version is 1.43.0 How to install Unzip downloaded fileMove to /usr/local/binAnd create systemd service file [Unit] Description=RedisExporter Documentation=https://github.com/oliver006/redis_exporter [Service] TimeoutStartSec=0 User=redis_exporter ExecStart=/usr/local/bin/redis_exporter \ -redis.addr=127.0.0.1:6379 \ [Install] WantedBy=multi-user.target
[Series] XCrawler – Truyền kì truyện – Ubuntu
Well ! Series này thật chất không focus nặng vào XCrawler. Bản chất series sẽ xoay quanh các vấn đề liên quan và ... mở rộng. Version mình dùng hiện tại là Ubuntu 20.04 Ubuntu Bản chất Ubuntu cũng chỉ là OS based trên Linux thôi. Không có gì đặc biệt hết. Được cái phổ... Continue Reading →
Laravel – Horizon & Totem
Lâu rồi không update bài gì cho SoulEvil nên nhân tiện post linh tinh 1 chút về 2 món này. Horizon Okay define 1 chút về Horizon. Giả sử có file conf Supervisor sau [program:laravel-worker] process_name=%(program_name)s_%(process_num)02d command=php /path/to/your/laravel/install/artisan queue:work --sleep=3 --tries=3 autostart=true autorestart=true user=your_local_user numprocs=8 redirect_stderr=true stdout_logfile=/path/to/your/laravel/install/queue.log stderr_logfile=/path/to/your/laravel/install/queue.err.log Oki em Supervisor này có nhiệm xử... Continue Reading →
XGallery – Bài toán queues và workers trên VPS Hostvn
Giải quyết bài toán crawling với queues / mongodb & redis / MySQL trên VPS 2 cores / 2 GB RAM
XGallery v4
Keep refactoring v4 with Completely cover by Symfony and right structure of itImplement UI for usage. CLI still use for fetchingImplement better code optimizing OpcacheMemcached or RedisDatabase optimizing
Memcached vs Redis: Direct Comparison
Both tools are powerful, fast, in-memory data stores that are useful as a cache. Both can help speed up your application by caching database results, HTML fragments, or anything else that might be expensive to generate. Points to Consider When used for the same thing, here is how they compare using the original question's "Points... Continue Reading →