<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git/go, branch 1.19.0</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>Introducing the shared application port.</title>
<updated>2020-08-11T16:20:15+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2020-08-11T16:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=83595606121a821f9e3cef0f0b7e7fe87eb1e50a'/>
<id>83595606121a821f9e3cef0f0b7e7fe87eb1e50a</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding a reference counter to the libunit port structure.</title>
<updated>2020-08-11T16:20:06+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2020-08-11T16:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=bf647588ff781e606651f001b53a4e83bb34c000'/>
<id>bf647588ff781e606651f001b53a4e83bb34c000</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Libunit refactoring: port management.</title>
<updated>2020-08-11T16:19:55+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2020-08-11T16:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=ec3389b63bd7a9159d2be4a2863140f75095c7d3'/>
<id>ec3389b63bd7a9159d2be4a2863140f75095c7d3</id>
<content type='text'>
- 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolving a racing condition while adding ports on the app's side.</title>
<updated>2020-04-10T13:21:58+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2020-04-10T13:21:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=58cc13ab291cac5b13462006e3feb780178ef5f3'/>
<id>58cc13ab291cac5b13462006e3feb780178ef5f3</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing application process infinite loop.</title>
<updated>2020-03-30T11:18:51+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2020-03-30T11:18:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=0935630cba069d6619e967404bb6c7c2a93fbe7e'/>
<id>0935630cba069d6619e967404bb6c7c2a93fbe7e</id>
<content type='text'>
Main process exiting before app process init may have caused hanging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Main process exiting before app process init may have caused hanging.
</pre>
</div>
</content>
</entry>
<entry>
<title>Go: introducing SHM_ACK observer.</title>
<updated>2019-12-24T15:04:21+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2019-12-24T15:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=26ee4cb6c8a2248f0f7c99d8c622c86a52bf197a'/>
<id>26ee4cb6c8a2248f0f7c99d8c622c86a52bf197a</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Go: moving source files to the root of the project.</title>
<updated>2019-12-24T14:59:52+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2019-12-24T14:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=f5a2984acf9a562b6b1eb45a21d9af2be2415659'/>
<id>f5a2984acf9a562b6b1eb45a21d9af2be2415659</id>
<content type='text'>
This patch includes packaging changes related to files move.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch includes packaging changes related to files move.
</pre>
</div>
</content>
</entry>
</feed>
