liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Evaluation of the Protobuf plugin protoc-gen-validate: A performance study
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
2019 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesis
Abstract [en]

Data validation is one of several approaches that can be used to increase the stability of a system. Code for validating data can either be written manually or generated from some structure.In this paper we evaluate the performance of protoc-gen-validate, aGoogle Protocol Buffers compilerpluginwhich generates code fordatavalidation.With use-case structures from Ericsson and manually constructed structures that test the performance of isolateddata typeand rulecombinationswe produce results that can be used as indicators ofthe overhead introduced by protoc-gen-validate’svalidation-features. The results show that the CPU time required to validate a message is lower than that of deserializing amessage in both Go and C++. It is also shownthat the CPU time required to validate a message is lower than that of serializing amessage in Go, whilevalidation takes longer than serialization in C++.

Place, publisher, year, edition, pages
2019. , p. 10
Keywords [en]
Google Protocol Buffers, Protobuf, Protoc, Protoc-gen-validate, Protoc-plugin, Validation, Performance, Overhead, Interface description language, IDL
National Category
Other Computer and Information Science
Identifiers
URN: urn:nbn:se:liu:diva-159647ISRN: LIU - IDA/ LITH - EX - G — 19/ 044 -- SEOAI: oai:DiVA.org:liu-159647DiVA, id: diva2:1342904
External cooperation
Ericsson
Subject / course
Computer Programming
Supervisors
Examiners
Available from: 2019-08-16 Created: 2019-08-14 Last updated: 2019-08-16Bibliographically approved

Open Access in DiVA

No full text in DiVA

By organisation
Department of Computer and Information Science
Other Computer and Information Science

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 63 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf