To build all apps and packages, run the following command:
docker-compose build
To run all apps and packages, run the following command:
docker-compose up -d
- Issue:
- Cryptonator API is being blocked by Cloudflare browser checking so the application cannot directly fetch from that source
- Solution: A flexable implementation which allow another provider
- Enhancement: Since another API may not provide
Change
data require, a possible solution is to implement a data storage and calculate theChange
data ourselves
- Caching:
- Use Redis as the Caching service to minimize the number of calls to third party API
- Use TTL 30 seconds which matches the refreshing time of third party API
- Need to improve the handling if redis service is down
- Scalability:
- Currently it is using Docker Compose to run apps, ideally using k8s can minimize changes to apps/containers but provide the scalability, i.e. multiple backend services can be run
- Data storage:
- Currently the application does not use any database service as it is depending on pass through data, if past data will be needed that we should add a database
The implementation started at 23 Feb and completed on 27 Feb. Average hours worked per day is 2 - 3. Some blockers faced;