CometDB
No description available
Install / Use
/learn @wfnuser/CometDBREADME
CometDB
CometDB is an Erlang implementation of queue model over FoundationDB.
About
This project aims to provide you a set of simple interfaces so that you can use FoundationDB as a Distributed, High Concurrency and Low Latency Queue.
Features
- You can insert data in batch.
- You can fetch data in batch.
- You can delete data in range.
- You can insert data of any size; we overcome the size limitation of FDB.
How to use
We need to setup the FDB environment first. You can find details in FoundationDB official website.
The usage is really simple. Here is an example:
P = comet:start().
comet:insert(P, <<"testq">>, <<"testvalue">>).
comet:batch_insert(P, <<"testq">>, [<<"testvalue_2">>, <<"testvalue_3">>, <<"testvalue_4">>]).
comet:fetch(P, <<"testq">>, 100).
comet:delete(P, <<"testq">>, 1).
TODO
- type checking
- stream
- cursors
- index
- priority queue
- connection management
- performance
- tests ...
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
