Coder Social home page Coder Social logo

arconsis / server_benchmarks Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 753 KB

A repository containing implementations of a simple bookstore api using different frameworks, built to be compared and benchmarked

Kotlin 7.05% HTML 69.81% JavaScript 1.05% Smarty 0.37% HCL 13.90% Dockerfile 1.00% TypeScript 1.51% Rust 5.31%
kotlin quarkus spring spring-boot terraform

server_benchmarks's People

Contributors

akoufa avatar andreas-eberle avatar goudourasv avatar maxmanthey avatar tomislaveric avatar wfrank2509 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

server_benchmarks's Issues

Quarskus version of the program fails to start after successful native compilation

Description:
I downloaded the quarkus version of the code and created a native executable using the command ./gradlew build -Dquarkus.package.type=native
The compilation process completed without any errors or warnings. I'm using Ubuntu 22.04.
However, when I try to start the program, it fails to launch, this is the error i encountered:

2023-06-05 16:19:27,547 ERROR [io.qua.run.Application] (main) Failed to start application (with profile [prod]): java.lang.IllegalStateException: 'org.flywaydb.core.internal.scanner.Scanner' is never used in Quarkus at org.flywaydb.core.internal.scanner.Scanner.<init>(Scanner.java:27) at org.flywaydb.core.FlywayExecutor.createResourceAndClassProviders(FlywayExecutor.java:251) at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:134) at org.flywaydb.core.Flyway.migrate(Flyway.java:128) at com.arconsis.config.FlywayMigrationService.runFlywayMigration(FlywayMigrationService.kt:22) at com.arconsis.config.FlywayMigrationService_Observer_runFlywayMigration_e09775c6e6298446fe62b8335f74bc4e196e9972.notify(Unknown Source) at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:328) at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:310) at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:78) at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:131) at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:100) at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source) at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source) at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source) at io.quarkus.runtime.Application.start(Application.java:101) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:108) at io.quarkus.runtime.Quarkus.run(Quarkus.java:71) at io.quarkus.runtime.Quarkus.run(Quarkus.java:44) at io.quarkus.runtime.Quarkus.run(Quarkus.java:124) at io.quarkus.runner.GeneratedMain.main(Unknown Source)

Steps to reproduce:

  • Clone the repository to your local machine.
  • Navigate to the project directory.
  • Compile the program using : ./gradlew build -Dquarkus.package.type=native
  • Run the program: ./build/bookstore-quarkus-1.0.0-SNAPSHOT-runner

Here is a screenshot of the encountered error:

Schermata del 2023-06-05 16-24-55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.