Pronghorn MongoDB Driver Stream

Allows using Pronghorn as the IO handler for the MongoDB Async Driver.

Лицензия

Лицензия

Категории

Категории

MongoDB Данные Базы данных
Группа

Группа

tech.pronghorn
Идентификатор

Идентификатор

mongodb-driver-stream
Последняя версия

Последняя версия

0.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Pronghorn MongoDB Driver Stream
Allows using Pronghorn as the IO handler for the MongoDB Async Driver.
Ссылка на сайт

Ссылка на сайт

https://pronghorn.tech
Система контроля версий

Система контроля версий

https://github.com/pronghorn-tech/mongodb-driver-stream.git

Скачать mongodb-driver-stream

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/tech.pronghorn/mongodb-driver-stream/ -->
<dependency>
    <groupId>tech.pronghorn</groupId>
    <artifactId>mongodb-driver-stream</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/tech.pronghorn/mongodb-driver-stream/
implementation 'tech.pronghorn:mongodb-driver-stream:0.2.1'
// https://jarcasting.com/artifacts/tech.pronghorn/mongodb-driver-stream/
implementation ("tech.pronghorn:mongodb-driver-stream:0.2.1")
'tech.pronghorn:mongodb-driver-stream:jar:0.2.1'
<dependency org="tech.pronghorn" name="mongodb-driver-stream" rev="0.2.1">
  <artifact name="mongodb-driver-stream" type="jar" />
</dependency>
@Grapes(
@Grab(group='tech.pronghorn', module='mongodb-driver-stream', version='0.2.1')
)
libraryDependencies += "tech.pronghorn" % "mongodb-driver-stream" % "0.2.1"
[tech.pronghorn/mongodb-driver-stream "0.2.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib jar 1.2.31
tech.pronghorn : server jar 0.2.1
org.mongodb : mongodb-driver-async jar 3.5.0

test (6)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.1.0
org.mockito : mockito-core jar 2.16.0
tech.pronghorn : plugin-collections-jctools jar 0.2.1
tech.pronghorn : plugin-hashing-openhft jar 0.2.1
tech.pronghorn : plugin-logging-slf4j jar 0.2.1
ch.qos.logback : logback-classic jar 1.2.3

Модули Проекта

Данный проект не имеет модулей.

Pronghorn MongoDB Driver Stream

This library implements the Stream interface of the MongoDB Async Driver via the Pronghorn Coroutine Framework. It utilizes the cooperative nature of concurrency in Pronghorn to enable efficient multiplexing of database communication, yielding significant performance benefits.

Quick Start

Utilizing this library within a Pronghorn based application simply requires creating an async MongoDB client via the provided factory implementation.

val multiplexedFactory = MultiplexMongoDBStreamFactoryFactory(worker)
val settings = MongoClientSettings.builder()
                .streamFactoryFactory(multiplexedFactory)
                ...[other settings]
                .build()

        val client = MongoClients.create(settings)

Since the MultiplexMongoDBStreamFactoryFactory constructor takes a worker argument, a separate client should be created per worker.

License

Copyright 2017 Pronghorn Technology LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

tech.pronghorn

Pronghorn Technology

Developer of high performance JVM systems, including the Pronghorn HTTP Server and Pronghorn Coroutine Framework

Версии библиотеки

Версия
0.2.1
0.2.0
0.1.3
0.1.2