add ramdisk, load AI model to ramdisk and start recognition from it

rewrite zmq to DEALER and ROUTER
add GET_USER command to get CurrentUser from Python
all auth is on the python side
inference run and validate annotations on python
This commit is contained in:
Alex Bezdieniezhnykh
2025-01-29 17:45:26 +02:00
parent 82b3b526a7
commit 62623b7123
55 changed files with 945 additions and 895 deletions
+9 -10
View File
@@ -1,16 +1,15 @@
cdef class RemoteCommandHandler:
cdef object _on_command
cdef object _context
cdef object _socket
cdef object _router
cdef object _dealer
cdef object _shutdown_event
cdef object _pull_socket
cdef object _pull_thread
cdef object _push_socket
cdef object _push_queue
cdef object _push_thread
cdef object _on_command
cdef object _proxy_thread
cdef object _workers
cdef start(self)
cdef _pull_loop(self)
cdef _push_loop(self)
cdef send(self, bytes message_bytes)
cdef _proxy_loop(self)
cdef _worker_loop(self)
cdef send(self, bytes client_id, bytes data)
cdef close(self)