Skip to content
ngocdaothanh edited this page Sep 13, 2010 · 4 revisions

See Yaws internals for information about GC and SC.

Things in GC and SC may be useful, for example:

  • Server name (host:port as seen from the HTTP client)
  • ETS table for storing any application data for the application

There is a separate process for each request. Yaws sets GC and SC in the process dictionary. From a request processing process:

  • To get GC: get(gc)
  • To get SC: get(sc)
Clone this wiki locally