Skip to content

Conversation

@mumu2009
Copy link

@mumu2009 mumu2009 commented Sep 23, 2025

a database that can select single data in very high speed,which can reach the speed of O(1); this database is also good at search the nearest point among a table; the first several lines are the tipes and the usage of the database.
this database have following features:
1.it can asynchronously done IO action by sqlite and put the IO request into the queue in order to provide a high-speed batch insert/update/delete and ensure the data's security
2.the only expose function is executeprompt() which is like sqlclient.execute(sql) in mysql sqlite...
3.it use hash-table as the main structure of table,which provide the O(1) search.it also can create index in the structure of tree
4.due to the firewall,it might be difficult to connect with me by issue ,so please connect with me by email as [email protected]
5.what i mainly deed is put a database that is light into the lib folders

2025.9.23.18.56 +8.00Zone: tipes: i cut down the esbuild usage sothat it low to about 4k lines of js code,but there is about 20% blank and notes like "/* ... */" that is counted in. if you like ,you can delete them so that the hole code is about 2k lines. These code might be hard to read at first. but i promised it can be valued as its length and it can be read easily once you read the classes carefully.

PS: i upload a readme file in the same time. if you cannot read chinese,you can only read the Usage/command part start as "create database <database_name>",there might be some mistakes in the front parts,but i can promise that there is none of erros in the "usage part"
readme.md

this is a database that is much smaller than the last one
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Sep 23, 2025
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't appear to make any sense.

@mumu2009
Copy link
Author

re:jasnell
dear jasnell:
It can conveniently create an high-speed storage part that can storage in the form of tables or object(or called 'json' if you like) ,as you can see ,the main structure of this is based on Map(),which can performance an O(1) single-line search/select.which might be useful for those companies and developers whose data are very essential to be storaged in the disk and not in the RAM.as the banks,AI companies etc.
the sqlite is good at search amounts of data(i'm sorry for my english ability as there might be 'lines') ,because it's based on the tree scructure,but it cannot be good at searching in high-dimension(column) data or select single data,but my PR can do that.
and in the latest decades , as the AI developing is being more popular,we must consider as the programmer hasn't got the ability to save the data asynchronously(just what my PR done),so i consider it has some essential to be there.
time:2025.9.23.21.24 +8.00Zone

@mumu2009 mumu2009 requested a review from jasnell September 23, 2025 13:52
@mumu2009
Copy link
Author

Nowadays, it is important for companies to ensure the security of data,which can partly means to ensure that data cannot be missed during the temporary shutdown.The large company can hire emploees that can save the data intervally but in the small companies and single developers,it might be hard to think about how to save them and in the same time,ensure the high speed.even though the AI can complete the code,but it cannot complete enlightening algorithms.As this is an open-source project, i consider it can offer an opportunity to help single developers to create code that have the single safety like emploees in large companies

@brunocroh
Copy link
Member

brunocroh commented Sep 23, 2025

re:jasnell dear jasnell: It can conveniently create an high-speed storage part that can storage in the form of tables or object(or called 'json' if you like) ,as you can see ,the main structure of this is based on Map(),which can performance an O(1) single-line search/select.which might be useful for those companies and developers whose data are very essential to be storaged in the disk and not in the RAM.as the banks,AI companies etc. the sqlite is good at search amounts of data(i'm sorry for my english ability as there might be 'lines') ,because it's based on the tree scructure,but it cannot be good at searching in high-dimension(column) data or select single data,but my PR can do that. and in the latest decades , as the AI developing is being more popular,we must consider as the programmer hasn't got the ability to save the data asynchronously(just what my PR done),so i consider it has some essential to be there. time:2025.9.23.21.24 +8.00Zone

Hello @mumu2009,

Thank you for your effort to contribute to Node.js. Unfortunately, we can’t accept this proposal right now, as it is not something that we planned to include in Node.js, and it doesn’t follow our contribution guidelines.

The Node.js ecosystem is very open, and you don’t need to add something to the core(this repository) for others be able to use it. For example, Express is a popular HTTP server library for Node.js that’s widely used but isn’t part of the Node.js repository. It has its own maintainers and distribution process, and website, allowing developers to install and use it independently through npm. I recommend creating and distributing your database in a similar way.

Please stop opening pull requests with this code, as it could be flagged as spam and might even lead to a ban of your account from the Node.js repository. Please keep this in mind for future contributions, and thank you for your understanding.

@jasnell jasnell closed this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants