Research Article

FastFlow: Efficient Scalable Model-Driven Framework for Processing Massive Mobile Stream Data

Algorithm 1

XML formatted metamodel with three submodules, including system configuration, data format, and operator description.
?xml version="1.0" encoding="UTF-8"?
<tasks name="eventsAnalaysis">
  <configuration>
    <config name="executionTime" type="Integer">300000</config>
    <config name="executionType" type="String">cluster</config>
  </configuration>
  <dataFormat>
    <data ipaddress="183.129.178.26" port="970" timeout="10000" queueName="events">
      <attribute type="String">sid</attribute>
      <attribute type="Integer">app_id</attribute>
      <attribute type="Long">usr_id</attribute>
      <attribute type="Integer">sess_stamp</attribute>
      <attribute type="Integer">sess_zone</attribute>
      ⋯
    </data>
    ⋯
  </dataFormat>
  <operators>
    <operator function="where" parallel="2" groupType="shuffle" streamSource="events">
      <params attribute="cpu_cores" operator="=" type="Integer">2</params>
      <params attribute="app_name" operator="=" type="String">WWIIFrontline</params>
    </operator>
    ⋯
  </operators>
</tasks>