GithubHelp home page GithubHelp logo

cursusdb / cursusdb Goto Github PK

View Code? Open in Web Editor NEW
411.0 411.0 9.0 55.6 MB

CursusDB is an open-source distributed in-memory yet persisted document oriented database system with real time capabilities.

Home Page: https://cursusdb.com

License: GNU General Public License v3.0

Go 98.22% Shell 1.35% Dockerfile 0.27% JavaScript 0.16%
database database-system database-systems dbms distributed-database distributed-systems document-oriented-database golang multi-platform networking nosql nosql-database open-source realtime-database schemaless sql-like unstructured-documents

cursusdb's People

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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

cursusdb's Issues

Is that returned collection legit?

Hello. Playing around with CursusDB, I went though this. I may be totally dumb but it seems the last query should only return the second document (the one with last == 'Lee').

cursusdb

r̶e̶c̶o̶v̶e̶r̶i̶n̶g̶ ̶t̶h̶e̶ ̶c̶o̶n̶n̶e̶c̶t̶i̶o̶n̶s̶ ̶a̶f̶t̶e̶r̶ ̶l̶o̶s̶t̶

imagine:

$ ./cursus
2023/12/23 23:04:33 [INFO] ConnectToNodes(): Node connection established to 45.xx.135.89:7682
2023/12/23 23:04:33 [INFO] ConnectToNodes(): Node connection established to 127.0.0.1:7682
2023/12/23 23:04:42 [INFO] HandleClientConnection(): 127.0.0.1:59044 query(select * from users;)
2023/12/23 23:07:10 [INFO] HandleClientConnection(): 127.0.0.1:59044 query(select * from users;)

all works.... if node1 is restarted, we can continue with node2 because it is replicated.. But if node2 is restarted.. cursus does not really notify this.. Based on the logs, it does not even notify (at least at the console) that the connection has quit/timedout. So it also does not try to keep connecting.. This results:

image

curush to wait indefinetly. Did i do something wrong maybe?

This is great approach. Thanks for this nice work.

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.