Giter VIP home page Giter VIP logo

unfinagled's People

Contributors

bajohns avatar chrislewis avatar

Stargazers

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

Watchers

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

unfinagled's Issues

Provide a PlanServer

The server module provides a RunnableServer but no PlanServer. This makes swapping out servers less transparent.

Plans can be implemented as Services using the finagle RoutingService.

CPU spikes to 100% when SBT console or return to the SBT shell from run

This appears to be caused by ServerChannelFactory never being shutdown, which may indicate a problem with finagle's current implementation.

Reaching into the channel factory ( Netty3Listener.channelFactory.shutdown()) does solve the cpu issue, but as that this is a val it results in subsequent runs trying to use a factory that has been shutdown.

Providing a custom, isolated factory seemed like an obvious fix, but the private Closer class then attempts to close resources after they have been shutdown, resulting in exceptions.

Options:

  • Patch finagled to make the factory val a def.
  • Patch finagled to shutdown the factory in the closer.
  • Patch finagled to allow control over the closer's role.
  • Figure out netty's stateful steps and find a way to dance around this mess.

Use applyOrElse instead of pf.lift ...

#5 originally replaced the lift/isDefinedAt sequence with applyOrElse, a 2.10 method. This ticket is a reminder to restore this after dropping 2.9 support as it is slightly more efficient.

Support Pass

Pass is an unfiltered response primitive allowing a plan to surrender control to the next available plan, even after having successfully matched the request.

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.