Hi, yes, it clarifies what you mean.
Guys what do you think about making Aynch requests non blocking it is
relatively easy to do ?


On Thu, Mar 20, 2014 at 10:33 PM, <santo.pr...@gmail.com> wrote:

> Hi Andrey,
>
> With non-blocking I mean that the call should return immediately, probably
> with a handler which is called whenever the database operation is ready.
>
> The reason for this is that Vert.x is an event-driven framework using
> so-called eventloops on which multiple handlers will be registered.
> If one of those handlers performs some blocking code (a sleep, a wait, a
> blocking database call, whatever), the whole eventloop gets blocked,
> meaning the other handlers on the loop can't be served.
>
> So a Vert.x application consists of one or more modules, where each module
> consists of one or more handlers that are registered on the eventloop.
> One of the modules in the application can be e.g. a database module that
> handles all database related operations for the application.
> Because such a module actually consists of one or more handlers that are
> registered on the eventloop, it is of uttermost importance that it can
> perform all its operations in an async, non-blocking way.
> Hence the request for an async, non-blocking api for OrientDB which can be
> used for any db related operation (crud, document/graph, geo related, it
> doesn't matter, it should all be available)
>
> I hope this clarifies what I meant.
>
> regards,
>
> Santo
>
> Op woensdag 19 maart 2014 18:59:13 UTC+1 schreef Andrey Lomakin:
>>
>> Hi,
>> We have async API which is based on listeners, but listeners are executed
>> in the same thread.
>> When you mean non-blocking does it mean that you need async API which
>> will be run in seprate thread, right ?
>>
>> Could you define non-blocking ?
>>
>>
>> On Wed, Mar 19, 2014 at 5:57 PM, <santo...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Do you provide an async, non blocking java API for OrientDB and if not,
>>> are there any plans to provide it in the near future ?
>>> The reason I ask this is because I'm writing a java web application
>>> based on the Vert.x platform.
>>> In Vert.x it's required that you don't have any blocking code and
>>> therefore I'm interested in a database with which my application can
>>> interact in an async, non blocking way.
>>>
>>> regards,
>>>
>>> Santo
>>>
>>> --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "OrientDB" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to orient-databa...@googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Best regards,
>> Andrey Lomakin.
>>
>> Orient Technologies
>> the Company behind OrientDB
>>
>>   --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to