Home Explore Help
Register Sign In
ghopp
/
server_playground
1
0
Fork 0
Code Issues Pull Requests Projects Releases Wiki Activity
94 Commits
1 Branch
0 Tags
51 MiB
Tree: 01ae8736e9
master
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from '01ae8736e9'
${ noResults }
Commit Graph

5 Commits (01ae8736e96acc7ea120b0653bef21ae84e449ec)

Author SHA1 Message Date
Georg Hopp 01ae8736e9 now a child is spawned and writes random values in a shared memory segment. These values will be shown in the me action
14 years ago
Georg Hopp dbb7042360 fixed the non keep-alive performance issue as well as i lower memory usage by using a single read and write circular buffer for every connection. @TODO: i noticed a server hang while getting large data (my image) with non keep-alive connections. Additionally an incomplete keep-alive request might stop the server now as the lock on the read buffer will not be released.
14 years ago
Georg Hopp f2dbad19c6 another try with a shared memory based ringbuffer...this performs well for keep-alive sessions but is much slower without. actually i am not sure why but most likely the shared memory setup is quite expensive. @TODO: make a profiling.
14 years ago
Georg Hopp e8a21ace31 lots of changes but primarily change the request parser to use a ringbuffer. The ringbuffer is implemented using the shared memory trick.
14 years ago
Georg Hopp 20af2baa6f separated the server completely from the http processing
14 years ago
Powered by Gitea Version: 1.14.6 Page: 74ms Template: 4ms
English
English 简体中文 繁體中文(香港) 繁體中文(台灣) Deutsch français Nederlands latviešu русский Українська 日本語 español português do Brasil Português de Portugal polski български italiano suomi Türkçe čeština српски svenska 한국어
Licenses API Website Go1.17.1