Menu

#Netstat

2 posts

Feed·
2 of 2 posts
From a polling Bash script to an event-driven Swift daemon on macOS
📰
0Read More

From a polling Bash script to an event-driven Swift daemon on macOS

DEV Community: swift·James M. Vu·9 days ago
#OemfVWqT
#devtoswift#devto#dev#daemon#polling

How a macOS security daemon went from ~4.5% to ~0.4% of a core: APIs instead of forks, FSEvents and IOKit, ctime prefilters, and a netstat that hides sockets.

15s
From a polling Bash script to an event-driven Swift daemon on macOS
📰
0Read More

From a polling Bash script to an event-driven Swift daemon on macOS

DEV Community: swift·Mike Vu·9 days ago
#AslEIWv6
#devtoswift#devto#dev#daemon#polling

How a macOS security daemon went from ~4.5% to ~0.4% of a core: APIs instead of forks, FSEvents and IOKit, ctime prefilters, and a netstat that hides sockets.

15s