Nothing Special   »   [go: up one dir, main page]

Skip to main content

Impact of Design Decisions on Performance of Embarrassingly Parallel .NET Database Application

  • Conference paper
  • First Online:
Recent Challenges in Intelligent Information and Database Systems (ACIIDS 2022)

Abstract

The implementation of parallel applications is always a challenge. It embraces many distinctive design decisions that are to be taken. The paper presents issues of parallel processing with use of .NET applications and popular database management systems. In the paper, three design dilemmas are addressed: how efficient is the auto-parallelism implemented in the .NET TPL library, how do popular DBMSes differ in serving parallel requests, and what is the optimal size of data chunks in the data parallelism scheme. All of them are analyzed in the context of the typical and practical business case originated from IT solutions which are dedicated for the energy market participants.

The paper presents the results of experiments conducted in a controlled, on-premises environment. The experiments allowed to compare the performance of the TPL auto-parallelism with a wide range of manually-set numbers of worker threads. They also helped to evaluate 4 DBMSes: Oracle, MySQL, PostgreSQL, and MSSQL in the scenario of serving parallel queries. Finally, they showed the impact of data chunk sizes on the overall performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Sumic, Z., Harrison, K.: Magic Quadrant for Meter Data Management Products. Market report, Gartner (2018)

    Google Scholar 

  2. CSIRE Information Exchange Standards. https://www.pse.pl/web/pse-eng/oire/information-exchange-standards-ies. Accessed 12 Apr 2022

  3. Entity Framework Documentation. https://docs.microsoft.com/en-us/ef. Accessed 24 Jan 2022

  4. Task Parallel Library (TPL) Documentation. https://docs.microsoft.com/en-us/dotnet/standard/parallel-programming/task-parallel-library-tpl. Accessed 24 Jan 2022

  5. Hoag, F.E.: TPL Performance Improvements in .NET 4.5. Technical report, Microsoft (2011)

    Google Scholar 

  6. Vištica, M., Haseljić, H., Maksumić, A., Nosović, N.: Comparison of speedups for computing π using .NET TPL and OpenMP parallelization technologies. In: X International Symposium on Telecommunications (BIHTEL), pp. 1–4 (2014). https://doi.org/10.1109/BIHTEL.2014.6987657

  7. Kaldéren, G.A., From, A.: A comparative analysis between parallel models in C/C++ and C#/Java. KTH BSc Thesis (2013). http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-128606

  8. Luo, Z., Zheng, Q., Hei, X., Giacaman, N.: Parallel programming based on Microsoft .NET TPL. In: Proceedings of the 2nd International Conference on Computer Science and Electronics Engineering (ICCSEE 2013) (2013). https://doi.org/10.2991/iccsee.2013.129

  9. Zmaranda, D., Pop-Fele, L.-L., Győrödi, R., Győrödi, C.: Actor Model versus TPL for applications development. In: Proceedings of the 16th International Conference on Engineering of Modern Electric Systems (EMES) (2021). https://doi.org/10.1109/EMES52337.2021.9484154

  10. TPC Council. https://www.tpc.org. Accessed 24 Jan 2022

  11. Funke, F., Kemper, A., Neumann, T.: Benchmarking hybrid OLTP&OLAP database systems. In: Härder, T., Lehner, W., Mitschang, B., Schöning, H., Schwarz, H. (eds.) Datenbanksysteme für Business, Technologie und Web (BTW), pp. 390–409. Gesellschaft für Informatik e.V., Bonn (2011)

    Google Scholar 

  12. Lachewicz, K.: Performance analysis of selected database systems: MySQL, MS SQL, PostgerSQL in the context of web applications. J. Comput. Sci. Inst. 14, 94–100 (2020). https://doi.org/10.35784/jcsi.1583

    Article  Google Scholar 

  13. Kleweka, R., Truskowski, W., Skublewska-Paszkowska, M.: Comparison of MySQL, MSSQL, PostgreSQL, Oracle databases performance, including virtualization. J. Comput. Sci. Inst. 16, 279–284. https://doi.org/10.35784/jcsi.2026

  14. Difallah, D.E., Pavlo, A., Curino, C., Cudre-Mauroux, P.: OLTP-Bench: an extensible testbed for benchmarking relational databases. Proc. VLDB Endow. 7(4), 277–288 (2013). https://doi.org/10.14778/2732240.2732246

  15. Liarokapis, D., O’Neil, E., O’Neil, P.: Testing concurrency in databases still matters. In: International Conference on Information Technologies (InfoTech), pp. 1–6 (2020). https://doi.org/10.1109/InfoTech49733.2020.9211014

Download references

Acknowledgments

Part of this work has been funded by the European Regional Development Fund under the Smart Growth Operational Programme (contract number POIR.01.01.01-00-0112/21-00), www.sygnity.pl/dotacje/.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Piotr Karwaczyński , Jan Kwiatkowski or Marius Fraś .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Karwaczyński, P., Sitko, M., Pietras, S., Marczuk, B., Kwiatkowski, J., Fraś, M. (2022). Impact of Design Decisions on Performance of Embarrassingly Parallel .NET Database Application. In: Szczerbicki, E., Wojtkiewicz, K., Nguyen, S.V., Pietranik, M., Krótkiewicz, M. (eds) Recent Challenges in Intelligent Information and Database Systems. ACIIDS 2022. Communications in Computer and Information Science, vol 1716. Springer, Singapore. https://doi.org/10.1007/978-981-19-8234-7_19

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-8234-7_19

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-8233-0

  • Online ISBN: 978-981-19-8234-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics