Dart:Scalable Application Development
上QQ阅读APP看书,第一时间看更新

Recapping the system so far

We now have two parts of the system in place. The first contacts the live feed and pulls out the breaking information, and the second exposes the collected data via a standard API:

Recapping the system so far

Both of these will need to be running, and it would be advisable to have them running outside the development environment. This varies between operating systems, so use a batch file or shell script as appropriate.

Open a process explorer application (top on the Linux command line, Task Manager on Windows, or Activity Monitor on Mac OS) and you will be able to see how efficient the Dart VM is. The applications start immediately and use a relatively small amount of memory.