https://github.com/abbychau/gtsdb-homepage
The Homepage repository for GTSDB.
https://github.com/abbychau/gtsdb-homepage
Last synced: 3 months ago
JSON representation
The Homepage repository for GTSDB.
- Host: GitHub
- URL: https://github.com/abbychau/gtsdb-homepage
- Owner: abbychau
- Created: 2024-12-09T18:58:20.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-11T20:01:54.000Z (3 months ago)
- Last Synced: 2025-03-11T21:19:33.984Z (3 months ago)
- Language: TypeScript
- Homepage: https://gtsdb.abby.md
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🐹 GTSDB (Golang Time Series Database)
A simple, efficient, and easy-to-use time series database designed for IoT and real-time applications.
## ✨ Key Features
- **Innovative Design**: Utilizes Write Ahead Log (WAL) for records, reducing IO and memory usage
- **High Performance**: 19,172 ns/op with in-memory-like speed and WAL-class durability
- **Memory Efficient**: As low as 6MB memory usage, perfect for IoT devices
- **Easy Integration**: Identical HTTP API and TCP interfaces using JSON
- **Built-in Streaming**: Real-time data subscriptions support
- **Analytics Ready**: Built-in support for data downsampling and aggregation
- **Cross-Platform**: Supports Windows, Linux/BSD, and macOS## 🚀 Quick Start
1. Download the latest release from [GitHub Releases](https://github.com/abbychau/gtsdb/releases)
2. Run the GTSDB server
3. Start using either the HTTP API or TCP interface## 📡 API Usage
### HTTP API Example
```json
// Write data
POST /
{
"operation": "write",
"key": "sensor1",
"Write": {
"Value": 32242424243333333333.3333,
"Timestamp": 1617965210
}
}// Read data
POST /
{
"operation": "read",
"key": "sensor1",
"Read": {
"StartTime": 1617965210,
"EndTime": 1617965211,
"Downsample": 3
}
}
```### TCP Interface
Uses the same JSON format as HTTP API but over TCP connection.## 📊 Performance
- 24 Concurrent operations
- 311,648 operations tested
- 19,172 ns/op
- 4,245 B/op
- 5 allocs/op## 📚 Documentation
For detailed documentation, visit our [Documentation Page](https://gtsdb.abby.md/Documentation).
## 🤝 Commercial Support
For commercial support, please contact: [[email protected]](mailto:[email protected])
## 📜 License
GTSDB is open-source software licensed under the MIT License.