Skip to content

Virtufin Platform Workers

The org's general-purpose workers for the Virtufin WorkManager: workers that belong to no domain, and the reference for how a worker in a workers repo is laid out, built, published and deployed. Every worker runs in the WorkManager Runtime; the MIME type given to CreateWorker picks its engine.

Worker Language MIME type What it does
WebSocketFeed C# application/x-dotnet-dll one WebSocket connection: serves the topics it is configured with, routing every venue frame to its topic (built on the Virtufin.WebSocket.DevKit library in this repo)
HttpGet C# application/x-dotnet-dll, or application/x-native-dll GETs the URL named by the triggering CloudEvent (or its config.url) and publishes the response body; a Retry-After pauses every worker of its cooldown scope
EventStore C# application/x-dotnet-dll stores the payload of every event that is not a command in QuestDB, as rows a declarative mapping describes
Hello Python application/x-python replies Hello <name>
GetTime Python application/x-python GETs the current UTC time and publishes it
ScriptRunner Python application/x-python runs one deployed shared script on a schedule, on events or on demand

How this site is organized

The site follows Diátaxis: four kinds of page for four needs.

You want to Read
learn by doing Tutorials: build, publish and run HttpGet end to end.
get a task done How-to guides: add a worker, build, test and publish it, deploy each worker, serve topics with WebSocketFeed, check a nupkg's runtimes, troubleshoot.
look something up Reference: each worker's config, topics and responses, the virtufin-worker CLI, the build, the nupkg and nuspec, the repository.
understand how it works Explanation: where a worker runs, the engines, the packaging modes, how WebSocketFeed works, why inputs can arrive twice.