Node App with PM2 Cluster
https://pm2.keymetrics.io/docs/usage/cluster-mode/ Make sure your application is stateless: share database/cache, cronjob Create ecosystem.config.js at root
https://pm2.keymetrics.io/docs/usage/cluster-mode/ Make sure your application is stateless: share database/cache, cronjob Create ecosystem.config.js at root
Config Simple config: nginx.conf Health check: https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/ Monitoring: https://docs.nginx.com/nginx/admin-guide/monitoring/live-activity-monitoring/
Download https://jmeter.apache.org/download_jmeter.cgi Get started https://jmeter.apache.org/usermanual/get-started.html INSTRUCTION Download jmeter -> extract PREPARE TEST PLAN open terminal run GUI ./bin/jmeter Create new Test Plan Right click on “Test Plan” -> Add -> Threads -> Thread…
Please read this post first: Issue your ERC20 token with Solidity on Ethereum Blockchain [https://medium.com/p/6e640eb613ff] Similar with ERC20 token, now let create a ICO Crowdsale with simple abstract: Start date…
Please read some useful posts first: Issue your ERC20 token with Solidity on Ethereum Blockchain [https://medium.com/p/6e640eb613ff] SmartContract ICO Crowdsale simple [https://medium.com/p/35dc5ff02459] In this demo, I use web3 version 1.0.0-beta.33, solidity…
I created smart-contract follow ERC20 Standard to issue an awesome token. It’s easy. Let’s start. Preparing: Install Metamask: https://metamask.io/ Create new Eth account with Metamask on Ropsten Test Network Init some…
STOP APPLICATION BACKUP DATABASE UNINSTALL OLD DATABASE INSTALL NEW ONE VERIFY INSTALLATION Add user role Public db Restart mongodb RESTORE DATABASE RESUME APPLICATION
The Stake event begins with fixed pool size and staking time. How to deal with fairy things? (1) The reward should be fixed at staking time and maybe grow up…
The problem is caused by a too-small fee for that transaction. Bitcoin Way 1: Wait for over 48h (2–3 days) and that transaction will be rejected. 😀 Way 2: Re-broadcast your…
Combine with provider to access subject anywhere instead of static approach