wincerchan / diem-api Goto Github PK
View Code? Open in Web Editor NEW☕ 自制的 API
Home Page: https://api.itswincer.com/
License: GNU General Public License v3.0
☕ 自制的 API
Home Page: https://api.itswincer.com/
License: GNU General Public License v3.0
本项目的 Redis 只是用来限流作用,其作为关系型数据库的用处并没有体现,因此我计划将本项目的限流模块替换成 https://github.com/WincerChan/Ral/。
为此我需要实现一个很简单的 RPC。
本项目的 PostgreSQL 只是用于存储数据,和查询数据,增删改一律不涉及到,同时因为每次只随机取一条数据,每一条请求都会和涉及到磁盘 IO,数据库性能已经成为本项目的瓶颈,
我计划将数据库使用 Erlang 虚拟机自带的 ETS 实现,同样使用类似 RPC 的方式提供调用。
是我姿势不对?
Error 1049: Unknown database 'apidata'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6b8d5f]
goroutine 1 [running]:
main.initHitokotoDB(0x767cd4, 0xb)
/root/DIEM-API/config.go:53 +0x43f
main.main()
/root/DIEM-API/main.go:24 +0xe8
502
了~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.