{"id":{"repo_id":"texas","oai_identifier":"oai:repositories.lib.utexas.edu:2152/84357"},"canonical_url":"https://search.ndltd.org/etd/texas/oai:repositories.lib.utexas.edu:2152/84357","repository":{"repo_id":"texas","name":"University of Texas","base_url":"https://repositories.lib.utexas.edu/server/oai/request"},"display":{"title":"Performance of Java in Function-as-a-Service computing","abstract":"Over the past several years serverless computing has rapidly grown in popularity because of its flexibility and low cost. Despite the name, serverless computing is not actually serverless. It simply means developers do not need to be aware of the servers because resources are allocated as needed, and developers are only charged for what they use. One of the newest forms of serverless computing is Function-as-a-Service (FaaS). FaaS provides a framework for executing modular pieces of code in response to an event, such as a user clicking a button in a web application. Developers using FaaS are only charged for the execution time of their functions. Although FaaS has many apparent benefits, relatively little is known about the performance of FaaS. Past work has shown that cold starts typically have a negative effect on latency, but the magnitude of the slowdown varies depending on provider and language [13, 16]. Sharad et al. recently performed a study on the Apache OpenWhisk FaaS platform and found that for functions written in Python, there is a significant slowdown compared to native execution and that the cold start time can be up to 10x the execution time of a short function [24]. The purpose of this report is to investigate the overhead due to containerization and cold starts for functions written in Java to determine whether the findings stated above hold regardless of language. I found that the container initialization time for Java was consistently less than half that of Python. However, Java has an additional overhead due to Java Virtual Machine (JVM) warmup which contributes to the execution time in a cold start scenario. Java functions which caused a cold start showed up to a 50x slowdown compared to native execution for very short functions and a 19x slowdown on average. Java functions which executed in a warm environment still had a significant overhead with a 5x slowdown on average. Overall, Java functions had a greater containerization overhead than Python functions. However, Java still had a faster execution time than Python on average—3.6x and 6.7x faster for warm and cold starts, respectively.","abstract_html":"Over the past several years serverless computing has rapidly grown in popularity because of its flexibility and low cost. Despite the name, serverless computing is not actually serverless. It simply means developers do not need to be aware of the servers because resources are allocated as needed, and developers are only charged for what they use. One of the newest forms of serverless computing is Function-as-a-Service (FaaS). FaaS provides a framework for executing modular pieces of code in response to an event, such as a user clicking a button in a web application. Developers using FaaS are only charged for the execution time of their functions. Although FaaS has many apparent benefits, relatively little is known about the performance of FaaS. Past work has shown that cold starts typically have a negative effect on latency, but the magnitude of the slowdown varies depending on provider and language [13, 16]. Sharad et al. recently performed a study on the Apache OpenWhisk FaaS platform and found that for functions written in Python, there is a significant slowdown compared to native execution and that the cold start time can be up to 10x the execution time of a short function [24]. The purpose of this report is to investigate the overhead due to containerization and cold starts for functions written in Java to determine whether the findings stated above hold regardless of language. I found that the container initialization time for Java was consistently less than half that of Python. However, Java has an additional overhead due to Java Virtual Machine (JVM) warmup which contributes to the execution time in a cold start scenario. Java functions which caused a cold start showed up to a 50x slowdown compared to native execution for very short functions and a 19x slowdown on average. Java functions which executed in a warm environment still had a significant overhead with a 5x slowdown on average. Overall, Java functions had a greater containerization overhead than Python functions. However, Java still had a faster execution time than Python on average—3.6x and 6.7x faster for warm and cold starts, respectively.","abstract_has_math":false,"creators":["Dowd, Abigail Lauren"],"institution":"The University of Texas at Austin","degree_name":"Master of Science in Engineering","degree_level":"Masters","degree_discipline":"Electrical and Computer Engineering","degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["John, Lizy Kurian"],"committee_chairs":[],"committee_members":[],"year":2020,"date_issued":"2020-06-29","date_published":"2020-06-29","updated_at":"2026-11-20T21:55:32Z","subjects":["Function-as-a-Service","FaaS","Serverless","OpenWhisk"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/84357"],"render_values":[{"text":"https://hdl.handle.net/2152/84357","href":"https://hdl.handle.net/2152/84357","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.26153/tsw/11336","outbound_label":"DOI","outbound_source":"dc:identifier.uri","record_url":"https://doi.org/10.26153/tsw/11336","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atexas%3Aoai%3Arepositories.lib.utexas.edu%3A2152%2F84357","prefix":"oai_dc"},"source_record":{"url":"https://repositories.lib.utexas.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepositories.lib.utexas.edu%3A2152%2F84357","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["John, Lizy Kurian"]},{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Dowd, Abigail Lauren"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-01-20T22:36:05Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2021-01-20T22:36:05Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2020-05"]},{"key":"dc:date.issued","label":"Date","values":["2020-06-29"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2020"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2021-01-20T22:36:06Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Engineering"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The University of Texas at Austin"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Function-as-a-Service","FaaS","Serverless","OpenWhisk"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/84357","http://dx.doi.org/10.26153/tsw/11336"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Over the past several years serverless computing has rapidly grown in popularity because of its flexibility and low cost. Despite the name, serverless computing is not actually serverless. It simply means developers do not need to be aware of the servers because resources are allocated as needed, and developers are only charged for what they use. One of the newest forms of serverless computing is Function-as-a-Service (FaaS). FaaS provides a framework for executing modular pieces of code in response to an event, such as a user clicking a button in a web application. Developers using FaaS are only charged for the execution time of their functions. Although FaaS has many apparent benefits, relatively little is known about the performance of FaaS. Past work has shown that cold starts typically have a negative effect on latency, but the magnitude of the slowdown varies depending on provider and language [13, 16]. Sharad et al. recently performed a study on the Apache OpenWhisk FaaS platform and found that for functions written in Python, there is a significant slowdown compared to native execution and that the cold start time can be up to 10x the execution time of a short function [24]. The purpose of this report is to investigate the overhead due to containerization and cold starts for functions written in Java to determine whether the findings stated above hold regardless of language. I found that the container initialization time for Java was consistently less than half that of Python. However, Java has an additional overhead due to Java Virtual Machine (JVM) warmup which contributes to the execution time in a cold start scenario. Java functions which caused a cold start showed up to a 50x slowdown compared to native execution for very short functions and a 19x slowdown on average. Java functions which executed in a warm environment still had a significant overhead with a 5x slowdown on average. Overall, Java functions had a greater containerization overhead than Python functions. However, Java still had a faster execution time than Python on average—3.6x and 6.7x faster for warm and cold starts, respectively."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Performance of Java in Function-as-a-Service computing"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["John, Lizy Kurian"],"dc:contributor.department":["Electrical and Computer Engineering"],"dc:creator":["Dowd, Abigail Lauren"],"dc:date.accessioned":["2021-01-20T22:36:05Z"],"dc:date.available":["2021-01-20T22:36:05Z"],"dc:date.created":["2020-05"],"dc:date.issued":["2020-06-29"],"dc:date.submitted":["May 2020"],"dc:date.updated":["2021-01-20T22:36:06Z"],"dc:description.abstract":["Over the past several years serverless computing has rapidly grown in popularity because of its flexibility and low cost. Despite the name, serverless computing is not actually serverless. It simply means developers do not need to be aware of the servers because resources are allocated as needed, and developers are only charged for what they use. One of the newest forms of serverless computing is Function-as-a-Service (FaaS). FaaS provides a framework for executing modular pieces of code in response to an event, such as a user clicking a button in a web application. Developers using FaaS are only charged for the execution time of their functions. Although FaaS has many apparent benefits, relatively little is known about the performance of FaaS. Past work has shown that cold starts typically have a negative effect on latency, but the magnitude of the slowdown varies depending on provider and language [13, 16]. Sharad et al. recently performed a study on the Apache OpenWhisk FaaS platform and found that for functions written in Python, there is a significant slowdown compared to native execution and that the cold start time can be up to 10x the execution time of a short function [24]. The purpose of this report is to investigate the overhead due to containerization and cold starts for functions written in Java to determine whether the findings stated above hold regardless of language. I found that the container initialization time for Java was consistently less than half that of Python. However, Java has an additional overhead due to Java Virtual Machine (JVM) warmup which contributes to the execution time in a cold start scenario. Java functions which caused a cold start showed up to a 50x slowdown compared to native execution for very short functions and a 19x slowdown on average. Java functions which executed in a warm environment still had a significant overhead with a 5x slowdown on average. Overall, Java functions had a greater containerization overhead than Python functions. However, Java still had a faster execution time than Python on average—3.6x and 6.7x faster for warm and cold starts, respectively."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/2152/84357","http://dx.doi.org/10.26153/tsw/11336"],"dc:language.iso":["en"],"dc:subject":["Function-as-a-Service","FaaS","Serverless","OpenWhisk"],"dc:title":["Performance of Java in Function-as-a-Service computing"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"thesis:degree_department":["Electrical and Computer Engineering"],"thesis:degree_discipline":["Electrical and Computer Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Engineering"],"thesis:institution_name":["The University of Texas at Austin"]},"updated_at":"2026-11-20T21:55:32Z"}