Skip to content

Latest commit

 

History

135 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turret_server

The turret_server runs in the background on workstation computers, waiting to receive turret uri queries from clients extending turret_lib, ready to convert and respond with the appropriate file path. We run turret as a linux service on each artist work station. This helps to lower latency and decentralize hosting requirements.

Building

We use the rez build system at utsala, with the correct pacakge requirements, building this with rez should work straight out of the box.

Outside of rez, having the required software installed and correctly located in the PATH and PYTHONPATH environment variables should suffice.

Requirements

Notes

Usage

To launch a threaded Turret server, run the turret-server executable

This launches a PyZMQ server that listens for queries from Turret clients, and delegates turret_resolver fetches to one of 12 asynchronous workers. Interaction with the Shotgun API through turret_resolver is performed in its own process, allowing each process to have acces to the necessary CPU resources, while still allowing the server to delegate to and receive responses from workers while other workers idle.

Sending a query which contains the word KILL to the turret server will signal the server to terminate.

At the Animal Logic Academy we run a turret server on each machine as a service that starts when the user logs in. As such, each machine handles its own resolving.

Contributing

We use turret across almost every aspect of our USD pipeline and are constantly fixing bugs and finding time to improve turret more and more. We are however, very open to external pull-requests, and growing turret into a more versatile and robust piece of software with your help. Feel free to get in contact directly or through these GitHub repos. We'd love to talk!

About

The underlying turret server that listens and responds with resolved turret queries.

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages