Giter Site home page Giter Site logo

cshbbrainpp's Introduction

CshBBrainPP

Open Source Picture Server based on CshBBrain net frame. CshBBrainPP 是一款基于JAVA的开源图片服务器,只提供上传图片和下载图片服务;基于NIO网络架构,和开源WebSocket服务器 宝贝鱼(CshBBrain)是同门兄弟,基于相同的网络架构,采用相同的分层结构。 CshBBrainPP 的目的是要解决大量并发访问大量小图片时,磁盘读取非常频繁,而且响应速度很慢的问题。目前将所有图片全部缓存到内存中,不适合海量图片的网站,但也许适合你的网站呢;后续会改进为选择性的将一些热点图片进行缓存,非热点图片不缓存。当前只开发了 下载图片的功能,后续将开发上传图片的功能,使之成为独立的图片服务器。 下图是缓存到内存和不缓存到内存请求图片时,花销在网络连接、磁盘读取的时间对比图,一图解真相。

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.