{"id":29961978,"url":"https://github.com/krisajenkins/trolldb","last_synced_at":"2025-08-03T23:44:02.850Z","repository":{"id":22862031,"uuid":"26209711","full_name":"krisajenkins/TrollDB","owner":"krisajenkins","description":"An in-memory JavaScript database that prioritises performance over everything.","archived":false,"fork":false,"pushed_at":"2022-12-08T09:33:15.000Z","size":13,"stargazers_count":29,"open_issues_count":7,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-08T19:51:10.190Z","etag":null,"topics":["database","high-performance","inmemory","javascript","joke"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"messagemedia/messagemedia-soap-api-java-sdk","license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krisajenkins.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-05T08:10:24.000Z","updated_at":"2023-03-07T12:29:29.000Z","dependencies_parsed_at":"2023-01-13T22:20:57.757Z","dependency_job_id":null,"html_url":"https://github.com/krisajenkins/TrollDB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krisajenkins/TrollDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2FTrollDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2FTrollDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2FTrollDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2FTrollDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisajenkins","download_url":"https://codeload.github.com/krisajenkins/TrollDB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2FTrollDB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268629858,"owners_count":24281172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","high-performance","inmemory","javascript","joke"],"created_at":"2025-08-03T23:43:56.379Z","updated_at":"2025-08-03T23:44:02.786Z","avatar_url":"https://github.com/krisajenkins.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"* TrollDB\n\n[[file:https://travis-ci.org/krisajenkins/TrollDB.svg]]\n\nTrollDB is an in-memory JavaScript database that prioritises\nperformance over *everything*. It is blazingly fast. You *will not*\nfind a faster in-memory JavaScript Database, so stop looking. You've\narrived my friend.\n\n** Basic Usage\n\nFirst require the trolldb script:\n\n#+BEGIN_SRC html\n\u003cscript type=\"text/javascript\" src=\"trolldb.js\"\u003e\u003c/script\u003e\n#+END_SRC\n\n*** Insert\n\nYou can insert any form of structured data you like:\n\n#+BEGIN_SRC javascript\ndb.insert({\"balance\": 12345});\n#+END_SRC\n\nTrollDB will optimize this insert for performance.\n\n*** Query\n\nYou can query for data with pattern matching.\n\n#+BEGIN_SRC javascript\ndb.query({\"balance\": undefined});\n#+END_SRC\n\nTrollDB will optimize this query for performance.\n\n*** Update\n\nYou can update data with pattern matching.\n\n#+BEGIN_SRC javascript\ndb.update({\"balance\": undefined}, {\"balance\": 54321});\n#+END_SRC\n\nTrollDB will optimize this update for performance.\n\n*** Delete\n\nYou can delete data with pattern matching.\n\n#+BEGIN_SRC javascript\ndb.delete({\"balance\": undefined});\n#+END_SRC\n\nTrollDB will optimize this delete for performance.\n\n** Advanced Usage\n\n*** Clustering\n\nTrollDB features powerful Clustering support that beats the CAP\ntheorem. To connect to a cluster:\n\n#+BEGIN_SRC javascript\ndb.connectToCluster();\n#+END_SRC\n\nTrollDB will seek out and connect to other nodes on the network in a\nway that is optimized for performance. Should a node go down, when it\ncomes back up it will be re-synced with the rest of the cluster in a\nway that is optimized for performance.\n\n*** SQL API\n\nTrollDB can translate queries expressed in industry standard SQL to\nperfectly optimal TrollDB queries *on the fly* The TrollDB translator\nwill parse SQL *faster than your legacy relational database*.\n\n#+BEGIN_SRC javascript\ndb.executeSQL('DROP table Students;');\n#+END_SRC\n\n** Bugs\n\nPlease report any bugs in the Github Issue tracker. Please note that\nonly bugs that affect performance will be considered bugs.\n\n** Status\n\nProduction-ready, if performance is your only concern.\n\n** Credits\n\nThanks to...\n\n- [[http://lokijs.org/#/][LokiJS]] for the initial inspiration.\n- [[https://github.com/honza][Honza Pokorny]] for adding NodeJS support.\n\n** License\n\nCopyright © 2014-2017 Kris Jenkins\n\nDistributed under the Eclipse Public License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisajenkins%2Ftrolldb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisajenkins%2Ftrolldb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisajenkins%2Ftrolldb/lists"}