History log of /unit/go/ (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0
1996:35873fa78fed09-Nov-2021 Tiago Natel de Moura

Introduced SCM_CREDENTIALS / SCM_CREDS in the socket control msgs.

1993:219b31af2f8108-Nov-2021 Max Romanov

Go: fixing racing condition on app start.

Request procesing loop should be started in ready handler to avoid race
between go-routine start and context ready flag assignment.

The issue introduced in

Go: fixing racing condition on app start.

Request procesing loop should be started in ready handler to avoid race
between go-routine start and context ready flag assignment.

The issue introduced in 43553aa72111.

show more ...

1980:43553aa7211128-Oct-2021 Max Romanov

Moving request limit control to libunit.

Introducting application graceful stop. For now only used when application
process reach request limit value.

This closes #585 issue on GitHub.

Revision tags: 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0
1713:f5ba5973a0a318-Nov-2020 Max Romanov

Go: removing C proxy functions and re-using goroutines.

Revision tags: 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0
1547:cbcd76704c9011-Aug-2020 Max Romanov

Introducing the shared application port.

This is the port shared between all application processes which use it to pass
requests for processing. Using it significantly simplifies the request
proces

Introducing the shared application port.

This is the port shared between all application processes which use it to pass
requests for processing. Using it significantly simplifies the request
processing code in the router. The drawback is 2 more file descriptors per each
configured application and more complex libunit message wait/read code.

show more ...

1544:05af370e63b711-Aug-2020 Max Romanov

Adding a reference counter to the libunit port structure.

The goal is to minimize the number of (pid, id) to port hash lookups which
require a library mutex lock. The response port is found once pe

Adding a reference counter to the libunit port structure.

The goal is to minimize the number of (pid, id) to port hash lookups which
require a library mutex lock. The response port is found once per request,
while the read port is initialized at startup.

show more ...

1543:42f27153db9111-Aug-2020 Max Romanov

Libunit refactoring: port management.

- Changed the port management callbacks to notifications, which e. g. avoids
the need to call the libunit function
- Added context and library instance referenc

Libunit refactoring: port management.

- Changed the port management callbacks to notifications, which e. g. avoids
the need to call the libunit function
- Added context and library instance reference counts for a safer resource
release
- Added the router main port initialization

show more ...

Revision tags: 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0
1452:e95c1033001310-Apr-2020 Max Romanov

Resolving a racing condition while adding ports on the app's side.

An earlier attempt (ad6265786871) to resolve this condition on the
router's side added a new issue: the app could get a request bef

Resolving a racing condition while adding ports on the app's side.

An earlier attempt (ad6265786871) to resolve this condition on the
router's side added a new issue: the app could get a request before
acquiring a port.

show more ...

1438:5e5a3897e0cd30-Mar-2020 Max Romanov

Fixing application process infinite loop.

Main process exiting before app process init may have caused hanging.

Revision tags: 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
1323:6dfc9895e25e24-Dec-2019 Max Romanov

Go: introducing SHM_ACK observer.

Each request processed in a separate goroutine. In case of OOSM state,
during response write, request goroutine blocks on channel which waits
event from main threa

Go: introducing SHM_ACK observer.

Each request processed in a separate goroutine. In case of OOSM state,
during response write, request goroutine blocks on channel which waits
event from main thread about SHM_ACK message from router.

show more ...

1316:5b767c6bfd0a24-Dec-2019 Max Romanov

Go: moving source files to the root of the project.

This patch includes packaging changes related to files move.