Code Monkey home page Code Monkey logo

Comments (5)

tsegismont avatar tsegismont commented on June 15, 2024 3

Standard verticles are assigned a single event loop yes. If you want to scale to all the cores you can deploy multiple instances of your verticle. This is all explained in the documentation. https://vertx.io/docs/vertx-core/java/

from vertx-awesome.

tsegismont avatar tsegismont commented on June 15, 2024

There is no in-house ORM and I am not aware of a non-blocking/reactive Java ORM.

JOOQ is not really an ORM but if you're only looking for help with every day SQL, you can take a look at vertx-jooq.

from vertx-awesome.

ORESoftware avatar ORESoftware commented on June 15, 2024

Yeah after more due diligence it appears you're right. There was an example using Spring and executeBlocking, but it seems like retrieving data in a different verticle and then passing the data via the eventBus in order to respond to a request was a performance drain. Which leads me to one of my main questions, why does that example project put the executeBlocking calls in a separate verticle? why not put the executeBlocking calls in the main verticle that handles HTTP requests, that way you don't have to send data via the eventBus in order to respond to an HTTP request?

from vertx-awesome.

tsegismont avatar tsegismont commented on June 15, 2024

I believe I answered your other question in the vertx-examples repo.

from vertx-awesome.

ORESoftware avatar ORESoftware commented on June 15, 2024

@tsegismont yeah my biggest remaining question - if one verticle is used - I currently assume that all my code running in that verticle is running on 1 thread?

from vertx-awesome.

Related Issues (13)

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.