We will face two problems with using Ethereum as a public ledger. The first one is the gas cost. Storing data to storage is the most expensive operation. (see SSTORE gas cost) The other one is capacity. Event solidity seems not have any data size limitation, we restricted by gas limit.
So, the current Ethereum is not suitable for large data or frequent storing.
Near future, our team will use IPFS for production service so I investigated lots about the configuration of it. I’m going to share my learned knowledge.
At first, export “IPFS_PATH”.
The IPFS repository is created to this path. The default path is your $HOME. For later convenience, I highly recommend setting this path to the proper location.
Initialize repository with “— profile server” option.
ipfs init —- profile server
This option optimizes IPFS configuration for a data center as disabling host and content discovery in local networks. See official document
If you are running on a server in a data center, you should initialize IPFS with the server profile. This will prevent IPFS from creating a lot of data center-internal traffic trying to discover local…
Setting ssl to Application Gateway using Ubuntu VM. I was so tired to achieve this, so I left my knowledge here.
In Azure, there are 2 types of load balancer. One is Load Balancer and the other is Application Gateway. If you want to support https, only Application Gateway is available. Load Balancer is a Layer 4 balancer. So it doesn’t support SSL offloading.
I break down the whole process as following steps.
Basically, follow the official instruction. We are going to create Nginx web server on top of Ubuntu VM, so please skip later sections than “Create a virtual…