Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Regarding the contention, one thing that's important is to cache a local copy of the shared head and tail variables every time you access them. Then for subsequent operations you can first check the local cached copy to see if you can perform the read or write without needing to check the shared variables.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: