Git Product home page Git Product logo

Comments (8)

apolukhin avatar apolukhin commented on May 17, 2024

Related to the #14

from userver.

rkanagaraj avatar rkanagaraj commented on May 17, 2024

Related to the #14

from userver.

apolukhin avatar apolukhin commented on May 17, 2024

MariaDB does support an async API, and that it does also support bulk transactions in the C connector.

https://kb-mirror.mariadb.com/kb/en/non-blocking-client-library/

from userver.

itrofimow avatar itrofimow commented on May 17, 2024

There is https://github.com/mariadb-corporation/mariadb-connector-c which supports async operation, but it's LGPL licensed, so we can't vendor it, right?

from userver.

itrofimow avatar itrofimow commented on May 17, 2024

... but it's LGPL licensed, so we can't vendor it, right?

Sadly it's LGPL 2.1 licensed, so we can't even link it dynamically. Seems to me that we are out of luck here @apolukhin

from userver.

Jihadist avatar Jihadist commented on May 17, 2024

@itrofimow looks like you wanna implement mysql specific driver. Why did you decide to implement a specific driver instead of the most common odbc driver that can be used across dbms? For example, one odbc driver with small modifications can be used with mysql, oracle, ibm db and mssql.

from userver.

itrofimow avatar itrofimow commented on May 17, 2024

Honestly i just didn't think about ODBC at all at the time, that's mostly it)

Right now i also see a couple of points against that:

  1. It gets very complicated and time consuming to test the driver against many database implementations - infrastructure isn't quite there (for example i'll have to sneak some ugly bash into testsuite to support 3 different MySQL and friends installations).
  2. With MySQL being potentially very popular it makes sense to have an optimized driver for that DB specifically
  3. Maintaining general purpose ODBC implementation might quickly become overwhelming with all the potential issues coming from interaction with different DB backends, for which i likely just won't have enough time/will

from userver.

itrofimow avatar itrofimow commented on May 17, 2024

We just merged MySQL/MariaDB driver

from userver.

Related Issues (20)

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.