Code Monkey home page Code Monkey logo

doptime, the most concise, redis based web-server framework

the name doptime borrow from "杀悟",means kill bad wisdom。 I hate bad tools.

major advantages on API design

  • APIs you defined, support both monolithic and microservice architecture. perfect!
  • very simple to define and use API. just see the golang example demo.
  • No API version related problem. Just see web client demo.
  • Very easy to upgrade API , just change the data structure. no extra schema definition needed.
  • You don't need to write any CREATE GET PUT or DELETE Logic. Just use redis to query,modify or delete. That means most CURD can be done at frontend, needs no backend job.
  • You can focus on operations with multiple data logic only. We call it "API". doptime will put API data to redis stream, and the API receive and process the stream data.
  • redis pipeline brings high batch process performance.

major advantages on Data Op

  • Using most welcomed redis compatible db. no database but redis compatible KEYDB. With flash storage supportion, KEYDB brings both memory speed and whole disk capacity
  • Very Easy to define and access data. see keyInDemo.HSET(req.Id, req) in golang example.
  • Schema data is adopted to keep maintain-bility. Easy to upgrade data structure.

other features

  • Use msgpack to support structure data by default. Easily to upgrade data sturecture.
  • All HTTP requests are transferd as binary msgpack data. It's compact and fast.
  • allow specify Content-Type in web client.
  • allow specify response fields in web client to reduce web traffic
  • support JWT for authorization
  • fully access control
  • support CORS

Kequn Yang's Projects

chatgpt-next-web icon chatgpt-next-web

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.

go-chatgpt-api icon go-chatgpt-api

一个尝试绕过 Cloudflare 来使用 ChatGPT 接口的程序(支持 GPT-4)

go-openai icon go-openai

OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go

gouser icon gouser

user api backend, impleted using go

iox10 icon iox10

maximize human learning speed

learnwithagi icon learnwithagi

A AGI-based project. Help human learn fast , understand fast. All learning topics are submitted by human, and learning data crated by AGI

noobnooc icon noobnooc

The content of my profile, blog, and homepage (https://www.nooc.ink) .

q-milvus icon q-milvus

use milvus in comfortable way, even if you know nothing about it.

saavuu icon saavuu

most concise, convenient, redis based microservice framework

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.