Toaster future release planning: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Created page with "In order to select a data store technology, we investigated several possible backends for storing data generated by a build. These are the results of the investigation documentin...")
 
No edit summary
Line 1: Line 1:
[[Category:WebHob]]
In order to select a data store technology, we investigated several possible backends for storing data generated by a build. These are the results of the investigation documenting the final choice.
In order to select a data store technology, we investigated several possible backends for storing data generated by a build. These are the results of the investigation documenting the final choice.



Revision as of 10:37, 29 May 2013


In order to select a data store technology, we investigated several possible backends for storing data generated by a build. These are the results of the investigation documenting the final choice.

Criteria and investigation technique

We selected the following criteria, in descending importance order, as we target optimization in normal data usage. The pattern we expect is to insert for a run a set of records in the range on 10.000 entries, and then repeatedly read them in order to compute statistics and display information to users.

The criteria selected was:

  1. Time to read records (seconds/1000 records)
  2. Time to write records (seconds/1000 records)
  3. Space on disk (Mb/1000 records)
  4. Ease to install / deploy (subjective, 5 stars best, 1 star worst)

The investigation was done by generating around 8000 records from actual builds and then replicating these records to a high number in order to do simulate a high load on the data store.

Timings were performed on the client-side access of the data store, using timestamps to mark start and end of a batch run for read/writes. Disk space measurement was taken manually at the end of data generation.

The technologies measured were:

  • CouchDB
  • MySQL
  • MongoDB
  • sqlite

Results from investigation

Technology choice