GithubHelp home page GithubHelp logo

chttpd's Introduction

⚠️Warning⚠️: This user's profile may include the following contents:

  • Ancient Technology
  • Native Language Fundamentalism
  • Racket YYDS
  • Anti-Fans
  • Pigeon
  • unsafe impl !PoliticalRight for Me {}
  • Sweating Soybean
  • Rocket Building
  • Military race
  • Hyperblunderemia
  • Socialism/Communism/Sovietskiy
  • Orange juice 🍹

If you fell uncomfortable, please adapt as soon as possible😜

About Chuigda WhiteGive

  • 🔭 I’m currently working on Project-WGX and Project-602.
  • 🌱 I’m currently learning Computer Graphics, Vulkan, Chess and many funny things.
  • 😄 Pronouns: He/Him
  • 📫 How to reach me:
  • ⚡ Fun fact: My nickname "Chuigda" comes from this file name.
    • "Chui" stands for hammer or mallet in Chinese
    • "gda" comes from Agda

Chuigda's github stats

Top Langs

chttpd's People

Contributors

chuigda avatar cousinze avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

chttpd's Issues

Benchmarking

Testing platform: x86 alpine, linux kernel 5.10

图片
图片
图片

Performance

图片

Caching support

Caching is not indeed necessary, but will improve the experience of users and performance of CDNs by alot. Here is a piece of documentation on it.

Support "no-value" query parameters

chttpd should support "no-value" query parameters like:
?option1&option2
Which should be parsed to

{
    "option1": null,
    "option2": null
}

By this time chttpd refuses this pattern.

Unify response representation

By this time, responses come in two different forms:

  • for intern and static handlers, responses are directly written to the file stream
  • for dcgi handlers, responses are created by DCGI libraries, saved in a temporary location, and then written to the file stream

Having two different modes makes it hard for us to implement filters/interceptors. It would be nice to unify all these things.

Simplest wildcard support

By this time the routes are appointed explicitly one by one. We want some wildcard things, so that we can serve static files easier.

Windows support

Recently, we need to deploy a local CI with chttpd on a Windows server. Though it is possible to use MSYS or Cygwin yet, we still prefer native implementations.

Dynamic library preloading & caching

Till now, dynamic libraries are loaded in some "on demand" mode. The HTTP handler loads the requested dynamic library before handling every request, and unload it after. This may reduce performance and limit the functionality of external dynamic libraries somehow.

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.