Giter Site home page Giter Site logo

diem-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

diem-api's Issues

采用另一种方式存储数据

本项目的 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

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.