New HarmonyOS launched from Huawei


Huawei officially launched HarmonyOS or previously known as  Hongmeng OS at the Dongguan Developer Conference on August 9 2019, which is a new microkernel-based, distributed operating system designed to deliver a cohesive user experience across all devices and scenarios.

Richard Yu, CEO of Huawei’s Consumer Business Group, explained that “HarmonyOS is completely different from Android and iOS. It is a microkernel-based, distributed OS that delivers a smooth experience across all scenarios. It has trustworthy and secure architecture, and it supports seamless collaboration across devices. You can develop your apps once, then flexibly deploy them across a range of different devices.”

So, What is so special about this HarmonyOS?

Below are the 4 key technical features that HarmonyOS is focusing on:

1. Seamless: First-ever device OS with distributed architecture, delivering a seamless experience across devices

By adopting distributed architecture and distributed virtual bus technology, HarmonyOS offers a shared communications platform, distributed data management, distributed task scheduling, and virtual peripherals. With HarmonyOS, app developers won’t have to deal with the underlying technology for distributed apps, allowing them to focus on their own individual service logic. Developing distributed apps will be easier than ever before.

2. Smooth: Deterministic Latency Engine and high-performance IPC

HarmonyOS will address underperformance challenges with a Deterministic Latency Engine and high-performance Inter Process Communication (IPC). The Deterministic Latency Engine sets task execution priorities and time limits for scheduling in advance. Resources will gravitate toward tasks with higher priorities, reducing the response latency of apps by 25.7%. The microkernel can make IPC performance up to five times more efficient than existing systems.

3. Secure: Microkernel architecture that reshapes security and trustworthiness from the ground up

HarmonyOS uses a brand-new microkernel design that features enhanced security and low latency. This microkernel was designed to simplify kernel functions, implement as many system services as possible in user mode outside the kernel, and add mutual security protection. The microkernel itself provides only the most basic services like thread scheduling and IPC.

Harmony OS’s microkernel design uses formal verification methods to reshape security and trustworthiness from the ground up in a Trusted Execution Environment (TEE). HarmonyOS is the first OS to use formal verification in device TEE, significantly improving security. In addition, because the HarmonyOS microkernel has much less code (roughly one-thousandth the amount of the Linux kernel), the probability of attack is greatly reduced.

4. Unified: Multi-device IDE allows apps to be developed once and deployed across multiple devices

Powered by a multi-device IDE, multi-language unified compilation, and a distributed architecture kit, HarmonyOS can automatically adapt to different screen layout controls and interactions, and support both drag-and-drop control and preview-oriented visual programming. This allows developers to more efficiently build apps that run on multiple devices.

The HUAWEI ARK Compiler is the first static compiler that can perform on par with Android’s virtual machine, enabling developers to compile a broad range of advanced languages into machine code in a single, unified environment.

Top 5 Reasons why you should use RDS service in AWS


Amazon relational database services or Amazon RDS is a service that makes it easy to setup, operate and scale a relational database in the cloud.

You can choose from the new Amazon Aurora engine, MySQL, PostgreSQL, Oracle database or Microsoft SQL server. An AWS even keeps up with patching them for you. You can keep using existing tools and applications.

With Amazon RDS there is no need to buy, rack and stack hardware and no need to install software. Just click and go. New databases will be made available while you do more important stuff.

Top 5 Reasons:

1. Managed and Easy Deployments:

Amazon RDS is designed for developers who want to be capable of all the features of MySQL database. Or who wish to migrate the tools, application and code they use today with their already existing database will remain the same with Amazon RDS too.

As Amazon RDS for MySQL provides access directly to the MySQL database software running on your Amazon RDS DB Instance.

Metrics and Monitoring – Amazon RDS sends metrics to CloudWatch every single minute for each and every database instance that is active with no additional charge.

For your database instance deployments you can use console of AWS management to view key operations like computer, I/O activity, memory, Db Instance connections, and utilization. You can also get a deeper insight in real time with monitoring.

DB Event Notification – Amazon RDS sends you Amazon SNS notification through email or sends you SMS about DB instance deployments.

Automatic Software Patching – Amazon RDS makes sure that MySQL with the latest patches stays up to date.

2. Predictable Performance – Fast:

Amazon RDS provides PIOPS (Provisioned IOPS) to get fast, predictable and consistent input and output performance. For online transaction processing and for high I/O centric application this is ideal.

MySQL RDS allow you to set up as many as 30,000 IOPS. As you set more IOPS the concurrent processes increases. In a result, latency is decreased and throughput is increased to achieve higher database performance.

3. Backup & Recovery:

Amazon RDS facilitate its users with two types of backup mechanisms.

Automated backup: Automated backup automatically takes a full daily snapshot of database’s data. Transaction logs are also captured by Automated backup and any change to your RDS database too.

DB Snapshots: Amazon RDS database snapshots are backups initiated by users. Automated backup takes 1 snapshot daily but with DB instance snapshots user can take as many snapshots as they want.

These DB backups are stored by Amazon RDS. and will be stored until you delete them explicitly.

4. Replication:

Amazon RDS provides two replication features that help you to get enhanced DB availability. It also protects your DB latest updates from any unplanned outcome.

Multi-AZ Deployments – When you create or update your DB instance to run as a multi-AZ Deployment, Amazon RDS automatically manage a “standby” replica.

The replica is created in a different available zone having the independent infrastructure at the separate physical location.

In the case of any failure, Amazon RDS can failover to the latest “standby” so that DB operations will be resumed as soon as possible.

Read Replicas – This feature of Amazon RDS makes it easy to scale it beyond the capacity constraints of a single DB instance. It is for read-heavy DB workloads.

One or more replicas can be created for a source DB instance across AWS region or within the AWS region.

It serves heavy-volume application and read traffic from any copy of your data. Amazon RDS use MySQL’s replication to propagate changes of a source DB Instance to any replica.

5. Security:

Data Encryption – Amazon RDS allow you to secure your MySQL DB Instance with the help of data encryption. You can encrypt it with the keys and it is managed by AWS Key Management Service.

you can isolate your DB Instance using Virtual Private Cloud in your own network. You can connect it to IT- the infrastructure of your industry using your industry encrypted IPSec VPN.

More information regarding AWS RDS can be found here