Code Monkey home page Code Monkey logo

amysql's Introduction

Hi there

Am bung. A developer care of user experience and developer experience.

Experienced with

  • web frontend development (ts,js,Nim).
  • backend development (Nim,python,ruby,PHP).
  • mobile application development (dart,java).
  • desktop application development (QT,flutter,electron)

Popular projects

vscode-rails

vscode rails extension. Write in ts.

ts2nim npm: total downloads

Transpile ts,js modules to Nim. Write in ts.

bixin PyPI - Downloads

Chinese Sentiment Analysis base on dictionary and rules. Write in python.

bung's GitHub stats

amysql's People

Contributors

bung87 avatar lihf8515 avatar litlighilit avatar shayanhabibi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

amysql's Issues

Documentation

Documentation is sparse and examples do not exist; tests are not commented and such are not suitable as examples. This makes it very difficult to use this library.

buffered connection

in buffered branch I change protocol.receivePacket body's socket.recv to socket.recvInto with flags = {}

during handshake phrase , sent auth data to server, tcpdump shows it actually sent, when I receive server response I got
Connection reset by peer

compression zstd alogrithem support

https://github.com/bung87/amysql/tree/zstd
run sudo tcpdump -i pktap,lo0 port 3306 -n -q -tttt -s 0 -A on mac shows:
=h..=h..........test
but select * from mysql.general_log shows mysql server didn't get that packet when sending init db command with test.

also it's not clear to me what's the protocol-compression-algorithms value set on server side that support uncompress and zstd
https://dev.mysql.com/worklog/task/?id=12475#New_system_variables:

initial complete in devel branch, some code may need better performance care.

ProtocolError on retrieving larger data sets

Running into the protocol error on retrieving larger (not really that large tbh) data sets. The compression does help but still hits a wall when trying to retrieve more than a 100 or so rows.

The failure results when the conn.bufLen is less than the payload length.

Edit: Using Chronos

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.