Skip to content

dvdmuckle/racket-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

racket-template

OpenFaaS template for developing functions based on the Racket environment.

To find out more about the OpenFaaS templates see the faas-cli.

Note: This template is completely customizable - so if you want to alter it please do fork it and use faas template pull to make use of your updated versions.

To utilize this template, edit the handler.rkt file, adding any necessary function deffinitions. The top level function handle will be executed whenever the deployed function is invoked. Input can be read from stdin, and any output should be printed to stdout. The builder image makes use of raco exe and raco distribute to compile the functions and distribute any necessary libraries to speed up execution. You can read more about how raco exe works here.

The current version of OpenFaaS templates use the original watchdog which forks processes - a bit like CGI. The newer watchdog of-watchdog is more similar to fastCGI/HTTP and should be used for any benchmarking or performance testing along with one of the newer templates. Contact the project for more information.

About

OpenFaaS template for Racket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Racket 100.0%