Lisk 0.9.0 — Memory and Logging Improvements, Redis Implementation and Block Processing Refactoring

in blockchainliskcrypto •  7 years ago 

Memory Optimizations and Logging Improvements
In this release, management of logs has been enhanced, with console logging disabled by default. Following those enhancements, the memory footprint has been improved by reducing the amount of duplicate libraries loaded per module. Finally, timestamp related activities are now more flexible, directly improving nearly all aspects of Blockchain interaction and performance.

Caching and future proofing

A commonly requested feature for Lisk core was to implement Redis to provide API caching functionality. API caching is the process of storing responses that are frequently requested so they do not have to be regenerated. This should result in commonly run queries returning much quicker. The usage of this cache will be extended in the future as to enable multiple nodes to share the same state and provide load balancing to multiple NodeJS processes.

Jenkins, Continuous Integration

Testing is valuable to ensure the code always performs the same actions the same way. In the past, Travis-CI was used to perform our Continuous Integration testing. However, the rate of development has greatly exceeded the capacity and performance Travis-CI offers, and therefore the CI testing was moved to a more robust Jenkins-CI deployment. With Jenkins-CI, the full test suite for Lisk Core runs in just over 20 minutes, allowing Lisk Core to be tested faster than ever.

Refactoring Efforts

Expanding on the efforts of previous releases, Lisk Core 0.9.0 offers some significant refactoring work. The primary focus of this refactoring work was on Blocks Processing, which went from a single monolithic module, to being broken into five submodules (api, chain, process, utils, verify). These submodules improve both code quality and readability as each submodule is responsible for appropriate actions.

Summary

Lisk 0.9.0 provides the bridge for 1.0.0 by improving code quality and readability, management of logs, implementing Redis and providing a solid foundation for continuous integration.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://blog.lisk.io/lisk-0-9-0-memory-and-logging-improvements-redis-implementation-and-block-processing-refactoring-c0ae2e0d9e04

Congratulations @khekda! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!