Improve querying speed in MongoDB

DB query speed is slowed down mainly when converting fetched data to MongoDB model format.For example we fetch JSON format data from db and convert it to MongoDB model format by embedding model methods.In order to avoid this and improve querying speed we can use lean function.The format is model.find({…}).lean(), then the result is retrieved …

ReactPHP – HIGH performance PHP development

ReactPHP is a low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities, such as: Streams abstraction, async DNS resolver, network client/server, HTTP client/server and interaction with processes. Third-party libraries can use these components to create async network clients/servers and more. Using ReactPHP, …

Cache Service in WPEngine

WPEngine support powerful cache functionality. Because of this, you may sometimes have the non-updating issue of website. To prevent this problems, you need to register specific URL not to cache in WPEngine. For instance, when you add the WooCommerce plugin to your WP Engine website, WPEngine automatically adds some caching exclusions to ensure your pages …

SOLIDITY UNIT TESTS

Solidity test contracts live alongside Javascript tests as .sol files. When truffle test is run, they will be included in the mocha run with a separate test suite per test contract. These contracts maintain all the benefits of the Javascript tests: namely a clean slate per test suite, access to deployed contracts via migrations, runnable on any Ethereum client, …