Giter Site home page Giter Site logo

php-kernel's Introduction

PHP-Scheduler

Leverage the power of PHP corutines and generators

php-kernel's People

Contributors

wojons avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

php-kernel's Issues

socket leak

A fresh test of the http server will have 4 file descitors the default linux 0-2 and then an extra that its listneing on. It looks like file desictors are not cleaned up correctly when a connection is closed by accdeint.

load average for system and task

Currently i have a load average system for each task which for example load avg for 1 min is not really a real min. If the load average of the 1 min is exactly 1 then its 1 minute because each full loop cycle took 1 second and there are 60 items in the 1 min bucket. So if the load average of the 1min bicket is .5 that really is the load average of the last 30 seconds. and the system is at 50% copacity.

add Async sleep

What this means is that the event or task will be skipped until a set time has passed. I guess its useful overall.

add benchmark system

Need to add hocks where people will be able to benchark tasks and events if they wanna know how much time is spent on each.

Write New IO library for streams

It was the wild wild west with streams doing there own select calls all over the place and then hard to keep things on track. Going to build a better way of handling all of this where writes will be placed in the class its self and not done randomly all over the place this allows for buffering and making sure things are written in order which is important with async.

Something about the same needs to happen for reads which is a little harder because the format and other things need to be selected also. Some times reads are upto a limit or sometimes they are whole lines and there is not always a way to know that everything has fully come into place . There will be some sort of read buffer and from there it will have to be the wild west.

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.